Online Ordering Delivery V3

Methods

Retrieve Delivery Settings

Returns a Location Delivery configuration.

GET /online-ordering/v3/{locationId}/delivery-service/settings

Response 200

Returns a list of available delivery services for the requested location.

{
    "deliveryServices": [
        {
            "name": "string",
            "id": "string"
        }
    ]
}

Retrieve Delivery Quotes

Returns a list of Delivery Quotes for the requested location.

POST /online-ordering/v3/{locationId}/delivery-service/quotes

Request Body (required)

Content-Type: application/json

{
    "hasAgeRestrictedItems": "boolean",
    "deliveryAddress": {
        "city": "San Francisco",
        "state": "CA",
        "line1": "901 Market Street",
        "line2": "Suite #600", 
        "postalCode": "94105",
        "instructions": "string | null"
    },
    "expectedDeliveryAt": null, 
    "expectedPickupAt": "2022-02-25T01:07:10Z" 
}

Response 200

Returns a list of delivery quotes.

    "quotes": [
        {
            "ref": "crn:[conecto-app-guid]:[3rd-party-external-indetifier]",
            "fee": "integer",
            "currency": "USD",
            "estimatedDeliveryAt": "2022-02-25T01:30:39Z",
            "estimatedPickupAt": "2022-02-25T01:07:10Z"
        }
    ]

Response 412 - Precondition Failed - no DELIVERY SERVICE subscriptions for location

results matching ""

    No results matching ""