---
title: "Update a product image"
method: PATCH
path: "/products/image/{product_id}"
tags: ["products"]
---

# Update a product image

`PATCH /products/image/{product_id}`

Updates a product image.

## Path parameters

- `product_id` string, required — The id of the product to be updated

## Request body

- object
  - `image` string — The image of the product

## Response `200`

Product image updated successfully

- SuccessResponseSchema
  - `status` string
  - `status_code` integer — The HTTP status code. Usually 200 , 201, 204 etc
  - `message` string — A basic message describing a request was processed successfully. example: "Successfully"

## Other responses

- `400` — Bad Request
- `401` — Authentication error
- `404` — Not Found
- `500` — Server error

---

[API](https://skmtc.net/hngprojects/apis/kimiko-golang-swagger.md) · [All operations](https://skmtc.net/hngprojects/apis/kimiko-golang-swagger/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hngprojects/kimiko-golang-swagger/revisions/2d1d3ed96bb9/schema)
