Assigns events to a single category.
You can only call this method when authenticated as a Wix app or Wix user identity.
ID of category to which events should be assigned.
A list of events IDs.
curl -X POST 'https://www.wixapis.com/events/v1/categories/e9779de3-a085-4255-b3a6-9559990d4436/events' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH TOKEN>' \
-d '{
"categoryId": "e9779de3-a085-4255-b3a6-9559990d4436",
"eventId": [
"539a564e-48d2-4eac-8e14-d7a91be6b1c2",
"abd39eb7-844c-4321-9ea2-0d43040be05e"
]
}'
{}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.