Skip to content

Instantly share code, notes, and snippets.

@jtwiest
Created May 12, 2019 14:26
Show Gist options
  • Save jtwiest/914ff649e2b47f6e57685594bd0a1faa to your computer and use it in GitHub Desktop.
Save jtwiest/914ff649e2b47f6e57685594bd0a1faa to your computer and use it in GitHub Desktop.
{
"order_id":2566,
"created_at":"2019-05-12T10:14:08-04:00",
"is_tax_exempt":false,
"notes":"Here is a delivery note.",
"service_type":"Delivery",
"tip":"4.62",
"tax":"1.11",
"shipping":"3.07",
"discount":"1.00",
"total":"38.59",
"subtotal":"30.79",
"surcharge":"0.00",
"taxes":[
{
"amount":"1.11",
"name":"Sales Tax"
}
],
"tenders":[
{
"amount":"38.59",
"type":"Credit"
}
],
"location":{
"id":36,
"name":"Test Restaurant",
"street":"908 N 3rd St",
"city":"Philadelphia",
"state":"PA",
"postal_code":"19123",
"phone":15555555555
},
"customer":{
"first_name":"Update",
"last_name":"Test",
"email":"[email protected]",
"customer_id":340,
"phone":15555555555
},
"requested_at":"2019-05-14T09:00:00-04:00",
"address":{
"street":"908b N 3rd St",
"city":"Philadelphia",
"state":"PA",
"postal_code":"19123",
"lat":39.9654594,
"lng":-75.1425308,
"contact":"Update Test",
"phone":15555555555
},
"items":[
{
"id":327,
"name":"Arugula Salads",
"price":"9.52",
"quantity":2,
"notes":"Something special.",
"attributes":[
{
"name":"Dressing",
"value":"Caesar Dressing",
"price":"0.00"
}
]
},
{
"id":326,
"name":"Cheese and Tomato",
"price":"11.75",
"quantity":1,
"notes":null,
"attributes":[
{
"name":"Size",
"value":"10 inch",
"price":"0.00"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment