Skip to content

Instantly share code, notes, and snippets.

@cargix1
Created November 27, 2017 13:45
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 cargix1/fe300a41ce8c53032fb199304e6357a6 to your computer and use it in GitHub Desktop.
Save cargix1/fe300a41ce8c53032fb199304e6357a6 to your computer and use it in GitHub Desktop.
{
"order": {
"id": 201771483175,
"email": "andy@zapiet.com",
"closed_at": null,
"created_at": "2017-11-27T08:32:08-05:00",
"updated_at": "2017-11-27T08:32:12-05:00",
"number": 390,
"note": null,
"token": "1e7f9f9d42836a241382498c3bf55283",
"gateway": "Cash on Delivery (COD)",
"test": false,
"total_price": "30.00",
"subtotal_price": "30.00",
"total_weight": 0,
"total_tax": "0.00",
"taxes_included": true,
"currency": "USD",
"financial_status": "pending",
"confirmed": true,
"total_discounts": "0.00",
"total_line_items_price": "30.00",
"cart_token": "8dfdb52d228643b913de724ad4316a6b",
"buyer_accepts_marketing": false,
"name": "#1390",
"referring_site": "https:\/\/shopifyextras.myshopify.com\/cart",
"landing_site": "\/collections\/all",
"cancelled_at": null,
"cancel_reason": null,
"total_price_usd": "30.00",
"checkout_token": "2871198a4e11b5ae21067a7c562e7659",
"reference": null,
"user_id": null,
"location_id": null,
"source_identifier": null,
"source_url": null,
"processed_at": "2017-11-27T08:32:08-05:00",
"device_id": null,
"phone": null,
"customer_locale": "en-CA",
"app_id": 580111,
"browser_ip": null,
"landing_site_ref": null,
"order_number": 1390,
"discount_codes": [],
"note_attributes": [{
"name": "Checkout-Method",
"value": "pickup"
}, {
"name": "Pickup-Location-Id",
"value": "91"
}, {
"name": "Pickup-Location-Company",
"value": "11 Springfield Grange"
}, {
"name": "Pickup-Location-Address-Line-1",
"value": "11 Springfield Grange"
}, {
"name": "Pickup-Location-City",
"value": "Grimsby"
}, {
"name": "Pickup-Location-Postal-Code",
"value": "DN33 3PB"
}, {
"name": "Pickup-Location-Country",
"value": "United Kingdom"
}],
"payment_gateway_names": ["Cash on Delivery (COD)"],
"processing_method": "manual",
"checkout_id": 374208692263,
"source_name": "web",
"fulfillment_status": null,
"tax_lines": [],
"tags": "Pickup Order",
"contact_email": "andy@zapiet.com",
"order_status_url": "https:\/\/shopifyextras.myshopify.com\/6935807\/orders\/1e7f9f9d42836a241382498c3bf55283\/authenticate?key=7445e3962fcb5b605622973ff1d55759",
"line_items": [{
"id": 466876203047,
"variant_id": 40660242311,
"title": "Stary Delight",
"quantity": 1,
"price": "30.00",
"grams": 0,
"sku": "StaryDelightDefaultTitle",
"variant_title": "",
"vendor": "Zapiet - Demo Store",
"fulfillment_service": "manual",
"product_id": 10100272327,
"requires_shipping": true,
"taxable": false,
"gift_card": false,
"name": "Stary Delight",
"variant_inventory_management": null,
"properties": [],
"product_exists": true,
"fulfillable_quantity": 1,
"total_discount": "0.00",
"fulfillment_status": null,
"tax_lines": [{
"title": "VAT",
"price": "0.00",
"rate": 0.2
}],
"origin_location": {
"id": 1136258567,
"country_code": "GB",
"province_code": "",
"name": "Zapiet - Demo Store",
"address1": "11 Springfield Grange",
"address2": "",
"city": "Grimsby",
"zip": "DN33 3PB"
},
"destination_location": {
"id": 1449917447,
"country_code": "GB",
"province_code": "",
"name": "Andrew Cargill",
"address1": "11 Springfield Grange",
"address2": "",
"city": "Grimsby",
"zip": "DN33 3PB"
}
}],
"shipping_lines": [{
"id": 153954549799,
"title": "Store Pickup",
"price": "0.00",
"code": "Store Pickup",
"source": "shopify",
"phone": null,
"requested_fulfillment_service_id": null,
"delivery_category": null,
"carrier_identifier": null,
"discounted_price": "0.00",
"tax_lines": []
}],
"billing_address": {
"first_name": "Emeli",
"address1": "35 Augustan Drive",
"phone": "07447 650492",
"city": "Newport",
"zip": "NP183DD",
"province": null,
"country": "United Kingdom",
"last_name": "Cargill",
"address2": "",
"company": "",
"latitude": 51.6145737,
"longitude": -2.972821,
"name": "Emeli Cargill",
"country_code": "GB",
"province_code": null
},
"shipping_address": {
"first_name": "andrew",
"address1": "11 Springfield Grange",
"phone": "",
"city": "Grimsby",
"zip": "DN33 3PB",
"province": null,
"country": "United Kingdom",
"last_name": "cargill",
"address2": "",
"company": "11 Springfield Grange",
"latitude": 53.5360204,
"longitude": -0.0951099,
"name": "andrew cargill",
"country_code": "GB",
"province_code": null
},
"fulfillments": [],
"client_details": {
"browser_ip": "83.240.177.174",
"accept_language": "en-US,en;q=0.9,es;q=0.8,fr;q=0.7,pt;q=0.6",
"user_agent": "Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/62.0.3202.94 Safari\/537.36",
"session_hash": "8acbf702065a962ed202c5ec3118560b",
"browser_width": 1680,
"browser_height": 888
},
"refunds": [],
"customer": {
"id": 2616140103,
"email": "andy@zapiet.com",
"accepts_marketing": false,
"created_at": "2016-02-28T08:42:15-05:00",
"updated_at": "2017-11-27T08:32:08-05:00",
"first_name": "Andrew",
"last_name": "Cargill",
"orders_count": 110,
"state": "enabled",
"total_spent": "0.00",
"last_order_id": 201771483175,
"note": "",
"verified_email": true,
"multipass_identifier": null,
"tax_exempt": false,
"phone": null,
"tags": "test",
"last_order_name": "#1390",
"default_address": {
"id": 281874694183,
"customer_id": 2616140103,
"first_name": "andrew",
"last_name": "cargill",
"company": "11 Springfield Grange",
"address1": "11 Springfield Grange",
"address2": "",
"city": "Grimsby",
"province": null,
"country": "United Kingdom",
"zip": "DN33 3PB",
"phone": "",
"name": "andrew cargill",
"province_code": null,
"country_code": "GB",
"country_name": "United Kingdom",
"default": true
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment