Skip to content

Instantly share code, notes, and snippets.

@stackdumper
Last active July 5, 2021 14:02
Show Gist options
  • Save stackdumper/bd55318b8492b71844b106a3d42337cd to your computer and use it in GitHub Desktop.
Save stackdumper/bd55318b8492b71844b106a3d42337cd to your computer and use it in GitHub Desktop.
# create order
--------------------
Request: curl -X 'POST' -d '{"order":{"id":0,"number":0,"order_number":0,"updated_at":"","user_id":"","customer":{"id":0,"email":"[email protected]","accepts_marketing":false,"created_at":"","updated_at":"","first_name":"Elijah","last_name":"Atamas","orders_count":0,"state":"","total_spent":"","last_order_id":0,"note":null,"verified_email":false,"multipass_identifier":null,"tax_exempt":false,"tags":"","last_order_name":"","currency":"","accepts_marketing_updated_at":"","marketing_opt_in_level":null,"tax_exemptions":null,"admin_graphql_api_id":""},"line_items":[{"variant_id":39869281009856,"quantity":1}],"shipping_address":{"address1":"Hlinky St, 2","city":"Dnipro","country":"Ukraine","first_name":"Elijah","last_name":"Atamas","phone":"555-625-1199","zip":"49000","country_code":"UA"},"shipping_lines":[{"code":"shopify-Standard-0.73","price":"0.73","title":"Standard"}],"transactions":[{"id":0,"parent_id":0,"kind":"authorization","status":"success","currency":"","amount":"79990.73","test":false}],"total_price":"79990.73"}}' -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'User-Agent: go-resty/2.6.0 (https://github.com/go-resty/resty)' -H 'X-Shopify-Access-Token: REDACTED' 'https://softcery.myshopify.com/admin/api/2021-07/orders.json'
Status: 201 Created
Headers:
- X-Sorting-Hat-Podid: [191]
- X-Stats-Userid: []
- Nel: [{"report_to":"network-errors","max_age":2592000,"success_fraction":0.0001} {"report_to":"network-errors","max_age":2592000,"success_fraction":0.0001}]
- Http_x_shopify_shop_api_call_limit: [1/40]
- X-Shopify-Api-Version: [2021-07]
- Content-Type: [application/json; charset=utf-8]
- X-Frame-Options: [DENY]
- X-Shardid: [191]
- X-Stats-Apiclientid: [5468593]
- X-Download-Options: [noopen]
- Date: [Mon, 05 Jul 2021 14:00:44 GMT]
- X-Request-Id: [8ba66ab7-dd49-4ffc-af95-aa866f250cf5]
- Referrer-Policy: [origin-when-cross-origin]
- X-Stats-Apipermissionid: [322244280512]
- X-Permitted-Cross-Domain-Policies: [none]
- Report-To: [{"group":"network-errors","max_age":2592000,"endpoints":[{"url":"https://monorail-edge.shopifysvc.com/v1/reports/nel/20190325/shopify"}]} {"group":"network-errors","max_age":2592000,"endpoints":[{"url":"https://monorail-edge.shopifysvc.com/v1/reports/nel/20190325/shopify"}]}]
- Expect-Ct: [max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"]
- Server: [cloudflare]
- X-Sorting-Hat-Shopid: [56469160128]
- X-Shopify-Stage: [production]
- Content-Security-Policy: [default-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://* shopify-pos://*; block-all-mixed-content; child-src 'self' https://* shopify-pos://*; connect-src 'self' wss://* https://*; frame-ancestors 'none'; img-src 'self' data: blob: https:; script-src https://cdn.shopify.com https://cdn.shopifycdn.net https://checkout.shopifycs.com https://api.stripe.com https://mpsnare.iesnare.com https://appcenter.intuit.com https://www.paypal.com https://js.braintreegateway.com https://c.paypal.com https://maps.googleapis.com https://www.google-analytics.com https://v.shopify.com https://widget.intercom.io https://js.intercomcdn.com 'self' 'unsafe-inline' 'unsafe-eval'; upgrade-insecure-requests; report-uri /csp-report?source%5Baction%5D=create&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Forders&source%5Bsection%5D=admin_api&source%5Buuid%5D=8ba66ab7-dd49-4ffc-af95-aa866f250cf5]
- X-Dc: [gcp-europe-north1,gcp-us-central1,gcp-us-central1]
- X-Shopid: [56469160128]
- X-Shopify-Shop-Api-Call-Limit: [1/40]
- Location: [https://softcery.myshopify.com/admin/orders.3899309719744]
- X-Xss-Protection: [1; mode=block; report=/xss-report?source%5Baction%5D=create&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Forders&source%5Bsection%5D=admin_api&source%5Buuid%5D=8ba66ab7-dd49-4ffc-af95-aa866f250cf5]
- Cf-Cache-Status: [DYNAMIC]
- Cf-Ray: [66a11f027a042481-KBP]
- Alt-Svc: [h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400]
- Strict-Transport-Security: [max-age=7889238]
- X-Content-Type-Options: [nosniff]
Body: {"order":{"id":3899309719744,"admin_graphql_api_id":"gid:\/\/shopify\/Order\/3899309719744","app_id":5468593,"browser_ip":null,"buyer_accepts_marketing":false,"cancel_reason":null,"cancelled_at":null,"cart_token":null,"checkout_id":null,"checkout_token":null,"closed_at":null,"confirmed":true,"contact_email":"[email protected]","created_at":"2021-07-05T17:00:43+03:00","currency":"USD","current_subtotal_price":"79990.00","current_subtotal_price_set":{"shop_money":{"amount":"79990.00","currency_code":"USD"},"presentment_money":{"amount":"79990.00","currency_code":"USD"}},"current_total_discounts":"0.00","current_total_discounts_set":{"shop_money":{"amount":"0.00","currency_code":"USD"},"presentment_money":{"amount":"0.00","currency_code":"USD"}},"current_total_duties_set":null,"current_total_price":"79990.73","current_total_price_set":{"shop_money":{"amount":"79990.73","currency_code":"USD"},"presentment_money":{"amount":"79990.73","currency_code":"USD"}},"current_total_tax":"0.00","current_total_tax_set":{"shop_money":{"amount":"0.00","currency_code":"USD"},"presentment_money":{"amount":"0.00","currency_code":"USD"}},"customer_locale":null,"device_id":null,"discount_codes":[],"email":"[email protected]","estimated_taxes":false,"financial_status":"paid","fulfillment_status":null,"gateway":"","landing_site":null,"landing_site_ref":null,"location_id":null,"name":"#1084","note":null,"note_attributes":[],"number":84,"order_number":1084,"order_status_url":"https:\/\/softcery.myshopify.com\/56469160128\/orders\/8acec71ab60c2b2bbb9b75bd5370281f\/authenticate?key=073ed84ff22185cd2dadb42fe362aaab","original_total_duties_set":null,"payment_gateway_names":[""],"phone":null,"presentment_currency":"USD","processed_at":"2021-07-05T17:00:43+03:00","processing_method":"","reference":null,"referring_site":null,"source_identifier":null,"source_name":"5468593","source_url":null,"subtotal_price":"79990.00","subtotal_price_set":{"shop_money":{"amount":"79990.00","currency_code":"USD"},"presentment_money":{"amount":"79990.00","currency_code":"USD"}},"tags":"","tax_lines":[],"taxes_included":false,"test":false,"token":"8acec71ab60c2b2bbb9b75bd5370281f","total_discounts":"0.00","total_discounts_set":{"shop_money":{"amount":"0.00","currency_code":"USD"},"presentment_money":{"amount":"0.00","currency_code":"USD"}},"total_line_items_price":"79990.00","total_line_items_price_set":{"shop_money":{"amount":"79990.00","currency_code":"USD"},"presentment_money":{"amount":"79990.00","currency_code":"USD"}},"total_outstanding":"0.00","total_price":"79990.73","total_price_set":{"shop_money":{"amount":"79990.73","currency_code":"USD"},"presentment_money":{"amount":"79990.73","currency_code":"USD"}},"total_price_usd":"79990.73","total_shipping_price_set":{"shop_money":{"amount":"0.73","currency_code":"USD"},"presentment_money":{"amount":"0.73","currency_code":"USD"}},"total_tax":"0.00","total_tax_set":{"shop_money":{"amount":"0.00","currency_code":"USD"},"presentment_money":{"amount":"0.00","currency_code":"USD"}},"total_tip_received":"0.00","total_weight":0,"updated_at":"2021-07-05T17:00:43+03:00","user_id":null,"customer":{"id":5333239955648,"email":"[email protected]","accepts_marketing":false,"created_at":"2021-06-28T18:36:54+03:00","updated_at":"2021-07-05T17:00:43+03:00","first_name":"Elijah","last_name":"Atamas","orders_count":8,"state":"disabled","total_spent":"639920.73","last_order_id":3899309719744,"note":null,"verified_email":true,"multipass_identifier":null,"tax_exempt":false,"phone":"+380930682788","tags":"","last_order_name":"#1084","currency":"USD","accepts_marketing_updated_at":"2021-06-28T18:36:54+03:00","marketing_opt_in_level":null,"tax_exemptions":[],"admin_graphql_api_id":"gid:\/\/shopify\/Customer\/5333239955648","default_address":{"id":6542908850368,"customer_id":5333239955648,"first_name":"Elijah","last_name":"Atamas","company":null,"address1":"Hlinky St, 2","address2":null,"city":"Dnipro","province":null,"country":"Ukraine","zip":"49000","phone":"555-625-1199","name":"Elijah Atamas","province_code":null,"country_code":"UA","country_name":"Ukraine","default":true}},"discount_applications":[],"fulfillments":[],"line_items":[{"id":10128485515456,"admin_graphql_api_id":"gid:\/\/shopify\/LineItem\/10128485515456","fulfillable_quantity":1,"fulfillment_service":"manual","fulfillment_status":null,"gift_card":false,"grams":0,"name":"Tesla Model X","price":"79990.00","price_set":{"shop_money":{"amount":"79990.00","currency_code":"USD"},"presentment_money":{"amount":"79990.00","currency_code":"USD"}},"product_exists":true,"product_id":6687362416832,"properties":[],"quantity":1,"requires_shipping":true,"sku":"50","taxable":true,"title":"Tesla Model X","total_discount":"0.00","total_discount_set":{"shop_money":{"amount":"0.00","currency_code":"USD"},"presentment_money":{"amount":"0.00","currency_code":"USD"}},"variant_id":39869281009856,"variant_inventory_management":"shopify","variant_title":null,"vendor":"Softcery Dev","tax_lines":[],"duties":[],"discount_allocations":[]}],"refunds":[],"shipping_address":{"first_name":"Elijah","address1":"Hlinky St, 2","phone":"555-625-1199","city":"Dnipro","zip":"49000","province":null,"country":"Ukraine","last_name":"Atamas","address2":null,"company":null,"latitude":48.46664879999999,"longitude":35.0508551,"name":"Elijah Atamas","country_code":"UA","province_code":null},"shipping_lines":[{"id":3294398316736,"carrier_identifier":null,"code":"shopify-Standard-0.73","delivery_category":null,"discounted_price":"0.73","discounted_price_set":{"shop_money":{"amount":"0.73","currency_code":"USD"},"presentment_money":{"amount":"0.73","currency_code":"USD"}},"phone":null,"price":"0.73","price_set":{"shop_money":{"amount":"0.73","currency_code":"USD"},"presentment_money":{"amount":"0.73","currency_code":"USD"}},"requested_fulfillment_service_id":null,"source":null,"title":"Standard","tax_lines":[],"discount_allocations":[]}]}}
--------------------
# get order transactions
--------------------
Request: curl -X 'GET' -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'User-Agent: go-resty/2.6.0 (https://github.com/go-resty/resty)' -H 'X-Shopify-
-Token: REDACTED' 'https://softcery.myshopify.com/admin/api/2021-07/orders/3899309719744/transactions.json'
Status: 200 OK
Headers:
- X-Sorting-Hat-Podid: [191]
- X-Stats-Apiclientid: [5468593]
- X-Xss-Protection: [1; mode=block; report=/xss-report?source%5Baction%5D=index&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Ftransactions&source%5Bsection%5D=admin_api&source%5Buuid%5D=d3a6d1cb-8096-4514-b589-0ed9faed98c3]
- Nel: [{"report_to":"network-errors","max_age":2592000,"success_fraction":0.0001} {"report_to":"network-errors","max_age":2592000,"success_fraction":0.0001}]
- Referrer-Policy: [origin-when-cross-origin]
- X-Frame-Options: [DENY]
- X-Shardid: [191]
- X-Content-Type-Options: [nosniff]
- X-Download-Options: [noopen]
- Cf-Ray: [66a11f0caa142481-KBP]
- X-Stats-Apipermissionid: [322244280512]
- X-Shopify-Shop-Api-Call-Limit: [1/40]
- X-Permitted-Cross-Domain-Policies: [none]
- X-Sorting-Hat-Shopid: [56469160128]
- X-Shopify-Api-Version: [2021-07]
- X-Shopify-Stage: [production]
- X-Stats-Userid: []
- Date: [Mon, 05 Jul 2021 14:00:44 GMT]
- Vary: [Accept-Encoding]
- Strict-Transport-Security: [max-age=7889238]
- Content-Security-Policy: [default-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://* shopify-pos://*; block-all-mixed-content; child-src 'self' https://* shopify-pos://*; connect-src 'self' wss://* https://*; frame-ancestors 'none'; img-src 'self' data: blob: https:; script-src https://cdn.shopify.com https://cdn.shopifycdn.net https://checkout.shopifycs.com https://api.stripe.com https://mpsnare.iesnare.com https://appcenter.intuit.com https://www.paypal.com https://js.braintreegateway.com https://c.paypal.com https://maps.googleapis.com https://www.google-analytics.com https://v.shopify.com https://widget.intercom.io https://js.intercomcdn.com 'self' 'unsafe-inline' 'unsafe-eval'; upgrade-insecure-requests; report-uri /csp-report?source%5Baction%5D=index&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Ftransactions&source%5Bsection%5D=admin_api&source%5Buuid%5D=d3a6d1cb-8096-4514-b589-0ed9faed98c3]
- X-Dc: [gcp-europe-north1,gcp-us-central1,gcp-us-central1]
- X-Request-Id: [d3a6d1cb-8096-4514-b589-0ed9faed98c3]
- Cf-Cache-Status: [DYNAMIC]
- Expect-Ct: [max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"]
- Server: [cloudflare]
- Alt-Svc: [h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400]
- Content-Type: [application/json; charset=utf-8]
- X-Shopid: [56469160128]
- Http_x_shopify_shop_api_call_limit: [1/40]
- Report-To: [{"group":"network-errors","max_age":2592000,"endpoints":[{"url":"https://monorail-edge.shopifysvc.com/v1/reports/nel/20190325/shopify"}]} {"group":"network-errors","max_age":2592000,"endpoints":[{"url":"https://monorail-edge.shopifysvc.com/v1/reports/nel/20190325/shopify"}]}]
Body: {"transactions":[{"id":4897593000128,"order_id":3899309719744,"kind":"authorization","gateway":"","status":"success","message":null,"created_at":"2021-07-05T17:00:43+03:00","test":false,"authorization":null,"location_id":null,"user_id":null,"parent_id":null,"processed_at":"2021-07-05T17:00:43+03:00","device_id":null,"error_code":null,"source_name":"5468593","receipt":{},"amount":"79990.73","currency":"USD","admin_graphql_api_id":"gid:\/\/shopify\/OrderTransaction\/4897593000128"}]}
--------------------
# capture order transaction
--------------------
Request: curl -X 'POST' -d '{"transaction":{"id":0,"parent_id":4897593000128,"kind":"capture","status":"","currency":"USD","amount":"79990.73","test":true}}' -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'User-Agent: go-resty/2.6.0 (https://github.com/go-resty/resty)' -H 'X-Shopify-Access-Token: REDACTED' 'https://softcery.myshopify.com/admin/api/2021-07/orders/3899309719744/transactions.json'
Status: 201 Created
Headers:
- X-Content-Type-Options: [nosniff]
- X-Stats-Userid: []
- Strict-Transport-Security: [max-age=7889238]
- X-Permitted-Cross-Domain-Policies: [none]
- Server: [cloudflare]
- X-Shopid: [56469160128]
- Location: [https://softcery.myshopify.com/admin/orders/3899309719744/transactions/4897593032896]
- X-Stats-Apiclientid: [5468593]
- Nel: [{"report_to":"network-errors","max_age":2592000,"success_fraction":0.0001} {"report_to":"network-errors","max_age":2592000,"success_fraction":0.0001}]
- Date: [Mon, 05 Jul 2021 14:00:45 GMT]
- X-Shardid: [191]
- X-Shopify-Api-Version: [2021-07]
- X-Dc: [gcp-europe-north1,gcp-us-central1,gcp-us-central1]
- Cf-Cache-Status: [DYNAMIC]
- Http_x_shopify_shop_api_call_limit: [1/40]
- X-Shopify-Shop-Api-Call-Limit: [1/40]
- X-Request-Id: [8096e3e1-3817-4f0d-be55-64f00a2e507b]
- Content-Type: [application/json; charset=utf-8]
- Referrer-Policy: [origin-when-cross-origin]
- Alt-Svc: [h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400]
- X-Frame-Options: [DENY]
- Report-To: [{"group":"network-errors","max_age":2592000,"endpoints":[{"url":"https://monorail-edge.shopifysvc.com/v1/reports/nel/20190325/shopify"}]} {"group":"network-errors","max_age":2592000,"endpoints":[{"url":"https://monorail-edge.shopifysvc.com/v1/reports/nel/20190325/shopify"}]}]
- X-Shopify-Stage: [production]
- Content-Security-Policy: [default-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://* shopify-pos://*; block-all-mixed-content; child-src 'self' https://* shopify-pos://*; connect-src 'self' wss://* https://*; frame-ancestors 'none'; img-src 'self' data: blob: https:; script-src https://cdn.shopify.com https://cdn.shopifycdn.net https://checkout.shopifycs.com https://api.stripe.com https://mpsnare.iesnare.com https://appcenter.intuit.com https://www.paypal.com https://js.braintreegateway.com https://c.paypal.com https://maps.googleapis.com https://www.google-analytics.com https://v.shopify.com https://widget.intercom.io https://js.intercomcdn.com 'self' 'unsafe-inline' 'unsafe-eval'; upgrade-insecure-requests; report-uri /csp-report?source%5Baction%5D=create&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Ftransactions&source%5Bsection%5D=admin_api&source%5Buuid%5D=8096e3e1-3817-4f0d-be55-64f00a2e507b]
- X-Xss-Protection: [1; mode=block; report=/xss-report?source%5Baction%5D=create&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Ftransactions&source%5Bsection%5D=admin_api&source%5Buuid%5D=8096e3e1-3817-4f0d-be55-64f00a2e507b]
- Expect-Ct: [max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"]
- X-Sorting-Hat-Shopid: [56469160128]
- X-Stats-Apipermissionid: [322244280512]
- Cf-Ray: [66a11f0f3e5c2481-KBP]
- X-Sorting-Hat-Podid: [191]
- X-Download-Options: [noopen]
Body: {"transaction":{"id":4897593032896,"order_id":3899309719744,"kind":"capture","gateway":"","status":"success","message":"Marked the payment as received","created_at":"2021-07-05T17:00:44+03:00","test":true,"authorization":null,"location_id":null,"user_id":null,"parent_id":4897593000128,"processed_at":"2021-07-05T17:00:44+03:00","device_id":null,"error_code":null,"source_name":"5468593","receipt":{},"amount":"79990.73","currency":"USD","admin_graphql_api_id":"gid:\/\/shopify\/OrderTransaction\/4897593032896"}}
--------------------
# get order
--------------------
Request: curl -X 'GET' -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'User-Agent: go-resty/2.6.0 (https://github.com/go-resty/resty)' -H 'X-Shopify-Access-Token: REDACTED' 'https://softcery.myshopify.com/admin/api/2021-07/orders/3899309719744.json'
Status: 200 OK
Headers:
- X-Stats-Apipermissionid: [322244280512]
- Strict-Transport-Security: [max-age=7889238]
- X-Request-Id: [b7a3e2a7-96ff-494a-99fe-4dbd31eff7e9]
- X-Sorting-Hat-Shopid: [56469160128]
- X-Shopid: [56469160128]
- X-Download-Options: [noopen]
- Nel: [{"report_to":"network-errors","max_age":2592000,"success_fraction":0.0001} {"report_to":"network-errors","max_age":2592000,"success_fraction":0.0001}]
- Expect-Ct: [max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"]
- Http_x_shopify_shop_api_call_limit: [1/40]
- X-Shopify-Shop-Api-Call-Limit: [1/40]
- Date: [Mon, 05 Jul 2021 14:00:45 GMT]
- X-Sorting-Hat-Podid: [191]
- X-Frame-Options: [DENY]
- X-Shopify-Api-Version: [2021-07]
- Content-Security-Policy: [default-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://* shopify-pos://*; block-all-mixed-content; child-src 'self' https://* shopify-pos://*; connect-src 'self' wss://* https://*; frame-ancestors 'none'; img-src 'self' data: blob: https:; script-src https://cdn.shopify.com https://cdn.shopifycdn.net https://checkout.shopifycs.com https://api.stripe.com https://mpsnare.iesnare.com https://appcenter.intuit.com https://www.paypal.com https://js.braintreegateway.com https://c.paypal.com https://maps.googleapis.com https://www.google-analytics.com https://v.shopify.com https://widget.intercom.io https://js.intercomcdn.com 'self' 'unsafe-inline' 'unsafe-eval'; upgrade-insecure-requests; report-uri /csp-report?source%5Baction%5D=show&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Forders&source%5Bsection%5D=admin_api&source%5Buuid%5D=b7a3e2a7-96ff-494a-99fe-4dbd31eff7e9]
- X-Content-Type-Options: [nosniff]
- X-Shardid: [191]
- Server: [cloudflare]
- Cf-Ray: [66a11f11faf52481-KBP]
- Alt-Svc: [h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400]
- Vary: [Accept-Encoding]
- X-Stats-Userid: []
- X-Stats-Apiclientid: [5468593]
- Content-Type: [application/json; charset=utf-8]
- Referrer-Policy: [origin-when-cross-origin]
- X-Shopify-Stage: [production]
- X-Dc: [gcp-europe-north1,gcp-us-central1,gcp-us-central1]
- Report-To: [{"group":"network-errors","max_age":2592000,"endpoints":[{"url":"https://monorail-edge.shopifysvc.com/v1/reports/nel/20190325/shopify"}]} {"group":"network-errors","max_age":2592000,"endpoints":[{"url":"https://monorail-edge.shopifysvc.com/v1/reports/nel/20190325/shopify"}]}]
- X-Permitted-Cross-Domain-Policies: [none]
- X-Xss-Protection: [1; mode=block; report=/xss-report?source%5Baction%5D=show&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Forders&source%5Bsection%5D=admin_api&source%5Buuid%5D=b7a3e2a7-96ff-494a-99fe-4dbd31eff7e9]
- Cf-Cache-Status: [DYNAMIC]
Body: {"order":{"id":3899309719744,"admin_graphql_api_id":"gid:\/\/shopify\/Order\/3899309719744","app_id":5468593,"browser_ip":null,"buyer_accepts_marketing":false,"cancel_reason":null,"cancelled_at":null,"cart_token":null,"checkout_id":null,"checkout_token":null,"closed_at":null,"confirmed":true,"contact_email":"[email protected]","created_at":"2021-07-05T17:00:43+03:00","currency":"USD","current_subtotal_price":"79990.00","current_subtotal_price_set":{"shop_money":{"amount":"79990.00","currency_code":"USD"},"presentment_money":{"amount":"79990.00","currency_code":"USD"}},"current_total_discounts":"0.00","current_total_discounts_set":{"shop_money":{"amount":"0.00","currency_code":"USD"},"presentment_money":{"amount":"0.00","currency_code":"USD"}},"current_total_duties_set":null,"current_total_price":"79990.73","current_total_price_set":{"shop_money":{"amount":"79990.73","currency_code":"USD"},"presentment_money":{"amount":"79990.73","currency_code":"USD"}},"current_total_tax":"0.00","current_total_tax_set":{"shop_money":{"amount":"0.00","currency_code":"USD"},"presentment_money":{"amount":"0.00","currency_code":"USD"}},"customer_locale":null,"device_id":null,"discount_codes":[],"email":"[email protected]","estimated_taxes":false,"financial_status":"paid","fulfillment_status":null,"gateway":"","landing_site":null,"landing_site_ref":null,"location_id":null,"name":"#1084","note":null,"note_attributes":[],"number":84,"order_number":1084,"order_status_url":"https:\/\/softcery.myshopify.com\/56469160128\/orders\/8acec71ab60c2b2bbb9b75bd5370281f\/authenticate?key=073ed84ff22185cd2dadb42fe362aaab","original_total_duties_set":null,"payment_gateway_names":[""],"phone":null,"presentment_currency":"USD","processed_at":"2021-07-05T17:00:43+03:00","processing_method":"","reference":null,"referring_site":null,"source_identifier":null,"source_name":"5468593","source_url":null,"subtotal_price":"79990.00","subtotal_price_set":{"shop_money":{"amount":"79990.00","currency_code":"USD"},"presentment_money":{"amount":"79990.00","currency_code":"USD"}},"tags":"","tax_lines":[],"taxes_included":false,"test":true,"token":"8acec71ab60c2b2bbb9b75bd5370281f","total_discounts":"0.00","total_discounts_set":{"shop_money":{"amount":"0.00","currency_code":"USD"},"presentment_money":{"amount":"0.00","currency_code":"USD"}},"total_line_items_price":"79990.00","total_line_items_price_set":{"shop_money":{"amount":"79990.00","currency_code":"USD"},"presentment_money":{"amount":"79990.00","currency_code":"USD"}},"total_outstanding":"0.00","total_price":"79990.73","total_price_set":{"shop_money":{"amount":"79990.73","currency_code":"USD"},"presentment_money":{"amount":"79990.73","currency_code":"USD"}},"total_price_usd":"79990.73","total_shipping_price_set":{"shop_money":{"amount":"0.73","currency_code":"USD"},"presentment_money":{"amount":"0.73","currency_code":"USD"}},"total_tax":"0.00","total_tax_set":{"shop_money":{"amount":"0.00","currency_code":"USD"},"presentment_money":{"amount":"0.00","currency_code":"USD"}},"total_tip_received":"0.00","total_weight":0,"updated_at":"2021-07-05T17:00:44+03:00","user_id":null,"customer":{"id":5333239955648,"email":"[email protected]","accepts_marketing":false,"created_at":"2021-06-28T18:36:54+03:00","updated_at":"2021-07-05T17:00:43+03:00","first_name":"Elijah","last_name":"Atamas","orders_count":8,"state":"disabled","total_spent":"639920.73","last_order_id":3899309719744,"note":null,"verified_email":true,"multipass_identifier":null,"tax_exempt":false,"phone":"+380930682788","tags":"","last_order_name":"#1084","currency":"USD","accepts_marketing_updated_at":"2021-06-28T18:36:54+03:00","marketing_opt_in_level":null,"tax_exemptions":[],"admin_graphql_api_id":"gid:\/\/shopify\/Customer\/5333239955648","default_address":{"id":6542908850368,"customer_id":5333239955648,"first_name":"Elijah","last_name":"Atamas","company":null,"address1":"Hlinky St, 2","address2":null,"city":"Dnipro","province":null,"country":"Ukraine","zip":"49000","phone":"555-625-1199","name":"Elijah Atamas","province_code":null,"country_code":"UA","country_name":"Ukraine","default":true}},"discount_applications":[],"fulfillments":[],"line_items":[{"id":10128485515456,"admin_graphql_api_id":"gid:\/\/shopify\/LineItem\/10128485515456","fulfillable_quantity":1,"fulfillment_service":"manual","fulfillment_status":null,"gift_card":false,"grams":0,"name":"Tesla Model X","price":"79990.00","price_set":{"shop_money":{"amount":"79990.00","currency_code":"USD"},"presentment_money":{"amount":"79990.00","currency_code":"USD"}},"product_exists":true,"product_id":6687362416832,"properties":[],"quantity":1,"requires_shipping":true,"sku":"50","taxable":true,"title":"Tesla Model X","total_discount":"0.00","total_discount_set":{"shop_money":{"amount":"0.00","currency_code":"USD"},"presentment_money":{"amount":"0.00","currency_code":"USD"}},"variant_id":39869281009856,"variant_inventory_management":"shopify","variant_title":null,"vendor":"Softcery Dev","tax_lines":[],"duties":[],"discount_allocations":[]}],"refunds":[],"shipping_address":{"first_name":"Elijah","address1":"Hlinky St, 2","phone":"555-625-1199","city":"Dnipro","zip":"49000","province":null,"country":"Ukraine","last_name":"Atamas","address2":null,"company":null,"latitude":48.46664879999999,"longitude":35.0508551,"name":"Elijah Atamas","country_code":"UA","province_code":null},"shipping_lines":[{"id":3294398316736,"carrier_identifier":null,"code":"shopify-Standard-0.73","delivery_category":null,"discounted_price":"0.73","discounted_price_set":{"shop_money":{"amount":"0.73","currency_code":"USD"},"presentment_money":{"amount":"0.73","currency_code":"USD"}},"phone":null,"price":"0.73","price_set":{"shop_money":{"amount":"0.73","currency_code":"USD"},"presentment_money":{"amount":"0.73","currency_code":"USD"}},"requested_fulfillment_service_id":null,"source":null,"title":"Standard","tax_lines":[],"discount_allocations":[]}]}}
--------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment