PUT

Update Category


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates a category.

Each time the category is updated, revision increments by 1. You must include the number of the existing revision when updating the category. This ensures you're working with the latest service information and prevents unintended overwrites.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Bookings - all permissions
Manage Bookings
Learn more about app permissions.
Endpoint
PUT
https://www.wixapis.com/bookings/v1/categories/{category.id}

Path Params
category.idstringRequired

Category ID.

Body Params
categoryCategoryRequired

Category to update.

Response Object
categoryCategory

Updated category.

Update Category

Update a category's name

Request
cURL
Response
JSON
Errors
400Invalid Argument

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?