GET v1/Times/{siteId}/{orderMode}

Retrieves next available time for a given site

URI template

v1/Times/{siteId}/{orderMode}?noCache={noCache}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

The site where you are trying to get available times for

integer

Required

orderMode

How the customer is planning to order the food, this is important because of the different prep times for pickup and delivery

OrderModeType

Required

noCache

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

The next order datetime. Known internal error is BadRequest

date

Response Formats

application/json, text/json

Sample:
"2024-03-29T08:23:53.6463939"

application/xml, text/xml

Sample:
<dateTime xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2024-03-29T08:23:53.6463939</dateTime>