Set Custom Product Order
POST
v1/products/ordering/Sets a custom ordering of products by accepting an ordered list of product IDs. This manual sorting can also be applied to a specific category when the category ID is passed in the body.
Request
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.
An array of product IDs that specifies the order in which the products will be displayed. Each product ID is a unique identifier (UUID).
The ID of the category in which the products' order will be updated.
{
"products": [
"d22fb4a6-cbcf-464c-8877-6cbf3df52056",
"d22fb4a6-cbcf-46g5-8877-6c367f52053"
],
"category": 0
}
Request samples
Responses
{}