Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Update Category

Developer Preview

Updates an existing category.

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

Permissions

This endpoint requires the Manage Bookings permission scope.

PUT

https://www.wixapis.com/bookings/v1/categories/{category.id}

Path Params

NAME
TYPE
DESCRIPTION
category.id
Required

string

Category ID.

Body Params

NAME
TYPE
DESCRIPTION
category
Required

object

Response Object

Returns an empty object.

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Update Category

Update a category's name

Request

curl

Copy Code
1curl -X PUT \
2 'https://www.wixapis.com/bookings/v1/categories/77dff5ea-792a-4a3c-a49d-8b19124083d1' \
3 -H 'Authorization: <AUTH>' \
4 -H "Content-Type: application/json" \
5 --data '{ "category" : {"name" : "Updated Category"} }'

Response

json

1
2{}