How to update a participant category

How to update a participant category

Use this guide when you need to rename a participant category or change its buyer flag.


Prerequisites

  • Your API key

  • The id of the category to update. Use GET /api/v2/account/getCategories to retrieve available category IDs


Request — rename a category

Bash
curl -X POST "https://your-event-domain.com/api/v2/account/setCategory" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "id=42" \
  -F "name=Premium Visitor"

Request — change buyer flag

Bash
curl -X POST "https://your-event-domain.com/api/v2/account/setCategory" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "id=42" \
  -F "is_buyer=true"

Response

JSON
{
  "code": 200,
  "errors": null,
  "data": {
    "id": 42,
    "status": "updated"
  },
  "response_id": "1700000000.12346"
}

Notes

  • Only include the fields you want to change — name and is_buyer can be updated independently

  • event_id is not required when updating an existing category by id

  • If the id does not match any existing category, a 400 error with Invalid Participant Category ID is returned