Categories
Retrieve all fixed food categories available on the platform. Category IDs from this response can be used to filter items in the menu endpoint.
Get Fixed Categories
GET
/ret11/api/fixed-categories
Returns a list of all top-level food categories. Each category contains one or more categoryIds that can be used to filter menu items.
Auth Required
Include a Bearer token in the Authorization header. See Authentication.
Parameters
No parameters required.
Response
Returns an array of category objects.
| Field | Type | Description |
|---|---|---|
| name | string | Display name of the category (e.g., "pizza") |
| shortDesc | string | Brief description of the category |
| categoryIds | string[] | One or more category IDs. Pass these to the menu endpoint to filter items by category. |
Response Example
[
{
"name": "pizza",
"shortDesc": "Veg and Non-Veg Pizza",
"categoryIds": [
"CM11",
"CM12"
]
}
]
Usage
Pass one or more categoryIds as a query parameter to the menu endpoint to filter items:
GET /ret11/api/restaurants/{providerId}/seller/{sellerId}/foods?categoryIds=CM11