GET

Get 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 Labels API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from Wix App Market.

Retrieves an item label by ID.

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/{labelId}

Path Params
labelIdstringRequired

Item label ID.

Response Object
labelLabel

Item label.

Get a label
Request
cURL
curl -X GET https://www.wixapis.com/restaurants/item-labels/v1/labels/6046e53c-4ce3-41f7-9e2a-0f7352fe4975 \ -H 'Authorization: <AUTH>'
Response
JSON
{ "label": { "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 } } }
Errors

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

Did this help?