v1

latestOpenAPI 3.0.02026-07-1398671635.1 KB
publicly-accessible
Restaurant OrderTimes

Get the restaurant's delivery and collection lead times

Get list of the delivery and collection lead times supplied by the restaurant

get/restaurants/{tenant}/{restaurantId}/ordertimes

Path parameters

tenantstring required

A valid country code, e.g. "uk".

restaurantIdstring required

The restaurant Id.

Headers

Authorizationstring required

OAuth2 token issued for logged in restaurant

Response

Success

serviceType'Delivery' | 'Collection'

Service type of the order time

dayOfWeek'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'

Day of week for order time

lowerBoundMinutesinteger

Order time lower bound value, in minutes.

upperBoundMinutesinteger

Order time upper bound value, in minutes.

Example response

[
  {
    "serviceType": "Delivery",
    "dayOfWeek": "Monday",
    "lowerBoundMinutes": 35,
    "upperBoundMinutes": 50
  }
]