Aller au contenu principal

Order Confirmation

Sample order confirmation

Limited access

Marketplace APIs are not yet generally available. Prospective partners can apply for API access directly through the DoorDash Developer Portal.

New to the Developer Portal? Sign up here to create an account and apply for access.

Already have a Developer Portal account? Log in and submit your application from the Integrations tab.

The following JSON object represents an order confirmation to respond with after DoorDash sends an order:

Please refer to the model for field definitions

Success confirmation:

{
"merchant_supplied_id": "orderId123",
"order_status": "success",
"prep_time": "2020-05-13T14:01:32.761934529Z"
}

Failure confirmation (with structured errors):

{
"merchant_supplied_id": "orderId123",
"order_status": "fail",
"prep_time": "2020-05-13T14:01:32.761934529Z",
"failure_reason": "Salad Plate is currently unavailable",
"errors": [
{
"code": "ITEM_OUT_OF_STOCK",
"merchant_supplied_id": "item_salad_plate",
"message": "Salad Plate is currently unavailable"
}
]
}