Update a product Image Order
PATCH
v1/products/{product_id}/images/{Image-Id}/use this endpoint to reorder an image's appearance for a product.
Request
A unique identifier assigned to each product, used to reference and retrieve specific product details.
A unique identifier assigned to each image, used to reference and retrieve specific images associated with a product.
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
This token is used to authenticate and access information related to the store. It is obtained through an OAuth mechanism and is required to perform operations on the store's data. The X-Manager-Token
should be included in the header of API requests that require store-related information.
Preferred language for the response. Defaults to en
if not specified.
Unique identifier of the store.
Determines the sequence in which images appear. Lower values display images first, allowing for custom sorting.
{
"display_order": 0
}
Request samples
Responses
The URL or path of the product image.
The URL or path for a smaller version of the product image.
The URL or path for a medium-sized version of the product image.
The URL or path to the full-size version of the product image.
The URL or path to a thumbnail-sized image.
The URL or path for a large version of the product image.
Determines the sequence in which images appear. Lower values display images first, allowing for custom sorting.
A unique identifier for the image.
{
"image": {
"small": "string",
"medium": "string",
"full_size": "string",
"thumbnail": "string",
"large": "string"
},
"display_order": 0,
"id": "string"
}