Get order of categories
Last updated
Was this helpful?
Last updated
Was this helpful?
GET
https://app.ecwid.com/api/v3/{storeId}/categories/sort?parentCategory={categoryId}
Your app must have the following access scopes to make this request: read_catalog
All path params are required.
storeId
number
Ecwid store ID.
Request supports only one required query param.
parentCategory
number
Internal ID of the parent category.
Use 0
value to receive a sorted list of categories inside the lop-level category named "Store front page".
Required
The Authorization header is required.
Authorization
Bearer secret_ab***cd
Access token of the application.
sortedIds
array of numbers
List of categories inside their parent category order in the same way as they are listed in Ecwid admin and on the storefront.