Updates an existing category.
You can only call this method when authenticated as a Wix app or Wix user identity.
Category ID.
Category to update.
Updated category.
curl -X PATCH 'https://www.wixapis.com/events/v1/categories/6c313b96-1961-4f0f-b6d7-61788e1a25df' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH TOKEN>' \
{
"category": {
"name": "workshop-leather"
}
}
{
"category": {
"id": "6c313b96-1961-4f0f-b6d7-61788e1a25df",
"name": "workshop-leather",
"states": ["MANUAL"]
"createdDate": "2021-04-01T09:55:31.335Z"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.