On this page6 sections
POST/api/products/get-category-listProductsPermission: product.view
Get Product Categories
Returns hierarchical product categories defined in the active tenant.
Authentication: Requires Authorization: Bearer <ACCESS_TOKEN> (Supabase JWT, OAuth2 M2M token, or integration token).
Request
Provide the following fields in the request payload.
No request body parameters are required for this endpoint.
Responses
Select a status code to inspect schema.
OK — Category list retrieved.application/json
successenum('true')
Success (true).
messagestring
Message.
dataobject | null
Response payload or null.
POST/api/products/get-category-list
curl -X POST "https://api.invoger.com/api/products/get-category-list" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{}'Interactive playground
Response
application/json
{
"success": true,
"message": "Success",
"data": {
"categories": [
"Beverages",
"Food"
]
}
}