Update a product image

Updates an existing product image.

put/products/{product_id}/images/{id}

Request

  • Base URL
    https://api.ecommerceapi.uk/v1
  • URL
    https://api.ecommerceapi.uk/v1/products/{product_id}/images/{id}
  • Auth
    HTTP basic

Path parameters

product_idinteger required

ID of the product which the image to be updated is assigned to.

idinteger required

ID of the product image to update.

Request body

descriptionstring

The updated ALT tag for the image.

sortOrderinteger

The updated sort order for the product image.

Response

Product image updated successfully.

idinteger

Product image ID.

urlstring

Product image URL.

descriptionstring

The ALT tag for the product image.

sortOrderinteger

Product image sort order.

Changes

No recorded changes to this operation across all 1 revision of this API.