Basic information
PUT /{shopId}/categories/{categoryId}/sequence
Updates the order of subcategories for the provided category ID. Note that it is only possible to change the order but not to delete a subcategory.
Authorisation
OAuth 2.0 Token required with scopes:
products_write
URI parameters
Name | Type | Description |
---|---|---|
shopId |
string |
The unique identifier of the shop. Required:
true
Example:
DemoShop
|
categoryId |
string |
Required:
true
|
Request attributes
Name | Type | Description |
---|---|---|
|
array of strings |
Request body
Media type application/json
["Headphones", "eBooks", "Accessories"]
Response attributes
Name | Type | Description |
---|---|---|
|
array of strings |
Response
HTTP 200
Media type application/json
["Headphones", "eBooks", "Accessories"]