GET /api/v2/categories/get
Returns product categories (product groups). Can return the global list, categories scoped to an event, a single category by ID, or categories updated after a timestamp.
Authentication
Authorization: Bearer <your_api_key>
Endpoint
GET /api/v2/categories/get
Query Parameters
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
integer |
No |
Returns a single category by ID. Takes priority over other filters |
|
|
integer |
No |
Filters to categories associated with this event |
|
|
integer |
No |
Returns only categories updated after this Unix timestamp |
Response Fields
|
Field |
Type |
Description |
|---|---|---|
|
|
integer |
Product group ID — use this in |
|
|
string |
Category display name |
|
|
integer |
Parent category ID. |
Example Requests
Bash
# All categories (global)
curl -X GET "https://your-event-domain.com/api/v2/categories/get" \
-H "Authorization: Bearer your_api_key_here"
# Event-scoped
curl -X GET "https://your-event-domain.com/api/v2/categories/get?event_id=7" \
-H "Authorization: Bearer your_api_key_here"