products

Update a product image

Updates a product image.

patch/products/image/{product_id}

Request

Path parameters

product_idstring required

The id of the product to be updated

Example:1

Request body

imagestring

The image of the product

Example request

{
  "image": "image.jpg"
}

Response

Product image updated successfully

statusstring
status_codeinteger

The HTTP status code. Usually 200 , 201, 204 etc

messagestring

A basic message describing a request was processed successfully. example: "Successfully"

Example response

{
  "status": "success",
  "status_code": 200
}

Changes

No recorded changes to this operation across all 15 revisions of this API.