PATCH

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. The current revision must be passed when updating the category. This ensures you're working with the latest category and prevents unintended overwrites.

Authentication

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

Permissions
Category write
Manage Stores - all permissions
Manage Products
Manage v3 catalog
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/categories/v1/categories/{category.id}

Path Params
category.idstringRequired

Category ID.

Body Params
categoryCategoryRequired

Category to update.


treeReferenceTreeReferenceRequired

Category tree reference details.


fieldsArray <string>maxItems 100

Fields to include in the response.

Response Object
categoryCategory

Updated category.

Update category

Updates the name field of a category.

Request
cURL
Response
JSON
Errors
400Invalid Argument

There is 1 error with this status code.

409Already Exists

There is 1 error with this status code.

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

Did this help?