Created
May 23, 2019 10:50
-
-
Save cjquinn/6bfec31aaae3bc10d29f01913641c082 to your computer and use it in GitHub Desktop.
Shopify create order request data
This file contains 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
{ | |
"order": { | |
"email": "christy+customer@wearelighthouse.com", | |
"closed_at": null, | |
"created_at": "2019-05-23T11:07:56+01:00", | |
"updated_at": "2019-05-23T11:07:56+01:00", | |
"number": 19, | |
"note": null, | |
"token": "149766db6b5506e40bb34a601644a5a1", | |
"gateway": "shopify_payments", | |
"test": true, | |
"total_price": "10.00", | |
"subtotal_price": "10.00", | |
"total_weight": 300, | |
"total_tax": "1.67", | |
"taxes_included": true, | |
"currency": "GBP", | |
"financial_status": "paid", | |
"confirmed": true, | |
"total_discounts": "0.00", | |
"total_line_items_price": "10.00", | |
"cart_token": "d2e23492efab15b9cfd09d9327ea0288", | |
"buyer_accepts_marketing": false, | |
"name": "#1019", | |
"referring_site": null, | |
"landing_site": "/password", | |
"cancelled_at": null, | |
"cancel_reason": null, | |
"total_price_usd": "12.71", | |
"checkout_token": "f99b685af5a1f207c7752b84ff43580b", | |
"reference": null, | |
"user_id": null, | |
"location_id": null, | |
"source_identifier": null, | |
"source_url": null, | |
"processed_at": "2019-05-23T11:07:55+01:00", | |
"device_id": null, | |
"phone": null, | |
"customer_locale": "en", | |
"app_id": 580111, | |
"browser_ip": "127.0.0.1", | |
"landing_site_ref": null, | |
"order_number": 1019, | |
"discount_applications": [], | |
"discount_codes": [], | |
"note_attributes": [], | |
"payment_gateway_names": ["shopify_payments"], | |
"processing_method": "direct", | |
"checkout_id": 9225621897285, | |
"fulfillment_status": null, | |
"tags": null, | |
"contact_email": "christy+customer@wearelighthouse.com", | |
"order_status_url": "https://wearebyhumans.myshopify.com/4881875013/orders/149766db6b5506e40bb34a601644a5a1/authenticate?key=1fe7bba45df39f2dc271e146401633d4", | |
"presentment_currency": "GBP", | |
"total_line_items_price_set": { | |
"shop_money": { | |
"amount": "10.00", | |
"currency_code": "GBP" | |
}, | |
"presentment_money": { | |
"amount": "10.00", | |
"currency_code": "GBP" | |
} | |
}, | |
"total_discounts_set": { | |
"shop_money": { | |
"amount": "0.00", | |
"currency_code": "GBP" | |
}, | |
"presentment_money": { | |
"amount": "0.00", | |
"currency_code": "GBP" | |
} | |
}, | |
"total_shipping_price_set": { | |
"shop_money": { | |
"amount": "0.00", | |
"currency_code": "GBP" | |
}, | |
"presentment_money": { | |
"amount": "0.00", | |
"currency_code": "GBP" | |
} | |
}, | |
"subtotal_price_set": { | |
"shop_money": { | |
"amount": "10.00", | |
"currency_code": "GBP" | |
}, | |
"presentment_money": { | |
"amount": "10.00", | |
"currency_code": "GBP" | |
} | |
}, | |
"total_price_set": { | |
"shop_money": { | |
"amount": "10.00", | |
"currency_code": "GBP" | |
}, | |
"presentment_money": { | |
"amount": "10.00", | |
"currency_code": "GBP" | |
} | |
}, | |
"total_tax_set": { | |
"shop_money": { | |
"amount": "1.67", | |
"currency_code": "GBP" | |
}, | |
"presentment_money": { | |
"amount": "1.67", | |
"currency_code": "GBP" | |
} | |
}, | |
"total_tip_received": "0.0", | |
"line_items": [{ | |
"id": 2236238790725, | |
"variant_id": 19828582252632, | |
"title": "Nagnata striped ribbed organic cotton turtleneck sweater", | |
"quantity": 1, | |
"sku": null, | |
"variant_title": null, | |
"vendor": "testbyhumans2", | |
"fulfillment_service": "manual", | |
"product_id": 2114559868997, | |
"requires_shipping": true, | |
"taxable": true, | |
"gift_card": false, | |
"name": "Nagnata striped ribbed organic cotton turtleneck sweater", | |
"variant_inventory_management": "shopify", | |
"properties": [], | |
"product_exists": true, | |
"fulfillable_quantity": 1, | |
"grams": 300, | |
"price": "10.00", | |
"total_discount": "0.00", | |
"fulfillment_status": null, | |
"price_set": { | |
"shop_money": { | |
"amount": "10.00", | |
"currency_code": "GBP" | |
}, | |
"presentment_money": { | |
"amount": "10.00", | |
"currency_code": "GBP" | |
} | |
}, | |
"total_discount_set": { | |
"shop_money": { | |
"amount": "0.00", | |
"currency_code": "GBP" | |
}, | |
"presentment_money": { | |
"amount": "0.00", | |
"currency_code": "GBP" | |
} | |
}, | |
"discount_allocations": [], | |
"tax_lines": [{ | |
"title": "VAT", | |
"price": "1.67", | |
"rate": 0.2, | |
"price_set": { | |
"shop_money": { | |
"amount": "1.67", | |
"currency_code": "GBP" | |
}, | |
"presentment_money": { | |
"amount": "1.67", | |
"currency_code": "GBP" | |
} | |
} | |
}], | |
"origin_location": { | |
"id": 957813555269, | |
"country_code": "GB", | |
"province_code": null, | |
"name": "WeAreByHumans", | |
"address1": "2 Leman Street", | |
"address2": null, | |
"city": "London", | |
"zip": "E1 8FA" | |
} | |
}], | |
"shipping_lines": [{ | |
"id": 875975737413, | |
"title": "Standard Shipping", | |
"price": "0.00", | |
"code": "Standard Shipping", | |
"source": "shopify", | |
"phone": null, | |
"requested_fulfillment_service_id": null, | |
"delivery_category": null, | |
"carrier_identifier": null, | |
"discounted_price": "0.00", | |
"price_set": { | |
"shop_money": { | |
"amount": "0.00", | |
"currency_code": "GBP" | |
}, | |
"presentment_money": { | |
"amount": "0.00", | |
"currency_code": "GBP" | |
} | |
}, | |
"discounted_price_set": { | |
"shop_money": { | |
"amount": "0.00", | |
"currency_code": "GBP" | |
}, | |
"presentment_money": { | |
"amount": "0.00", | |
"currency_code": "GBP" | |
} | |
}, | |
"discount_allocations": [], | |
"tax_lines": [] | |
}], | |
"billing_address": { | |
"first_name": null, | |
"address1": "Unit 29, Finsbury Business Centre", | |
"phone": null, | |
"city": "London", | |
"zip": "EC1R 0NE", | |
"province": null, | |
"country": "United Kingdom", | |
"last_name": "Quinn", | |
"address2": null, | |
"company": null, | |
"latitude": 51.524756, | |
"longitude": -0.107221, | |
"name": "Quinn", | |
"country_code": "GB", | |
"province_code": null | |
}, | |
"shipping_address": { | |
"first_name": null, | |
"address1": "Unit 29, Finsbury Business Centre", | |
"phone": null, | |
"city": "London", | |
"zip": "EC1R 0NE", | |
"province": null, | |
"country": "United Kingdom", | |
"last_name": "Quinn", | |
"address2": null, | |
"company": null, | |
"latitude": 51.524756, | |
"longitude": -0.107221, | |
"name": "Quinn", | |
"country_code": "GB", | |
"province_code": null | |
}, | |
"fulfillments": [], | |
"client_details": { | |
"browser_ip": "127.0.0.1", | |
"accept_language": "en-US,en;q=0.9", | |
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36", | |
"session_hash": "020955065f29af782c2a2226773a4461", | |
"browser_width": 2560, | |
"browser_height": 1329 | |
}, | |
"refunds": [], | |
"payment_details": { | |
"credit_card_bin": "424242", | |
"avs_result_code": "Y", | |
"cvv_result_code": "M", | |
"credit_card_number": "•••• •••• •••• 4242", | |
"credit_card_company": "Visa" | |
}, | |
"customer": { | |
"email": "christy+customer@wearelighthouse.com", | |
"accepts_marketing": false, | |
"created_at": "2019-05-22T15:41:26+01:00", | |
"updated_at": "2019-05-23T11:07:56+01:00", | |
"first_name": null, | |
"last_name": "Quinn", | |
"orders_count": 0, | |
"state": "disabled", | |
"total_spent": "0.00", | |
"last_order_id": null, | |
"note": null, | |
"verified_email": true, | |
"multipass_identifier": null, | |
"tax_exempt": false, | |
"phone": null, | |
"tags": null, | |
"last_order_name": null, | |
"currency": "GBP", | |
"accepts_marketing_updated_at": "2019-05-22T15:41:26+01:00", | |
"marketing_opt_in_level": null, | |
"default_address": { | |
"id": 1478682247237, | |
"customer_id": 1353196372037, | |
"first_name": null, | |
"last_name": "Quinn", | |
"company": null, | |
"address1": "Unit 29, Finsbury Business Centre", | |
"address2": null, | |
"city": "London", | |
"province": null, | |
"country": "United Kingdom", | |
"zip": "EC1R 0NE", | |
"phone": null, | |
"name": "Quinn", | |
"province_code": null, | |
"country_code": "GB", | |
"country_name": "United Kingdom", | |
"default": true | |
} | |
}, | |
"send_receipt": false, | |
"inventory_behaviour": "decrement_obeying_policy" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment