Get categories order

Get order of categories inside a specific category. Use parentCategory=0 to get categories inside the "Store front page" category.

Access scopes

Requires the following access scope: read_catalog

Response

A JSON object with the following fields:

FieldTypeDescription
sortedIdsarray<number>An array of categories inside their parent category in the consecutive order

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)
400Wrong request
500Cannot get category order because of an error on the server

Error response body (optional)

FieldTypeDescription
errorMessagestringError message
Language
Click Try It! to start a request and see the response here!