Create an event category (and its associated subcategories). Once created, the category (and one of its subcategories) can be used to classify events.
Security
SessionKey(Required scopes: administrator)
- Mock serverhttps://docs.ticketingevents.com/_mock/openapi/categories
- QA Serverhttps://qa.ticketingevents.com/v3/categories
- Production Serverhttps://api.ticketingevents.com/v3/categories
curl -i -X POST \
https://docs.ticketingevents.com/_mock/openapi/categories \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"name": "Party",
"subcategories": [
"Boat Cruise",
"House Party",
"Wedding"
]
}'Response
{ "self": "/categories/16878141745207", "name": "Party", "subcategories": [ { … }, { … }, { … } ] }