Update category order

Update order of categories inside a specific category. Use parentCategory=0 to work with categories inside the "Store front page" category.

Headers

NameTypeDescription
AuthorizationstringoAuth token with mandatory Bearer before it. Example: Bearer e***s0, where e***s0 should be replaced with your oAuth token.

Request

A JSON object with the following fields:

Product

FieldTypeDescription
sortedIdsarray<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 StatusMeaningCode (optional)
409Wrong params in the request
Language