Skip to content

Instantly share code, notes, and snippets.

@jamiemtdwyer jamiemtdwyer/order_example.json Secret
Created Jan 15, 2016

Embed
What would you like to do?
{
"id":2301218499,
"email":"customer@example.com",
"closed_at":null,
"created_at":"2016-01-15T02:04:55-05:00",
"updated_at":"2016-01-15T02:04:55-05:00",
"number":119,
"note":null,
"token":"redacted",
"gateway":"bogus",
"test":true,
"total_price":"64.49",
"subtotal_price":"49.99",
"total_weight":5000,
"total_tax":"6.50",
"taxes_included":false,
"currency":"CAD",
"financial_status":"paid",
"confirmed":true,
"total_discounts":"0.00",
"total_line_items_price":"49.99",
"cart_token":"redacted",
"buyer_accepts_marketing":false,
"name":"#1119",
"referring_site":"",
"landing_site":"\/",
"cancelled_at":null,
"cancel_reason":null,
"total_price_usd":"44.96",
"checkout_token":"redacted",
"reference":null,
"user_id":null,
"location_id":null,
"source_identifier":null,
"source_url":null,
"processed_at":"2016-01-15T02:04:55-05:00",
"device_id":null,
"browser_ip":"108.168.124.163",
"landing_site_ref":null,
"order_number":1119,
"discount_codes":[
],
"note_attributes":[
],
"payment_gateway_names":[
"bogus"
],
"processing_method":"direct",
"checkout_id":5751380675,
"source_name":"web",
"fulfillment_status":null,
"tax_lines":[
{
"title":"HST",
"price":"6.50",
"rate":0.13
}
],
"tags":"",
"contact_email":"customer@example.com",
"line_items":[
{
"id":4017148227,
"variant_id":11405111043,
"title":"Gift Basket",
"quantity":1,
"price":"49.99",
"grams":5000,
"sku":"",
"variant_title":"My Gift Basket",
"vendor":"Jamie D's Emporium",
"fulfillment_service":"manual",
"product_id":3966272259,
"requires_shipping":true,
"taxable":true,
"gift_card":false,
"name":"Gift Basket - My Gift Basket",
"variant_inventory_management":"shopify",
"properties":[
],
"product_exists":true,
"fulfillable_quantity":1,
"total_discount":"0.00",
"fulfillment_status":null,
"tax_lines":[
{
"title":"HST",
"price":"6.50",
"rate":0.13
}
],
"origin_location":{
"id":471610819,
"country_code":"CA",
"province_code":"ON",
"name":"Jamie D's Emporium",
"address1":"150 Elgin St.",
"address2":"",
"city":"Ottawa",
"zip":"K2P 1L4"
},
"destination_location":{
"id":722876803,
"country_code":"CA",
"province_code":"ON",
"name":"Joe Customer",
"address1":"3-1337 Madeup Rd.",
"address2":"",
"city":"Faketon",
"zip":"L1L1L1"
}
}
],
"shipping_lines":[
{
"id":2005657219,
"title":"Standard Shipping",
"price":"8.00",
"code":"Standard Shipping",
"source":"shopify",
"phone":null,
"tax_lines":[
]
}
],
"billing_address":{
"first_name":"Joe",
"address1":"3-1337 Madeup Rd.",
"phone":"",
"city":"Faketon",
"zip":"L1L1L1",
"province":"Ontario",
"country":"Canada",
"last_name":"Customer",
"address2":"",
"company":"",
"latitude":null,
"longitude":null,
"name":"Joe Customer",
"country_code":"CA",
"province_code":"ON"
},
"shipping_address":{
"first_name":"Joe",
"address1":"3-1337 Madeup Rd.",
"phone":"",
"city":"Faketon",
"zip":"L1L1L1",
"province":"Ontario",
"country":"Canada",
"last_name":"Customer",
"address2":"",
"company":"",
"latitude":null,
"longitude":null,
"name":"Joe Customer",
"country_code":"CA",
"province_code":"ON"
},
"fulfillments":[
],
"client_details":{
"browser_ip":"108.168.124.163",
"accept_language":"en-US,en;q=0.8",
"user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/47.0.2526.106 Safari\/537.36",
"session_hash":"redacted",
"browser_width":1440,
"browser_height":805
},
"refunds":[
],
"payment_details":{
"credit_card_bin":"1",
"avs_result_code":null,
"cvv_result_code":null,
"credit_card_number":"•••• •••• •••• 1",
"credit_card_company":"Bogus"
},
"customer":{
"id":2370744835,
"email":"customer@example.com",
"accepts_marketing":false,
"created_at":"2016-01-15T02:03:52-05:00",
"updated_at":"2016-01-15T02:04:55-05:00",
"first_name":"Joe",
"last_name":"Customer",
"orders_count":0,
"state":"disabled",
"total_spent":"0.00",
"last_order_id":null,
"note":null,
"verified_email":true,
"multipass_identifier":null,
"tax_exempt":false,
"tags":"",
"last_order_name":null,
"default_address":{
"id":2488352899,
"first_name":"Joe",
"last_name":"Customer",
"company":"",
"address1":"3-1337 Madeup Rd.",
"address2":"",
"city":"Faketon",
"province":"Ontario",
"country":"Canada",
"zip":"L1L1L1",
"phone":"",
"name":"Joe Customer",
"province_code":"ON",
"country_code":"CA",
"country_name":"Canada",
"default":true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.