v1
latestOpenAPI 3.0.02026-07-1498671635.3 KBDelivery Pools API
publicly-accessible
Set the delivery pools daily start and end times
Set the daily start and end times for a pool or set closed flag if the pool does not operate on that day. Start and end times for all days must be provided. Though the API accepts array of start and end times for each day, multiple start and end time for a day are not accepted. If the end time for a day is equal to or before start time, end time will be considered as time for the next day.
put/delivery/pools/{deliveryPoolId}/hours
Request body
Example request
{
"friday": {
"closed": false,
"poolTimes": [
{
"endTime": "01:00",
"startTime": "12:00"
}
]
},
"monday": {
"closed": false,
"poolTimes": [
{
"endTime": "21:00",
"startTime": "09:00"
}
]
},
"saturday": {
"closed": false,
"poolTimes": [
{
"endTime": "23:00",
"startTime": "11:00"
}
]
},
"sunday": {
"closed": false,
"poolTimes": [
{
"endTime": "19:00",
"startTime": "13:00"
}
]
},
"thursday": {
"closed": false,
"poolTimes": [
{
"endTime": "03:00",
"startTime": "12:00"
}
]
},
"tuesday": {
"closed": true,
"poolTimes": [
{
"endTime": "19:00",
"startTime": "10:00"
}
]
},
"wednesday": {
"closed": false,
"poolTimes": [
{
"endTime": "18:00",
"startTime": "08:00"
}
]
}
}Response
Pool hours have been updated