Partially update a product image
Updates one or more fields of an existing product image. Only the fields you send are changed, and sending no changeable field leaves the record untouched.
The same restrictions as the full update apply: product and image are ignored if sent, and only the display order, the stored dimensions and the file referenced through image_path can be changed. Offer propagation behaves as described under Marketplace Offer Propagation, and no listability recalculation is triggered.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the product image.
The fields to change on an existing product image. Every field is optional; only the fields you send are applied. product and image are accepted but ignored — see the operation description.
Accepted but ignored. An image cannot be moved to a different product.
1024Accepted but ignored. The stored file content cannot be replaced; use image_path to reference a different stored file.
Path of a file already present in the platform's media storage, to be referenced by this record instead of its current file. Accepted in requests only; never returned in a response.
products/2026/01/15/1024/6f1c2a48-9b3e-4d17-8f2a-0c5d7e9a1b34.jpgPosition of the image within the product's gallery. Lower values are shown first.
2Height of the image in pixels.
1200Width of the image in pixels.
800The updated product image.
An image attached to a product, together with its display order and stored dimensions.
Unique identifier of the product image.
55Identifier of the product the image belongs to.
1024Path of the stored image file within the platform's media storage. Generated by the platform when the file content is sent in image, or the value supplied in image_path when an already stored file is referenced.
products/2026/01/15/1024/6f1c2a48-9b3e-4d17-8f2a-0c5d7e9a1b34.jpgPosition of the image within the product's gallery. Lower values are shown first.
0Height of the image in pixels. null when the record was created by sending the file content in image, or when no dimension was ever recorded for it.
1200Width of the image in pixels. null when the record was created by sending the file content in image, or when no dimension was ever recorded for it.
800The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested product image does not exist.
PATCH /api/v1/remote/1/product_image/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 148
{
"product": 1024,
"image": "text",
"image_path": "products/2026/01/15/1024/6f1c2a48-9b3e-4d17-8f2a-0c5d7e9a1b34.jpg",
"order": 2,
"height": 1200,
"width": 800
}{
"pk": 55,
"product": 1024,
"image": "products/2026/01/15/1024/6f1c2a48-9b3e-4d17-8f2a-0c5d7e9a1b34.jpg",
"order": 0,
"height": 1200,
"width": 800
}Last updated
Was this helpful?

