v1

latestOpenAPI 3.0.02026-07-1398671635.1 KB
DeliveryFee
publicly-accessible

Get restaurant delivery fees

Retrieve delivery fees for many restaurants. Returns fees and minimum order values required for delivery orders.

get/delivery-fees/{tenant}

Path parameters

tenantstring required

Tenant containing the restaurants.

Query parameters

restaurantIdsstring[] required

Restaurant IDs which fees are requested for. e.g. ?restaurantIds=1,2,3,4

deliveryTimestring date-time required

Delivery date/time when fees are required (ISO8601 format).

zonestring

Postcode or other location name identifying the location to which delivery is required. For use when precise location is not available. This will be removed in future in favour of location.

latlongnumber[]

Point to which delivery is required (latitude, longitude). Supply this where possible as support for zone-only based lookups will be removed in future.

Response

Success

Example response

{
  "restaurants": [
    {
      "restaurantId": "5678",
      "minimumOrderValue": 1000,
      "bands": [
        {
          "minimumAmount": 1000,
          "fee": 250
        },
        {
          "minimumAmount": 2000,
          "fee": 0
        }
      ]
    }
  ]
}