-
-
Save casconed/fecca5a6800decc0a1a5 to your computer and use it in GitHub Desktop.
Domino's API docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find: https://order.dominos.com/power/store-locator?s=${line1}&c=${line2}&type=${type} | |
method: GET | |
s: Street Address | |
c: City, State and/or Postal Code | |
type: Delivery or Carryout | |
store info: https://order.dominos.com/power/store/${storeID}/profile | |
method: GET | |
storeId: store id number | |
store menu: https://order.dominos.com/power/store/${storeID}/menu?lang=${lang}&structured=true | |
method: GET | |
storeId: store id number | |
lang: lanuage (en/fr/es) | |
validate: https://order.dominos.com/power/validate-order | |
method: POST | |
submit order object for validation | |
price: https://order.dominos.com/power/price-order | |
method: POST | |
submit order for pricing | |
place order: https://order.dominos.com/power/place-order | |
method: POST | |
submit order for delivery/carryout | |
track order: https://trkweb.dominos.com/orderstorage/GetTrackerData?StoreID={$storeID}&OrderKey=${orderKey} | |
method: GET | |
storeId: storeId from order | |
orderKey: order number returned from place-order | |
sample order object: | |
{ | |
"Order": { | |
"Address": { | |
"Street": "7346 TRASK AVE", | |
"City": "PLAYA DEL REY", | |
"Region": "CA", | |
"PostalCode": "90293-8069", | |
"Type": "House", | |
"StreetName": "TRASK AVE" | |
}, | |
"Coupons": [], | |
"CustomerID": "", | |
"Email": "", | |
"Extension": "", | |
"FirstName": "", | |
"FutureOrderTime": "2016-02-02 12:45:00", | |
"LastName": "", | |
"LanguageCode": "en", | |
"OrderChannel": "OLO", | |
"OrderID": "", | |
"OrderMethod": "Web", | |
"OrderTaker": null, | |
"Payments": [], | |
"Phone": "", | |
"PhonePrefix": "", | |
"Products": [{ | |
"Code": "P14IRECZ", | |
"Qty": 1, | |
"ID": 1, | |
"isNew": true, | |
"Options": { | |
"C": { | |
"1/1": "1" | |
}, | |
"E": { | |
"1/1": "1" | |
}, | |
"Fe": { | |
"1/1": "1" | |
}, | |
"Cs": { | |
"1/1": "1" | |
}, | |
"Cp": { | |
"1/1": "1" | |
}, | |
"X": { | |
"1/1": "1" | |
} | |
} | |
}], | |
"ServiceMethod": "Carryout", | |
"SourceOrganizationURI": "order.dominos.com", | |
"StoreID": "8224", | |
"Tags": {}, | |
"Version": "1.0", | |
"NoCombine": true, | |
"Partners": {}, | |
"OrderInfoCollection": [] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment