Drive API (0.3.2)
Last updated: Jan 17, 2024
Release Notes
0.0.1 (internal release)
- Removed windows from parcel API
Delivery Quote
Get a quote on delivery fee and validate coverage.
Request Body schema: application/json
external_delivery_id required | string (ExternalDeliveryId) /[a-zA-Z0-9-._~]+/ Unique ID generated by the caller for the delivery. |
order_fulfillment_method required | string (OrderFulfillmentMethodParcel) Value: "parcel" Type of fulfillment required for the Delivery |
origin_facility_id | string (OriginFacilityId) Merchant warehouse id for the midmile |
pickup_external_business_id required | string (ExternalBusinessIdParcel) The String Identifier for your business provided to you by doordash |
dropoff_address required | string (DropoffAddress) Comma-separated full address, in the order appropriate for your locale. |
dropoff_business_name | string (DropoffAddressName) Optional name of the place, to help Dashers find the location. |
object (Location) [Pre-release field: submit a ticket in the Developer Portal or reach out to your DoorDash contact if you would like to provide precise location information.] The precise location, as latitude and longitude, of the drop-off. If your request includes both location and address, location will be used for Dasher navigation only; address will be used for fee and serviceability checks. | |
dropoff_phone_number required | string (Drop-off Phone number) The phone number for the Dasher to call if there are any issues with the delivery. Should include the country code. Must adhere to E.164 international phone number standard |
dropoff_instructions | string (DropoffInstructions) /^[A-Za-z0-9_-]{3,64}$/ Instructions for the Dasher to follow when picking up the order. |
dropoff_contact_given_name required | string (GivenName) [^~`@#\$%\^&\*\+=\?;\[{\]\}] Given/first name of the contact. |
dropoff_contact_family_name required | string (FamilyName) [^~`@#\$%\^&\*\+=\?;\[{\]\}] Family/last name of the contact. |
dropoff_contact_send_notifications | boolean (SendNotifications) Whether the contact will receive notifications from DoorDash for this delivery. The default is true. |
object (DropoffPinCodeVerificationMetadata) An object that specifies the dropoff pin code verification related details for this order. When "pin_code" is set in "dropoff_options.proof_of_delivery", the object must include relevant pin code data. Conversely, if "pin_code" is not set as "proof_of_delivery", the object should exclude any pin code data. Pin Code can be enabled only for orders that are non-contactless and not unattended deliveries. Please reach out to Doordash to enable this feature for your business. | |
United States (object) or Canada (object) or Australia (object) or New Zealand (object) (DropoffAddressComponents) The Dropoff address broken down into independent components. | |
order_value | integer <int32> (OrderValue) >= 0 The subtotal for all items in the order, excluding tax/tip, in the lowest currency denomination (e.g. cents). i.e. $19.99 = 1999. |
currency | string (Currency) Currency of the order |
required | Array of objects (DeliveryItem) The items included in the order. |
contactless_dropoff | boolean (Contactless) Whether the delivery should be contactless, which prompts a Dasher to take a picture of the delivery at drop-off. |
dropoff_requires_signature | boolean (SignatureRequired) Whether the delivery requires signature verification during drop-off. |
Responses
Request samples
- Payload
{- "external_delivery_id": "D-1763",
- "order_fulfillment_method": "parcel",
- "origin_facility_id": "MERCHANTA-CA-1",
- "pickup_external_business_id": "ase-243-dzs",
- "dropoff_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "dropoff_business_name": "The Avery Condominium",
- "dropoff_location": {
- "lat": 123.1312343,
- "lng": -37.2144343
}, - "dropoff_phone_number": "+16505555555",
- "dropoff_instructions": "Enter gate code 1234 on the callbox.",
- "dropoff_contact_given_name": "John",
- "dropoff_contact_family_name": "Doe",
- "dropoff_contact_send_notifications": true,
- "dropoff_pin_code_verification_metadata": {
- "pin_code_type": "customer_phone_number",
- "pin_code_value": "1234"
}, - "dropoff_address_components": {
- "street_address": "901 Market Street",
- "sub_premise": "Apt. 121",
- "city": "San Francisco",
- "state": "CA",
- "zip_code": 94103,
- "country": "US"
}, - "order_value": 1999,
- "currency": "USD",
- "items": [
- {
- "name": "Mega Bean and Cheese Burrito",
- "description": "Mega Burrito contains the biggest beans of the land with extra cheese.",
- "quantity": 2,
- "volume": 5.3,
- "weight": 2.8,
- "length": 2.8,
- "width": 2.8,
- "height": 2.8,
- "price": 1000,
- "external_id": "123-123443434b"
}
], - "contactless_dropoff": false,
- "dropoff_requires_signature": false
}
Response samples
- 200
- 400
- 403
- 409
- 422
- 500
{- "external_delivery_id": "D-1763",
- "locale": "en-US, fr-CA, es-US",
- "order_fulfillment_method": "standard",
- "origin_facility_id": "MERCHANTA-CA-1",
- "pickup_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "pickup_business_name": "Wells Fargo SF Downtown",
- "pickup_phone_number": "+16505555555",
- "pickup_instructions": "Go to the bar for pick up.",
- "pickup_reference_tag": "Order number 61",
- "pickup_external_business_id": "ase-243-dzs",
- "pickup_external_store_id": "ase-243-dzs",
- "pickup_verification_metadata": {
- "verification_type": "SCAN_BARCODE",
- "verification_code": "12345",
- "verification_format": "CODE_39"
}, - "dropoff_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "dropoff_business_name": "The Avery Condominium",
- "dropoff_location": {
- "lat": 123.1312343,
- "lng": -37.2144343
}, - "dropoff_phone_number": "+16505555555",
- "dropoff_instructions": "Enter gate code 1234 on the callbox.",
- "dropoff_contact_given_name": "John",
- "dropoff_contact_family_name": "Doe",
- "dropoff_contact_send_notifications": true,
- "dropoff_options": {
- "signature": "required",
- "id_verification": "required",
- "proof_of_delivery": "photo_required",
- "catering_setup": "required"
}, - "dropoff_address_components": {
- "street_address": "901 Market Street",
- "sub_premise": "Apt. 121",
- "city": "San Francisco",
- "state": "CA",
- "zip_code": 94103,
- "country": "US"
}, - "dropoff_pin_code_verification_metadata": {
- "pin_code_type": "customer_phone_number",
- "pin_code_value": "1234"
}, - "order_value": 1999,
- "currency": "USD",
- "items": [
- {
- "name": "Mega Bean and Cheese Burrito",
- "description": "Mega Burrito contains the biggest beans of the land with extra cheese.",
- "quantity": 2,
- "external_id": "123-123443434b",
- "external_instance_id": 12,
- "volume": 5.3,
- "weight": 2.8,
- "length": 2.8,
- "width": 2.8,
- "height": 2.8,
- "price": 1000,
- "barcode": 12342830041,
- "item_options": {
- "substitute_item_ids": [
- "123443434",
- "123443435"
], - "weight_unit": "oz",
- "substitution_preference": "refund"
}, - "adjustment_details": {
- "addition_source": "dasher"
}
}
], - "delivery_status": "quote",
- "cancellation_reason": "cancelled_by_creator",
- "updated_at": "2018-08-22T17:20:28Z",
- "pickup_time_estimated": "2018-08-22T17:20:28Z",
- "pickup_time_actual": "2018-08-22T17:20:28Z",
- "dropoff_time_estimated": "2018-08-22T17:20:28Z",
- "dropoff_time_actual": "2018-08-22T17:20:28Z",
- "return_time_estimated": "2018-08-22T17:20:28Z",
- "return_time_actual": "2018-08-22T17:20:28Z",
- "return_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "fee": 1900,
- "fee_components": [
- {
- "type": "distance_based_fee",
- "amount": 1900
}
], - "tax": 520,
- "tax_components": [
- {
- "type": "gst_hst",
- "amount": 520
}
], - "support_reference": "86313",
- "shipping_label": {
- "label_format": "zpl",
- "label_size": "4x6",
- "print_density": "203dpi",
- "label_string": "XlhBCl5DRjAsNjAKXkZPNTAsNTBeRkRTdG9yZU5hbWVeRlMKXkNGMCwzMApeRk81MCwxMTVeRkRTaGlwcGVkIDAxLzE2LzIwMjNeRlMKXkZPNjUwLDYwXkZENS4zIGxic15GUwpeRk82NTAsMTAwXkZEQ0hJLTJeRlMKXkZPNTAsMTcwXkdCNzAwLDMsM15GUwpeQ0YwLDgwCl5GTzUwLDIyNV5GREpvaG4gRG9lXkZTCl5DRkEsMzYKXkZPNTAsMzMwXkZENnRoIEZsb29yXkZTCl5GTzUwLDM4NV5GRDkwMSBNYXJrZXQgU3RyZWV0XkZTCl5GTzUwLDQ0MF5GRFNhbiBGcmFuY2lzY28sIENBIDk0MTAzXkZTCl5GTzUwLDUyMF5HQjcwMCwzLDNeRlMKXkJZMiwzLDIwMApeRk81MCw1NzVeQkNeRkRKM0Q0VE5HUU1QR0FLSE5VNlZSSlA4RjkyRDE3WV5GUwpeQlFOLDIsNwpeRk81NzUsNzc1XkZEUUEsSjNENFROR1FNUEdBS0hOVTZWUkpQOEY5MkQxN1leRlMKXkNGQSwyNApeRk81MCw4NTBeRkRSZWYjIDEyMy0xMjM0NDM0MzRiXkZTCl5DRkEsMzZeRk81MCwxMDUwXkZERGVsaXZlcmVkXkZTCl5DRkIsMzZeRk81MCwxMTAwXkZEQnkgRGFzaExpbmteRlMKXlha=="
}, - "dropped_items": [
- {
- "external_id": "1011902870",
- "type": "main_item",
- "reason": "item_not_found_in_catalog"
}
], - "contactless_dropoff": false,
- "action_if_undeliverable": "return_to_pickup",
- "tip": 599,
- "order_contains": {
- "alcohol": false,
- "pharmacy_items": false,
- "age_restricted_pharmacy_items": false,
- "tobacco": false,
- "hemp": false,
- "otc": false
}, - "dasher_allowed_vehicles": [
- "car",
- "bicycle",
- "walking"
], - "dropoff_requires_signature": false,
- "promotion_id": "ee680b87-0016-496e-ac3c-d3f33ab54c1c",
- "dropoff_cash_on_delivery": 1999,
- "order_route_type": "roundtrip",
- "order_route_items": [
- "check"
], - "dasher_id": 1232142,
- "dasher_name": "John D.",
- "dasher_dropoff_phone_number": "+15555555555",
- "dasher_pickup_phone_number": "+14444444444",
- "dasher_location": {
- "lat": 123.1312343,
- "lng": -37.2144343
}, - "dasher_vehicle_make": "Toyota",
- "dasher_vehicle_model": "Corolla",
- "dasher_vehicle_year": "2006"
}
Accept Delivery Quote
Accept Delivery Quote
path Parameters
external_delivery_id required | string/[a-zA-Z0-9-._~]+/ Example: D-1763 Unique (per developer) ID of the delivery. |
Request Body schema: application/json
tip | integer <int32> (Tip) >= 0 The tip amount. Use cents or the equivalent lowest currency denomination (e.g. $5.99 = 599). |
Responses
Request samples
- Payload
{- "tip": 599
}
Response samples
- 200
- 400
- 403
- 404
- 409
- 500
{- "external_delivery_id": "D-1763",
- "locale": "en-US, fr-CA, es-US",
- "order_fulfillment_method": "standard",
- "origin_facility_id": "MERCHANTA-CA-1",
- "pickup_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "pickup_business_name": "Wells Fargo SF Downtown",
- "pickup_phone_number": "+16505555555",
- "pickup_instructions": "Go to the bar for pick up.",
- "pickup_reference_tag": "Order number 61",
- "pickup_external_business_id": "ase-243-dzs",
- "pickup_external_store_id": "ase-243-dzs",
- "pickup_verification_metadata": {
- "verification_type": "SCAN_BARCODE",
- "verification_code": "12345",
- "verification_format": "CODE_39"
}, - "dropoff_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "dropoff_business_name": "The Avery Condominium",
- "dropoff_location": {
- "lat": 123.1312343,
- "lng": -37.2144343
}, - "dropoff_phone_number": "+16505555555",
- "dropoff_instructions": "Enter gate code 1234 on the callbox.",
- "dropoff_contact_given_name": "John",
- "dropoff_contact_family_name": "Doe",
- "dropoff_contact_send_notifications": true,
- "dropoff_options": {
- "signature": "required",
- "id_verification": "required",
- "proof_of_delivery": "photo_required",
- "catering_setup": "required"
}, - "dropoff_address_components": {
- "street_address": "901 Market Street",
- "sub_premise": "Apt. 121",
- "city": "San Francisco",
- "state": "CA",
- "zip_code": 94103,
- "country": "US"
}, - "dropoff_pin_code_verification_metadata": {
- "pin_code_type": "customer_phone_number",
- "pin_code_value": "1234"
}, - "order_value": 1999,
- "currency": "USD",
- "items": [
- {
- "name": "Mega Bean and Cheese Burrito",
- "description": "Mega Burrito contains the biggest beans of the land with extra cheese.",
- "quantity": 2,
- "external_id": "123-123443434b",
- "external_instance_id": 12,
- "volume": 5.3,
- "weight": 2.8,
- "length": 2.8,
- "width": 2.8,
- "height": 2.8,
- "price": 1000,
- "barcode": 12342830041,
- "item_options": {
- "substitute_item_ids": [
- "123443434",
- "123443435"
], - "weight_unit": "oz",
- "substitution_preference": "refund"
}, - "adjustment_details": {
- "addition_source": "dasher"
}
}
], - "delivery_status": "quote",
- "cancellation_reason": "cancelled_by_creator",
- "updated_at": "2018-08-22T17:20:28Z",
- "pickup_time_estimated": "2018-08-22T17:20:28Z",
- "pickup_time_actual": "2018-08-22T17:20:28Z",
- "dropoff_time_estimated": "2018-08-22T17:20:28Z",
- "dropoff_time_actual": "2018-08-22T17:20:28Z",
- "return_time_estimated": "2018-08-22T17:20:28Z",
- "return_time_actual": "2018-08-22T17:20:28Z",
- "return_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "fee": 1900,
- "fee_components": [
- {
- "type": "distance_based_fee",
- "amount": 1900
}
], - "tax": 520,
- "tax_components": [
- {
- "type": "gst_hst",
- "amount": 520
}
], - "support_reference": "86313",
- "shipping_label": {
- "label_format": "zpl",
- "label_size": "4x6",
- "print_density": "203dpi",
- "label_string": "XlhBCl5DRjAsNjAKXkZPNTAsNTBeRkRTdG9yZU5hbWVeRlMKXkNGMCwzMApeRk81MCwxMTVeRkRTaGlwcGVkIDAxLzE2LzIwMjNeRlMKXkZPNjUwLDYwXkZENS4zIGxic15GUwpeRk82NTAsMTAwXkZEQ0hJLTJeRlMKXkZPNTAsMTcwXkdCNzAwLDMsM15GUwpeQ0YwLDgwCl5GTzUwLDIyNV5GREpvaG4gRG9lXkZTCl5DRkEsMzYKXkZPNTAsMzMwXkZENnRoIEZsb29yXkZTCl5GTzUwLDM4NV5GRDkwMSBNYXJrZXQgU3RyZWV0XkZTCl5GTzUwLDQ0MF5GRFNhbiBGcmFuY2lzY28sIENBIDk0MTAzXkZTCl5GTzUwLDUyMF5HQjcwMCwzLDNeRlMKXkJZMiwzLDIwMApeRk81MCw1NzVeQkNeRkRKM0Q0VE5HUU1QR0FLSE5VNlZSSlA4RjkyRDE3WV5GUwpeQlFOLDIsNwpeRk81NzUsNzc1XkZEUUEsSjNENFROR1FNUEdBS0hOVTZWUkpQOEY5MkQxN1leRlMKXkNGQSwyNApeRk81MCw4NTBeRkRSZWYjIDEyMy0xMjM0NDM0MzRiXkZTCl5DRkEsMzZeRk81MCwxMDUwXkZERGVsaXZlcmVkXkZTCl5DRkIsMzZeRk81MCwxMTAwXkZEQnkgRGFzaExpbmteRlMKXlha=="
}, - "dropped_items": [
- {
- "external_id": "1011902870",
- "type": "main_item",
- "reason": "item_not_found_in_catalog"
}
], - "contactless_dropoff": false,
- "action_if_undeliverable": "return_to_pickup",
- "tip": 599,
- "order_contains": {
- "alcohol": false,
- "pharmacy_items": false,
- "age_restricted_pharmacy_items": false,
- "tobacco": false,
- "hemp": false,
- "otc": false
}, - "dasher_allowed_vehicles": [
- "car",
- "bicycle",
- "walking"
], - "dropoff_requires_signature": false,
- "promotion_id": "ee680b87-0016-496e-ac3c-d3f33ab54c1c",
- "dropoff_cash_on_delivery": 1999,
- "order_route_type": "roundtrip",
- "order_route_items": [
- "check"
], - "dasher_id": 1232142,
- "dasher_name": "John D.",
- "dasher_dropoff_phone_number": "+15555555555",
- "dasher_pickup_phone_number": "+14444444444",
- "dasher_location": {
- "lat": 123.1312343,
- "lng": -37.2144343
}, - "dasher_vehicle_make": "Toyota",
- "dasher_vehicle_model": "Corolla",
- "dasher_vehicle_year": "2006"
}
Create Delivery
Create Delivery
Request Body schema: application/json
external_delivery_id required | string (ExternalDeliveryId) /[a-zA-Z0-9-._~]+/ Unique ID generated by the caller for the delivery. |
order_fulfillment_method required | string (OrderFulfillmentMethodParcel) Value: "parcel" Type of fulfillment required for the Delivery |
origin_facility_id | string (OriginFacilityId) Merchant warehouse id for the midmile |
pickup_external_business_id required | string (ExternalBusinessIdParcel) The String Identifier for your business provided to you by doordash |
dropoff_address required | string (DropoffAddress) Comma-separated full address, in the order appropriate for your locale. |
dropoff_business_name | string (DropoffAddressName) Optional name of the place, to help Dashers find the location. |
object (Location) [Pre-release field: submit a ticket in the Developer Portal or reach out to your DoorDash contact if you would like to provide precise location information.] The precise location, as latitude and longitude, of the drop-off. If your request includes both location and address, location will be used for Dasher navigation only; address will be used for fee and serviceability checks. | |
dropoff_phone_number required | string (Drop-off Phone number) The phone number for the Dasher to call if there are any issues with the delivery. Should include the country code. Must adhere to E.164 international phone number standard |
dropoff_instructions | string (DropoffInstructions) /^[A-Za-z0-9_-]{3,64}$/ Instructions for the Dasher to follow when picking up the order. |
dropoff_contact_given_name required | string (GivenName) [^~`@#\$%\^&\*\+=\?;\[{\]\}] Given/first name of the contact. |
dropoff_contact_family_name required | string (FamilyName) [^~`@#\$%\^&\*\+=\?;\[{\]\}] Family/last name of the contact. |
dropoff_contact_send_notifications | boolean (SendNotifications) Whether the contact will receive notifications from DoorDash for this delivery. The default is true. |
object (DropoffPinCodeVerificationMetadata) An object that specifies the dropoff pin code verification related details for this order. When "pin_code" is set in "dropoff_options.proof_of_delivery", the object must include relevant pin code data. Conversely, if "pin_code" is not set as "proof_of_delivery", the object should exclude any pin code data. Pin Code can be enabled only for orders that are non-contactless and not unattended deliveries. Please reach out to Doordash to enable this feature for your business. | |
United States (object) or Canada (object) or Australia (object) or New Zealand (object) (DropoffAddressComponents) The Dropoff address broken down into independent components. | |
order_value | integer <int32> (OrderValue) >= 0 The subtotal for all items in the order, excluding tax/tip, in the lowest currency denomination (e.g. cents). i.e. $19.99 = 1999. |
currency | string (Currency) Currency of the order |
required | Array of objects (DeliveryItem) The items included in the order. |
contactless_dropoff | boolean (Contactless) Whether the delivery should be contactless, which prompts a Dasher to take a picture of the delivery at drop-off. |
dropoff_requires_signature | boolean (SignatureRequired) Whether the delivery requires signature verification during drop-off. |
Responses
Request samples
- Payload
{- "external_delivery_id": "D-1763",
- "order_fulfillment_method": "parcel",
- "origin_facility_id": "MERCHANTA-CA-1",
- "pickup_external_business_id": "ase-243-dzs",
- "dropoff_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "dropoff_business_name": "The Avery Condominium",
- "dropoff_location": {
- "lat": 123.1312343,
- "lng": -37.2144343
}, - "dropoff_phone_number": "+16505555555",
- "dropoff_instructions": "Enter gate code 1234 on the callbox.",
- "dropoff_contact_given_name": "John",
- "dropoff_contact_family_name": "Doe",
- "dropoff_contact_send_notifications": true,
- "dropoff_pin_code_verification_metadata": {
- "pin_code_type": "customer_phone_number",
- "pin_code_value": "1234"
}, - "dropoff_address_components": {
- "street_address": "901 Market Street",
- "sub_premise": "Apt. 121",
- "city": "San Francisco",
- "state": "CA",
- "zip_code": 94103,
- "country": "US"
}, - "order_value": 1999,
- "currency": "USD",
- "items": [
- {
- "name": "Mega Bean and Cheese Burrito",
- "description": "Mega Burrito contains the biggest beans of the land with extra cheese.",
- "quantity": 2,
- "volume": 5.3,
- "weight": 2.8,
- "length": 2.8,
- "width": 2.8,
- "height": 2.8,
- "price": 1000,
- "external_id": "123-123443434b"
}
], - "contactless_dropoff": false,
- "dropoff_requires_signature": false
}
Response samples
- 200
- 400
- 403
- 409
- 422
- 500
{- "external_delivery_id": "D-1763",
- "locale": "en-US, fr-CA, es-US",
- "order_fulfillment_method": "standard",
- "origin_facility_id": "MERCHANTA-CA-1",
- "pickup_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "pickup_business_name": "Wells Fargo SF Downtown",
- "pickup_phone_number": "+16505555555",
- "pickup_instructions": "Go to the bar for pick up.",
- "pickup_reference_tag": "Order number 61",
- "pickup_external_business_id": "ase-243-dzs",
- "pickup_external_store_id": "ase-243-dzs",
- "pickup_verification_metadata": {
- "verification_type": "SCAN_BARCODE",
- "verification_code": "12345",
- "verification_format": "CODE_39"
}, - "dropoff_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "dropoff_business_name": "The Avery Condominium",
- "dropoff_location": {
- "lat": 123.1312343,
- "lng": -37.2144343
}, - "dropoff_phone_number": "+16505555555",
- "dropoff_instructions": "Enter gate code 1234 on the callbox.",
- "dropoff_contact_given_name": "John",
- "dropoff_contact_family_name": "Doe",
- "dropoff_contact_send_notifications": true,
- "dropoff_options": {
- "signature": "required",
- "id_verification": "required",
- "proof_of_delivery": "photo_required",
- "catering_setup": "required"
}, - "dropoff_address_components": {
- "street_address": "901 Market Street",
- "sub_premise": "Apt. 121",
- "city": "San Francisco",
- "state": "CA",
- "zip_code": 94103,
- "country": "US"
}, - "dropoff_pin_code_verification_metadata": {
- "pin_code_type": "customer_phone_number",
- "pin_code_value": "1234"
}, - "order_value": 1999,
- "currency": "USD",
- "items": [
- {
- "name": "Mega Bean and Cheese Burrito",
- "description": "Mega Burrito contains the biggest beans of the land with extra cheese.",
- "quantity": 2,
- "external_id": "123-123443434b",
- "external_instance_id": 12,
- "volume": 5.3,
- "weight": 2.8,
- "length": 2.8,
- "width": 2.8,
- "height": 2.8,
- "price": 1000,
- "barcode": 12342830041,
- "item_options": {
- "substitute_item_ids": [
- "123443434",
- "123443435"
], - "weight_unit": "oz",
- "substitution_preference": "refund"
}, - "adjustment_details": {
- "addition_source": "dasher"
}
}
], - "delivery_status": "quote",
- "cancellation_reason": "cancelled_by_creator",
- "updated_at": "2018-08-22T17:20:28Z",
- "pickup_time_estimated": "2018-08-22T17:20:28Z",
- "pickup_time_actual": "2018-08-22T17:20:28Z",
- "dropoff_time_estimated": "2018-08-22T17:20:28Z",
- "dropoff_time_actual": "2018-08-22T17:20:28Z",
- "return_time_estimated": "2018-08-22T17:20:28Z",
- "return_time_actual": "2018-08-22T17:20:28Z",
- "return_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "fee": 1900,
- "fee_components": [
- {
- "type": "distance_based_fee",
- "amount": 1900
}
], - "tax": 520,
- "tax_components": [
- {
- "type": "gst_hst",
- "amount": 520
}
], - "support_reference": "86313",
- "shipping_label": {
- "label_format": "zpl",
- "label_size": "4x6",
- "print_density": "203dpi",
- "label_string": "XlhBCl5DRjAsNjAKXkZPNTAsNTBeRkRTdG9yZU5hbWVeRlMKXkNGMCwzMApeRk81MCwxMTVeRkRTaGlwcGVkIDAxLzE2LzIwMjNeRlMKXkZPNjUwLDYwXkZENS4zIGxic15GUwpeRk82NTAsMTAwXkZEQ0hJLTJeRlMKXkZPNTAsMTcwXkdCNzAwLDMsM15GUwpeQ0YwLDgwCl5GTzUwLDIyNV5GREpvaG4gRG9lXkZTCl5DRkEsMzYKXkZPNTAsMzMwXkZENnRoIEZsb29yXkZTCl5GTzUwLDM4NV5GRDkwMSBNYXJrZXQgU3RyZWV0XkZTCl5GTzUwLDQ0MF5GRFNhbiBGcmFuY2lzY28sIENBIDk0MTAzXkZTCl5GTzUwLDUyMF5HQjcwMCwzLDNeRlMKXkJZMiwzLDIwMApeRk81MCw1NzVeQkNeRkRKM0Q0VE5HUU1QR0FLSE5VNlZSSlA4RjkyRDE3WV5GUwpeQlFOLDIsNwpeRk81NzUsNzc1XkZEUUEsSjNENFROR1FNUEdBS0hOVTZWUkpQOEY5MkQxN1leRlMKXkNGQSwyNApeRk81MCw4NTBeRkRSZWYjIDEyMy0xMjM0NDM0MzRiXkZTCl5DRkEsMzZeRk81MCwxMDUwXkZERGVsaXZlcmVkXkZTCl5DRkIsMzZeRk81MCwxMTAwXkZEQnkgRGFzaExpbmteRlMKXlha=="
}, - "dropped_items": [
- {
- "external_id": "1011902870",
- "type": "main_item",
- "reason": "item_not_found_in_catalog"
}
], - "contactless_dropoff": false,
- "action_if_undeliverable": "return_to_pickup",
- "tip": 599,
- "order_contains": {
- "alcohol": false,
- "pharmacy_items": false,
- "age_restricted_pharmacy_items": false,
- "tobacco": false,
- "hemp": false,
- "otc": false
}, - "dasher_allowed_vehicles": [
- "car",
- "bicycle",
- "walking"
], - "dropoff_requires_signature": false,
- "promotion_id": "ee680b87-0016-496e-ac3c-d3f33ab54c1c",
- "dropoff_cash_on_delivery": 1999,
- "order_route_type": "roundtrip",
- "order_route_items": [
- "check"
], - "dasher_id": 1232142,
- "dasher_name": "John D.",
- "dasher_dropoff_phone_number": "+15555555555",
- "dasher_pickup_phone_number": "+14444444444",
- "dasher_location": {
- "lat": 123.1312343,
- "lng": -37.2144343
}, - "dasher_vehicle_make": "Toyota",
- "dasher_vehicle_model": "Corolla",
- "dasher_vehicle_year": "2006"
}
Get Delivery Status
Get delivery status and details
path Parameters
external_delivery_id required | string/[a-zA-Z0-9-._~]+/ Example: D-1763 Unique (per developer) ID of the delivery. |
Responses
Response samples
- 200
- 400
- 403
- 404
- 500
{- "external_delivery_id": "D-1763",
- "locale": "en-US, fr-CA, es-US",
- "order_fulfillment_method": "standard",
- "origin_facility_id": "MERCHANTA-CA-1",
- "pickup_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "pickup_business_name": "Wells Fargo SF Downtown",
- "pickup_phone_number": "+16505555555",
- "pickup_instructions": "Go to the bar for pick up.",
- "pickup_reference_tag": "Order number 61",
- "pickup_external_business_id": "ase-243-dzs",
- "pickup_external_store_id": "ase-243-dzs",
- "pickup_verification_metadata": {
- "verification_type": "SCAN_BARCODE",
- "verification_code": "12345",
- "verification_format": "CODE_39"
}, - "dropoff_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "dropoff_business_name": "The Avery Condominium",
- "dropoff_location": {
- "lat": 123.1312343,
- "lng": -37.2144343
}, - "dropoff_phone_number": "+16505555555",
- "dropoff_instructions": "Enter gate code 1234 on the callbox.",
- "dropoff_contact_given_name": "John",
- "dropoff_contact_family_name": "Doe",
- "dropoff_contact_send_notifications": true,
- "dropoff_options": {
- "signature": "required",
- "id_verification": "required",
- "proof_of_delivery": "photo_required",
- "catering_setup": "required"
}, - "dropoff_address_components": {
- "street_address": "901 Market Street",
- "sub_premise": "Apt. 121",
- "city": "San Francisco",
- "state": "CA",
- "zip_code": 94103,
- "country": "US"
}, - "dropoff_pin_code_verification_metadata": {
- "pin_code_type": "customer_phone_number",
- "pin_code_value": "1234"
}, - "order_value": 1999,
- "currency": "USD",
- "items": [
- {
- "name": "Mega Bean and Cheese Burrito",
- "description": "Mega Burrito contains the biggest beans of the land with extra cheese.",
- "quantity": 2,
- "external_id": "123-123443434b",
- "external_instance_id": 12,
- "volume": 5.3,
- "weight": 2.8,
- "length": 2.8,
- "width": 2.8,
- "height": 2.8,
- "price": 1000,
- "barcode": 12342830041,
- "item_options": {
- "substitute_item_ids": [
- "123443434",
- "123443435"
], - "weight_unit": "oz",
- "substitution_preference": "refund"
}, - "adjustment_details": {
- "addition_source": "dasher"
}
}
], - "delivery_status": "quote",
- "cancellation_reason": "cancelled_by_creator",
- "updated_at": "2018-08-22T17:20:28Z",
- "pickup_time_estimated": "2018-08-22T17:20:28Z",
- "pickup_time_actual": "2018-08-22T17:20:28Z",
- "dropoff_time_estimated": "2018-08-22T17:20:28Z",
- "dropoff_time_actual": "2018-08-22T17:20:28Z",
- "return_time_estimated": "2018-08-22T17:20:28Z",
- "return_time_actual": "2018-08-22T17:20:28Z",
- "return_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "fee": 1900,
- "fee_components": [
- {
- "type": "distance_based_fee",
- "amount": 1900
}
], - "tax": 520,
- "tax_components": [
- {
- "type": "gst_hst",
- "amount": 520
}
], - "support_reference": "86313",
- "shipping_label": {
- "label_format": "zpl",
- "label_size": "4x6",
- "print_density": "203dpi",
- "label_string": "XlhBCl5DRjAsNjAKXkZPNTAsNTBeRkRTdG9yZU5hbWVeRlMKXkNGMCwzMApeRk81MCwxMTVeRkRTaGlwcGVkIDAxLzE2LzIwMjNeRlMKXkZPNjUwLDYwXkZENS4zIGxic15GUwpeRk82NTAsMTAwXkZEQ0hJLTJeRlMKXkZPNTAsMTcwXkdCNzAwLDMsM15GUwpeQ0YwLDgwCl5GTzUwLDIyNV5GREpvaG4gRG9lXkZTCl5DRkEsMzYKXkZPNTAsMzMwXkZENnRoIEZsb29yXkZTCl5GTzUwLDM4NV5GRDkwMSBNYXJrZXQgU3RyZWV0XkZTCl5GTzUwLDQ0MF5GRFNhbiBGcmFuY2lzY28sIENBIDk0MTAzXkZTCl5GTzUwLDUyMF5HQjcwMCwzLDNeRlMKXkJZMiwzLDIwMApeRk81MCw1NzVeQkNeRkRKM0Q0VE5HUU1QR0FLSE5VNlZSSlA4RjkyRDE3WV5GUwpeQlFOLDIsNwpeRk81NzUsNzc1XkZEUUEsSjNENFROR1FNUEdBS0hOVTZWUkpQOEY5MkQxN1leRlMKXkNGQSwyNApeRk81MCw4NTBeRkRSZWYjIDEyMy0xMjM0NDM0MzRiXkZTCl5DRkEsMzZeRk81MCwxMDUwXkZERGVsaXZlcmVkXkZTCl5DRkIsMzZeRk81MCwxMTAwXkZEQnkgRGFzaExpbmteRlMKXlha=="
}, - "dropped_items": [
- {
- "external_id": "1011902870",
- "type": "main_item",
- "reason": "item_not_found_in_catalog"
}
], - "contactless_dropoff": false,
- "action_if_undeliverable": "return_to_pickup",
- "tip": 599,
- "order_contains": {
- "alcohol": false,
- "pharmacy_items": false,
- "age_restricted_pharmacy_items": false,
- "tobacco": false,
- "hemp": false,
- "otc": false
}, - "dasher_allowed_vehicles": [
- "car",
- "bicycle",
- "walking"
], - "dropoff_requires_signature": false,
- "promotion_id": "ee680b87-0016-496e-ac3c-d3f33ab54c1c",
- "dropoff_cash_on_delivery": 1999,
- "order_route_type": "roundtrip",
- "order_route_items": [
- "check"
], - "dasher_id": 1232142,
- "dasher_name": "John D.",
- "dasher_dropoff_phone_number": "+15555555555",
- "dasher_pickup_phone_number": "+14444444444",
- "dasher_location": {
- "lat": 123.1312343,
- "lng": -37.2144343
}, - "dasher_vehicle_make": "Toyota",
- "dasher_vehicle_model": "Corolla",
- "dasher_vehicle_year": "2006"
}
Cancel Delivery
Cancel delivery
path Parameters
external_delivery_id required | string/[a-zA-Z0-9-._~]+/ Example: D-1763 Unique (per developer) ID of the delivery. |
Responses
Response samples
- 200
- 400
- 403
- 404
- 409
- 500
{- "external_delivery_id": "D-1763",
- "locale": "en-US, fr-CA, es-US",
- "order_fulfillment_method": "standard",
- "origin_facility_id": "MERCHANTA-CA-1",
- "pickup_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "pickup_business_name": "Wells Fargo SF Downtown",
- "pickup_phone_number": "+16505555555",
- "pickup_instructions": "Go to the bar for pick up.",
- "pickup_reference_tag": "Order number 61",
- "pickup_external_business_id": "ase-243-dzs",
- "pickup_external_store_id": "ase-243-dzs",
- "pickup_verification_metadata": {
- "verification_type": "SCAN_BARCODE",
- "verification_code": "12345",
- "verification_format": "CODE_39"
}, - "dropoff_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "dropoff_business_name": "The Avery Condominium",
- "dropoff_location": {
- "lat": 123.1312343,
- "lng": -37.2144343
}, - "dropoff_phone_number": "+16505555555",
- "dropoff_instructions": "Enter gate code 1234 on the callbox.",
- "dropoff_contact_given_name": "John",
- "dropoff_contact_family_name": "Doe",
- "dropoff_contact_send_notifications": true,
- "dropoff_options": {
- "signature": "required",
- "id_verification": "required",
- "proof_of_delivery": "photo_required",
- "catering_setup": "required"
}, - "dropoff_address_components": {
- "street_address": "901 Market Street",
- "sub_premise": "Apt. 121",
- "city": "San Francisco",
- "state": "CA",
- "zip_code": 94103,
- "country": "US"
}, - "dropoff_pin_code_verification_metadata": {
- "pin_code_type": "customer_phone_number",
- "pin_code_value": "1234"
}, - "order_value": 1999,
- "currency": "USD",
- "items": [
- {
- "name": "Mega Bean and Cheese Burrito",
- "description": "Mega Burrito contains the biggest beans of the land with extra cheese.",
- "quantity": 2,
- "external_id": "123-123443434b",
- "external_instance_id": 12,
- "volume": 5.3,
- "weight": 2.8,
- "length": 2.8,
- "width": 2.8,
- "height": 2.8,
- "price": 1000,
- "barcode": 12342830041,
- "item_options": {
- "substitute_item_ids": [
- "123443434",
- "123443435"
], - "weight_unit": "oz",
- "substitution_preference": "refund"
}, - "adjustment_details": {
- "addition_source": "dasher"
}
}
], - "delivery_status": "quote",
- "cancellation_reason": "cancelled_by_creator",
- "updated_at": "2018-08-22T17:20:28Z",
- "pickup_time_estimated": "2018-08-22T17:20:28Z",
- "pickup_time_actual": "2018-08-22T17:20:28Z",
- "dropoff_time_estimated": "2018-08-22T17:20:28Z",
- "dropoff_time_actual": "2018-08-22T17:20:28Z",
- "return_time_estimated": "2018-08-22T17:20:28Z",
- "return_time_actual": "2018-08-22T17:20:28Z",
- "return_address": "901 Market Street 6th Floor San Francisco, CA 94103",
- "fee": 1900,
- "fee_components": [
- {
- "type": "distance_based_fee",
- "amount": 1900
}
], - "tax": 520,
- "tax_components": [
- {
- "type": "gst_hst",
- "amount": 520
}
], - "support_reference": "86313",
- "shipping_label": {
- "label_format": "zpl",
- "label_size": "4x6",
- "print_density": "203dpi",
- "label_string": "XlhBCl5DRjAsNjAKXkZPNTAsNTBeRkRTdG9yZU5hbWVeRlMKXkNGMCwzMApeRk81MCwxMTVeRkRTaGlwcGVkIDAxLzE2LzIwMjNeRlMKXkZPNjUwLDYwXkZENS4zIGxic15GUwpeRk82NTAsMTAwXkZEQ0hJLTJeRlMKXkZPNTAsMTcwXkdCNzAwLDMsM15GUwpeQ0YwLDgwCl5GTzUwLDIyNV5GREpvaG4gRG9lXkZTCl5DRkEsMzYKXkZPNTAsMzMwXkZENnRoIEZsb29yXkZTCl5GTzUwLDM4NV5GRDkwMSBNYXJrZXQgU3RyZWV0XkZTCl5GTzUwLDQ0MF5GRFNhbiBGcmFuY2lzY28sIENBIDk0MTAzXkZTCl5GTzUwLDUyMF5HQjcwMCwzLDNeRlMKXkJZMiwzLDIwMApeRk81MCw1NzVeQkNeRkRKM0Q0VE5HUU1QR0FLSE5VNlZSSlA4RjkyRDE3WV5GUwpeQlFOLDIsNwpeRk81NzUsNzc1XkZEUUEsSjNENFROR1FNUEdBS0hOVTZWUkpQOEY5MkQxN1leRlMKXkNGQSwyNApeRk81MCw4NTBeRkRSZWYjIDEyMy0xMjM0NDM0MzRiXkZTCl5DRkEsMzZeRk81MCwxMDUwXkZERGVsaXZlcmVkXkZTCl5DRkIsMzZeRk81MCwxMTAwXkZEQnkgRGFzaExpbmteRlMKXlha=="
}, - "dropped_items": [
- {
- "external_id": "1011902870",
- "type": "main_item",
- "reason": "item_not_found_in_catalog"
}
], - "contactless_dropoff": false,
- "action_if_undeliverable": "return_to_pickup",
- "tip": 599,
- "order_contains": {
- "alcohol": false,
- "pharmacy_items": false,
- "age_restricted_pharmacy_items": false,
- "tobacco": false,
- "hemp": false,
- "otc": false
}, - "dasher_allowed_vehicles": [
- "car",
- "bicycle",
- "walking"
], - "dropoff_requires_signature": false,
- "promotion_id": "ee680b87-0016-496e-ac3c-d3f33ab54c1c",
- "dropoff_cash_on_delivery": 1999,
- "order_route_type": "roundtrip",
- "order_route_items": [
- "check"
], - "dasher_id": 1232142,
- "dasher_name": "John D.",
- "dasher_dropoff_phone_number": "+15555555555",
- "dasher_pickup_phone_number": "+14444444444",
- "dasher_location": {
- "lat": 123.1312343,
- "lng": -37.2144343
}, - "dasher_vehicle_make": "Toyota",
- "dasher_vehicle_model": "Corolla",
- "dasher_vehicle_year": "2006"
}