Skip to content

Instantly share code, notes, and snippets.

@pdr
Created June 6, 2019 22:22
Show Gist options
  • Save pdr/2768e700864cce8d64d0e7311a963dcc to your computer and use it in GitHub Desktop.
Save pdr/2768e700864cce8d64d0e7311a963dcc to your computer and use it in GitHub Desktop.
{
"customer":{
"first_name":"julia",
"last_name":"",
"email":"jpsuozzi@gmail.com",
"phone":"2345666",
"postal_code":"12345",
"id":1423501
},
"delivery_address":null,
"tip_amount":"5.40",
"special_requests":"",
"date_time_placed":"2019-05-30T21:49:12.644201+00:00",
"items":[
{
"id":167760,
"required_fields":[
{
"selected":[
{
"option_name":"Eggplant",
"option_text":null,
"option_slug":"eggplant",
"price_variance":"0.00"
}
],
"addon_price":"0.00",
"slug":"type",
"name":"Type"
},
{
"selected":[
{
"option_name":"Mozzarella",
"option_slug":"mozzarella",
"price_variance":"0.00",
"order":1
}
],
"addon_price":"0.00",
"slug":"add-cheese",
"name":"Add Cheese"
},
{
"selected":[
{
"option_name":"Arrabiata",
"option_text":null,
"option_slug":"arrabiata",
"price_variance":"1.00"
}
],
"addon_price":"1.00",
"slug":"sauce",
"name":"Sauce"
}
],
"product_id":1051,
"product_name":"Chicken, Meatball, or Eggplant Sandwich",
"options":[
]
}
],
"tax":"0.00",
"fulfillment_date":"2019-05-31",
"requested_location":{
"phone_number":null,
"city":"New York",
"name":"Osaka",
"state":"New York",
"street":"584 Broadway",
"postal_code":"11211",
"requested_location_id":1,
"location_id":11438
},
"discount":"0.00",
"fulfillment_method":"pickup_only",
"service_fee":"800.00",
"fulfillment_time":"21:45:00",
"total":"843.56",
"subtotal":"36.00"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment