Re-order Categories
HTTP Request
POST https://commerce.zoho.com/store/api/v1/categories//siblingorder
OAuthScope
ZohoCommerce.items.CREATE
Body Parameters
Parameter | Description |
categories* | object: Array of category IDs in their respective sibling order. |
Request Example
Copiedcurl -X POST
'https://commerce.zoho.com/store/api/v1/categories/1706707000000068764/siblingorder'
-H 'Authorization: Zoho-oauthtoken ***'
-H 'Content-Type: application/json'
-H 'X-com-zoho-store-organizationid: 682219181'
-d '{"categories":[1706707000000068760,1706707000000068758]}'
Success Response
Copied{
"code": 0,
"message": "Category details updated successfully."
}
Failure Response
Copied{
"code": -1,
"message": "One or more categories doesn't exist."
}