GET

List Labels


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.

Retrieves a list of up to 500 item labels.

Permissions
Manage Bookings Services and Settings
Manage Portfolio
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/restaurants/item-labels/v1/labels

Request
This endpoint does not take any parameters.
Response Object
labelsArray <Label>

Retrieved item labels.

List labels
Request
cURL
curl -X GET https://www.wixapis.com/restaurants/item-labels/v1/labels \ -H 'Authorization: <AUTH>' \
Response
JSON
{ "labels": [ { "id": "29b369c7-88cb-473b-bd9f-f2c71d177fff", "revision": "1", "createdDate": "2024-01-14T10:06:30.787Z", "updatedDate": "2024-01-14T10:06:30.787Z", "name": "Wheat", "icon": { "id": "ec845c_1e78a0f38d104cfb9e375a4d1cb3066b.svg", "url": "https://static.wixstatic.com/shapes/ec845c_1e78a0f38d104cfb9e375a4d1cb3066b.svg", "height": 24, "width": 24, "altText": null, "urlExpirationDate": null, "filename": null, "sizeInBytes": null } }, { "id": "6046e53c-4ce3-41f7-9e2a-0f7352fe4975", "revision": "1", "createdDate": "2024-01-14T10:06:30.787Z", "updatedDate": "2024-01-14T10:06:30.787Z", "name": "Vegan", "icon": { "id": "ec845c_2306a227a54044a9999b9f5e5fdf2185.svg", "url": "https://static.wixstatic.com/shapes/ec845c_2306a227a54044a9999b9f5e5fdf2185.svg", "height": 24, "width": 24, "altText": null, "urlExpirationDate": null, "filename": null, "sizeInBytes": null } } ] }
Errors

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

Did this help?