Categories help your store look neat — think of them as the aisles in your supermarket.
Listing your categories
curl "https://api.inkress.com/api/v1/categories?page=1&limit=10" \
-H "Authorization: Bearer YOUR_JWT" \
-H "Client-Id: m-nonitropicals"
You’ll get a paginated list of your product groups.
Adding a new category
curl -X POST "https://api.inkress.com/api/v1/categories" \
-H "Authorization: Bearer YOUR_JWT" \
-H "Client-Id: m-nonitropicals" \
-H "Content-Type: application/json" \
-d '{ "name": "Supplements", "kind": 1, "description": "All natural boosters" }'
Editing a category
curl -X PUT "https://api.inkress.com/api/v1/categories/42" \
-H "Authorization: Bearer YOUR_JWT" \
-H "Client-Id: m-nonitropicals" \
-H "Content-Type: application/json" \
-d '{ "name": "Vitamins & Supplements" }'
⚠️ Note: Once a category’s parent is set, you can’t change it — Inkress loves stability.