put https://app.ecwid.com/api/v3//categories/sort?parentCategory=
Update order of categories inside a specific category. Use parentCategory=0
to work with categories inside the "Store front page" category.
Access scopes
Requires the following access scope: update_catalog
Request
A JSON object with the following fields:
Field | Type | Description |
---|---|---|
sortedIds | array<number> | An array of categories in their consecutive order inside the parent category |
Errors
In case of error, Ecwid responds with an error HTTP status code and, optionally, JSON-formatted body containing error description
HTTP codes
HTTP Status | Meaning | Code (optional) |
---|---|---|
409 | Wrong params in the request |