The current state of a delivery including driver and tracking details.
Type: objectProperties: 7
Delivery is a JSON Structure definition published by Grubhub, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/refs/heads/main/json-structure/grubhub-delivery-structure.json",
"name": "Delivery",
"description": "The current state of a delivery including driver and tracking details.",
"type": "object",
"properties": {
"order_uuid": {
"type": "uuid",
"description": "The UUID of the associated order."
},
"status": {
"type": "string",
"description": "The current lifecycle status of the delivery.",
"enum": [
"PENDING",
"DRIVER_ASSIGNED",
"DRIVER_EN_ROUTE_TO_PICKUP",
"ARRIVED_AT_PICKUP",
"PICKED_UP",
"OUT_FOR_DELIVERY",
"ARRIVED_AT_DROPOFF",
"DELIVERED",
"CANCELLED"
]
},
"driver": {
"$ref": "#/components/schemas/Driver"
},
"pickup_eta": {
"type": "datetime",
"description": "Estimated time of arrival at the pickup location."
},
"dropoff_eta": {
"type": "datetime",
"description": "Estimated time of arrival at the delivery location."
},
"tracking_url": {
"type": "uri",
"description": "A URL providing real-time delivery status updates, courier tracking, courier name, and contact options."
},
"updated_at": {
"type": "datetime",
"description": "Timestamp of the last delivery status update."
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.