CatalogCategories
Update categories tree
Reorders categories and changes their parent relationships in one request; cyclic hierarchies are rejected.
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.ecomiq.pe/api/v1/catalog/categories/tree" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "categories": [ { "id": "7204558912004327982", "parentId": "7204558912004329210", "order": 1, "children": [] } ] }'false