This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates an existing category. Replaces all existing data for this 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 --request POST \
--url https://www.wixapis.com/faq/v1/categories \
--header 'Authorization: <AUTH>' \
--header 'Content-Type: application/json' \
--data '{
"category": {
"title": "updated",
"id": "myCategoryId",
sortOrder: 30
}
}'
{
"category": {
"id": "myCategoryId",
"title": "updated",
"sortOrder": 30
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.