Used to fetch the latest published menu
The published menu response
When you don't have the required permissions to get menu for the given location
When an eixsting request for menu sync is still in progress
curl -i -X GET \ 'https://api.tyro.com/connect/menus/{tcLocationId}/app/published' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "items": [
- {
- "id": "0f448ac1-862a-4c7b-bdb4-a3b7cdbf6149",
- "name": "Beef Burger",
- "sku": "BFB-001",
- "description": "two patty beef burgers",
- "containsAlcohol": true,
- "energy": {
- "amount": 0,
- "unit": "string"
}, - "price": {
- "amount": 0,
- "currency": "string"
}, - "images": {
}, - "options": [
- {
- "min": 0,
- "max": 1,
- "name": "Choose a sauce",
- "description": "string",
- "items": [
- {
- "id": "string",
- "min": 0,
- "max": 1
}
]
}
]
}
], - "sections": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "availableTimeSlots": [
- "string"
], - "items": [
- "string"
], - "modifierGroups": [
- "string"
]
}
], - "timeSlots": [
- {
- "id": "string",
- "description": "string",
- "startTime": "string",
- "endTime": "string",
- "days": [
- "Monday"
]
}
], - "modifierGroups": [
- {
- "id": "string",
- "description": "string",
- "name": "string",
- "min": 0,
- "max": 1,
- "items": [
- {
- "id": "string",
- "min": 0,
- "max": 1
}
]
}
]
}