Get a restaurant location's online ordering schedule.
A OrderingSchedule
object.
curl -i -X GET \ https://toast-api-server/ordermgmt-config/v1/published/orderingSchedule \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Toast-Restaurant-External-ID: string'
{- "servicePeriods": [
- {
- "diningOptionBehavior": "TAKE_OUT",
- "dayPeriods": [
- {
- "day": "MONDAY",
- "timeRanges": [
- {
- "start": "14:15:22Z",
- "end": "14:15:22Z"
}
]
}
]
}
], - "overrides": [
- {
- "description": "string",
- "diningOptionBehavior": [
- "TAKE_OUT"
], - "businessDate": 0,
- "timeRanges": [
- {
- "start": "14:15:22Z",
- "end": "14:15:22Z"
}
]
}
], - "scheduledOrderMaxDays": 0,
- "lastOrderConfiguration": "UNTIL_CLOSING_TIME"
}