v1

latestOpenAPI 3.0.02026-07-1498671635.3 KB
Restaurants
publicly-accessible

Set ETA for pickup

Set the average amount of time it will take a driver to collect a new order from a restaurant.

put/restaurants/driver/eta

Request body

etaAtRestaurantnumber

Your best estimation in minutes

restaurantIdstring

The unique identifier of the restaurant.

Example request

[
  {
    "etaAtRestaurant": 1,
    "restaurantId": "1"
  }
]

Response

Update will take effect shortly

ignoredRestaurantIdsstring[]

A list of restaurant ids that were present in a request but were ignored.

Example response

{
  "ignoredRestaurantIds": [
    "123",
    "456"
  ]
}