PATCH

Update Label


Developer Preview

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

Note: The Label API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from Wix App Market.

Updates an item Label.

Each time an item label is updated, revision increments by 1. The existing revision must be included when updating the item labels. This ensures you're working with the latest item labels information, and it prevents unintended overwrites.

Authentication

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

Permissions
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/restaurants/item-labels/v1/labels/{label.id}

Path Params
label.idstringRequired

Item label ID.

Body Params
labelLabelRequired

Item label to update.

Response Object
labelLabel

Updated item label.

Update a label
Request
cURL
Response
JSON
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

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