Reorder product categories
Updates the display order of product categories by providing an ordered list of category IDs.
How to reorder categories:
- Get the current list of categories using GET /administration/product-categories
- Create an array of category IDs in the desired display order
- Send the ordered array in the request body
Example: If you want categories in order: Hardware, Software, Consulting Provide: [“hardware-id”, “software-id”, “consulting-id”]
What happens:
- Categories are reordered according to the provided array
- First ID in array becomes first category, second ID becomes second, etc.
- Sort order is updated for all categories in the workspace
Note: This endpoint requires the manageSettings permission. The order affects how categories appear in dropdowns and lists throughout the application.
/administration/product-categories/sortAuthorizationOAuth2 access token · headerrequiredapi:writeAuthorizationBearer token (JWT) · headerrequiredapplication/jsonidsstring[]requiredArray of product category IDs in the desired display order. The first ID in the array will be displayed first, the second ID will be displayed second, and so on. All category IDs must be valid UUIDs that exist in the workspace. The sort order is updated for all categories based on their position in this array.
Product categories reordered successfully
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions