Skip to content

Instantly share code, notes, and snippets.

@mager
Created September 2, 2015 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mager/5e9ab453f240b3e7254e to your computer and use it in GitHub Desktop.
Save mager/5e9ab453f240b3e7254e to your computer and use it in GitHub Desktop.
Postmates API: Get the status of a delivery (/customers/:customer_id/deliveries/:delivery_id)
{
"status": "dropoff",
"dropoff": {
"phone_number": "646-234-2271",
"name": "Mager's House",
"notes": "",
"detailed_address": {
"city": "New York City",
"country": "US",
"street_address_1": "498 Central Park N",
"street_address_2": "",
"state": "NY",
"zip_code": "10025"
},
"location": {
"lat": 40.802889,
"lng": -73.96365
},
"address": "498 Central Park N"
},
"updated": "2015-09-02T22:33:08Z",
"fee": 3150,
"quote_id": "dqt_KTSsV-MuKbmWUV",
"complete": false,
"courier": {
"phone_number": "",
"vehicle_type": "truck",
"location": {
"lat": 40.802889,
"lng": -73.96365
},
"name": "Snorlax R.",
"img_href": "https://d2abve4vv95fsr.cloudfront.net/FaRh6rSy8GTyeNC2pVmYOoUv8l4=/288x288/smart/com.postmates.img.prod.s3.amazonaws.com/9c3e0b26-2e93-455e-9b06-9975e74434e0/orig.png"
},
"created": "2015-09-02T22:30:24Z",
"customer_signature_img_href": null,
"kind": "delivery",
"manifest": {
"description": "A good book"
},
"currency": "usd",
"pickup": {
"phone_number": "413-413-1271",
"name": "Postmates office",
"notes": "",
"detailed_address": {
"city": "New York",
"country": "US",
"street_address_1": "76 9th Ave",
"street_address_2": "",
"state": "NY",
"zip_code": "10011"
},
"location": {
"lat": 40.741917,
"lng": -74.004618
},
"address": "76 9th Ave"
},
"dropoff_identifier": "",
"dropoff_deadline": "2015-09-02T23:30:24Z",
"live_mode": false,
"related_deliveries": [],
"pickup_eta": null,
"dropoff_eta": "2015-09-02T22:33:08Z",
"id": "del_KTSsVESyhus9J-"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment