Webhooks
The list of all webhook topics you can subscribe to. You can use webhook subscriptions to receive notifications about particular events in a shop.
If your app is distributed through the Shopify App Store, it must be subscribed to Shopify's mandatory compliance topics. You can create mandatory compliance webhook subscriptions either using your Partner Dashboard or by updating your app configuration file.
If your app is distributed through the Shopify App Store, it must be subscribed to Shopify's mandatory compliance topics. You can create mandatory compliance webhook subscriptions either using your Partner Dashboard or by updating your app configuration file.
Anchor to Getting startedGetting started
Creating subscriptions using the app configuration file
You can subscribe to most topics through your app configuration file using CLI version 3.63.0 or greater.If you create and manage your subscriptions in your app configuration file, they will be used across all shops that your app is installed on.
Creating subscriptions using GraphQL Admin API
You can make app-specific subscriptions to all non-compliance topics through your app configuration file, or shop-specific subscriptions by Shopify's GraphQL Admin API.
For subscriptions managed with the GraphQL Admin API, use the webhookSubscriptionCreate mutation. Specify the $topic and $webhookSubscription parameters to create subscriptions.
Anchor to List of topicsList of topics
All webhook topics you can subscribe to.
app_purchases_one_time/update: Sample Payload
Examples
app_purchases_one_time/update: Sample Payload
{ "app_purchase_one_time": { "admin_graphql_api_id": "gid://shopify/AppPurchaseOneTime/1017262349", "name": "Webhook Test", "status": "PENDING", "admin_graphql_api_shop_id": "gid://shopify/Shop/548380009", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00" } }app_subscriptions/approaching_capped_amount: Sample Payload
{ "app_subscription": { "admin_graphql_api_id": "gid://shopify/AppSubscription/1029266953", "name": "Webhook Test", "balance_used": 0, "capped_amount": "20.0", "currency_code": "USD", "admin_graphql_api_shop_id": "gid://shopify/Shop/548380009", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00" } }app_subscriptions/update: Sample Payload
{ "app_subscription": { "admin_graphql_api_id": "gid://shopify/AppSubscription/1029266952", "name": "Webhook Test", "status": "PENDING", "admin_graphql_api_shop_id": "gid://shopify/Shop/548380009", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "currency": "USD", "capped_amount": "20.0", "price": "10.00", "interval": "every_30_days", "plan_handle": "plan-123" } }app/scopes_update: Sample Payload
{ "id": 1, "shop_id": "gid://shopify/Shop/548380009", "previous": [ "read_products" ], "current": [ "read_products", "write_products" ], "updated_at": "2024-06-25T00:00:00.000Z" }app/uninstalled: Sample Payload
{ "id": 548380009, "name": "Super Toys", "email": "super@supertoys.com", "domain": null, "province": "Tennessee", "country": "US", "address1": "190 MacLaren Street", "zip": "37178", "city": "Houston", "source": null, "phone": "3213213210", "latitude": null, "longitude": null, "primary_locale": "en", "address2": null, "created_at": null, "updated_at": null, "country_code": "US", "country_name": "United States", "currency": "USD", "customer_email": "super@supertoys.com", "timezone": "(GMT-05:00) Eastern Time (US & Canada)", "iana_timezone": null, "shop_owner": "John Smith", "money_format": "${{amount}}", "money_with_currency_format": "${{amount}} USD", "weight_unit": "kg", "province_code": "TN", "taxes_included": null, "auto_configure_tax_inclusivity": null, "tax_shipping": null, "county_taxes": null, "plan_display_name": "Shopify Plus", "plan_name": "enterprise", "has_discounts": false, "has_gift_cards": true, "myshopify_domain": null, "google_apps_domain": null, "google_apps_login_enabled": null, "money_in_emails_format": "${{amount}}", "money_with_currency_in_emails_format": "${{amount}} USD", "eligible_for_payments": true, "requires_extra_payments_agreement": false, "password_enabled": null, "has_storefront": true, "finances": true, "primary_location_id": 655441491, "checkout_api_supported": true, "multi_location_enabled": true, "setup_required": false, "pre_launch_enabled": false, "enabled_presentment_currencies": [ "USD" ], "marketing_sms_consent_enabled_at_checkout": false, "transactional_sms_disabled": false }audit_events/admin_api_activity: Sample Payload
{ "events": [ { "time": 1634678724, "event": { "context": { "context_type": "network_request", "context_identifier": "13493be9-24f2-4eea-b71d-a8acd7af7917", "context_metadata": { "client_ip": "192.168.64.1", "content_type": "json", "response_time_ms": 116.47000000812113, "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36", "api_request_failed": false, "response_code": 200 } }, "action": "api_request", "actor": { "actor_type": "app", "actor_identifier": 4, "actor_metadata": { "app_name": "Private app", "api_version_requested": "unstable", "api_version_served": "unstable", "ecosystem_category": "private" }, "on_behalf_of": { "user_email": "dev@example.com" } }, "subject": { "subject_type": "shop", "subject_identifier": "shop1.myshopify.io", "subject_metadata": {} }, "timestamp": "2021-10-19T21:25:24Z", "additional_metadata": { "request_type": "GraphQL", "mutation_names": [], "query": "query orders {\n orders(first: $first) {\n edges {\n node {\n id\n }\n }\n }\n}", "variables": { "first": 10 }, "error_codes": [] } } } ] }bulk_operations/finish: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/BulkOperation/147595010", "completed_at": "2024-01-01T07:34:56-05:00", "created_at": "2026-03-02T12:16:30-05:00", "error_code": null, "status": "completed", "type": "query" }carts/create: Sample Payload
{ "id": "exampleCartId", "token": "exampleCartId", "line_items": [ { "id": 704912205188288575, "properties": null, "quantity": 3, "variant_id": 704912205188288575, "key": "704912205188288575:3abdf474dce81d0025dd15b9a02ef6bf", "discounted_price": "19.99", "discounts": [], "gift_card": false, "grams": 200, "line_price": "59.97", "original_line_price": "59.97", "original_price": "19.99", "price": "19.99", "product_id": 788032119674292922, "sku": "example-shirt-s", "taxable": true, "title": "Example T-Shirt - Small", "total_discount": "39.98", "vendor": "Acme", "discounted_price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "line_price_set": { "shop_money": { "amount": "59.97", "currency_code": "USD" }, "presentment_money": { "amount": "59.97", "currency_code": "USD" } }, "original_line_price_set": { "shop_money": { "amount": "59.97", "currency_code": "USD" }, "presentment_money": { "amount": "59.97", "currency_code": "USD" } }, "price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "39.98", "currency_code": "USD" }, "presentment_money": { "amount": "39.98", "currency_code": "USD" } }, "parent_relationship": null } ], "note": null, "updated_at": "2022-01-01T00:00:00.000Z", "created_at": "2022-01-01T00:00:00.000Z" }carts/update: Sample Payload
{ "id": "exampleCartId", "token": "exampleCartId", "line_items": [ { "id": 704912205188288575, "properties": null, "quantity": 3, "variant_id": 704912205188288575, "key": "704912205188288575:3abdf474dce81d0025dd15b9a02ef6bf", "discounted_price": "19.99", "discounts": [], "gift_card": false, "grams": 200, "line_price": "59.97", "original_line_price": "59.97", "original_price": "19.99", "price": "19.99", "product_id": 788032119674292922, "sku": "example-shirt-s", "taxable": true, "title": "Example T-Shirt - Small", "total_discount": "39.98", "vendor": "Acme", "discounted_price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "line_price_set": { "shop_money": { "amount": "59.97", "currency_code": "USD" }, "presentment_money": { "amount": "59.97", "currency_code": "USD" } }, "original_line_price_set": { "shop_money": { "amount": "59.97", "currency_code": "USD" }, "presentment_money": { "amount": "59.97", "currency_code": "USD" } }, "price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "39.98", "currency_code": "USD" }, "presentment_money": { "amount": "39.98", "currency_code": "USD" } }, "parent_relationship": null } ], "note": null, "updated_at": "2022-01-01T00:00:00.000Z", "created_at": "2022-01-01T00:00:00.000Z" }channels/delete: Sample Payload
{ "id": "123456789" }checkouts/create: Sample Payload
{ "token": "123123123", "cart_token": "eeafa272cebfd4b22385bc4b645e762c", "email": "example@email.com", "gateway": null, "buyer_accepts_marketing": false, "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "landing_site": null, "note": null, "note_attributes": [], "referring_site": null, "shipping_lines": [], "taxes_included": false, "total_weight": 1133, "currency": "USD", "completed_at": null, "closed_at": null, "user_id": null, "location_id": null, "source_identifier": null, "source_url": null, "device_id": null, "phone": null, "customer_locale": null, "line_items": [ { "applied_discounts": [], "discount_allocations": [], "key": "139cb5712fb4c8d9957dcfad9a3028da", "destination_location_id": 1015975142, "fulfillment_service": "manual", "gift_card": false, "grams": 567, "origin_location_id": 1015975141, "presentment_title": "IPod Nano - 8GB", "presentment_variant_title": "Pink", "product_id": 632910392, "properties": null, "quantity": 1, "requires_shipping": true, "sku": "IPOD2008PINK", "tax_lines": [ { "price": "11.94", "position": 1, "rate": 0.06, "title": "Tax", "source": "Shopify", "zone": "province", "jurisdiction_id": null, "jurisdiction_type": null, "jurisdiction_source": null, "reporting_taxable_amount": null, "reporting_non_taxable_amount": null, "reporting_exempt_amount": null, "reporting_jurisdiction_name": null, "reporting_jurisdiction_type": null, "reporting_jurisdiction_code": null, "tax_api_client_id": null, "tax_calculation_price": "11.94", "tax_registration_id": null, "compare_at": 0.06, "channel_liable": false } ], "taxable": true, "title": "IPod Nano - 8GB", "variant_id": 808950810, "variant_title": "Pink", "variant_price": "199.00", "vendor": "Apple", "user_id": null, "unit_price_measurement": { "measured_type": null, "quantity_value": null, "quantity_unit": null, "reference_value": null, "reference_unit": null }, "rank": null, "compare_at_price": null, "line_price": "199.00", "price": "199.00" }, { "applied_discounts": [], "discount_allocations": [], "key": "139cb5712fb4c8d9957dcfad9a3028da", "destination_location_id": 1015975142, "fulfillment_service": "manual", "gift_card": false, "grams": 567, "origin_location_id": 1015975141, "presentment_title": "IPod Nano - 8GB", "presentment_variant_title": "Pink", "product_id": 632910392, "properties": null, "quantity": 1, "requires_shipping": true, "sku": "IPOD2008PINK", "tax_lines": [ { "price": "11.94", "position": 1, "rate": 0.06, "title": "Tax", "source": "Shopify", "zone": "province", "jurisdiction_id": null, "jurisdiction_type": null, "jurisdiction_source": null, "reporting_taxable_amount": null, "reporting_non_taxable_amount": null, "reporting_exempt_amount": null, "reporting_jurisdiction_name": null, "reporting_jurisdiction_type": null, "reporting_jurisdiction_code": null, "tax_api_client_id": null, "tax_calculation_price": "11.94", "tax_registration_id": null, "compare_at": 0.06, "channel_liable": false } ], "taxable": true, "title": "IPod Nano - 8GB", "variant_id": 808950810, "variant_title": "Pink", "variant_price": "199.00", "vendor": "Apple", "user_id": null, "unit_price_measurement": { "measured_type": null, "quantity_value": null, "quantity_unit": null, "reference_value": null, "reference_unit": null }, "rank": null, "compare_at_price": null, "line_price": "199.00", "price": "199.00" } ], "name": "#981820079255243537", "source": null, "abandoned_checkout_url": "https://checkout.local/548380009/checkouts/123123123/recover?key=example-secret-token", "discount_codes": [], "tax_lines": [ { "price": "23.88", "rate": 0.06, "title": "Tax", "channel_liable": false } ], "source_name": "web", "presentment_currency": "USD", "buyer_accepts_sms_marketing": false, "sms_marketing_phone": null, "total_discounts": "0.00", "total_line_items_price": "398.00", "total_price": "421.88", "total_tax": "23.88", "subtotal_price": "398.00", "total_duties": null, "reservation_token": null, "billing_address": { "first_name": "Bob", "address1": "123 Billing Street", "phone": "555-555-BILL", "city": "Billtown", "zip": "K2P0B0", "province": "Kentucky", "country": "United States", "last_name": "Biller", "address2": null, "company": "My Company", "latitude": null, "longitude": null, "name": "Bob Biller", "country_code": "US", "province_code": "KY" }, "shipping_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "K2P0S0", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "customer": { "id": 603851970716743426, "created_at": null, "updated_at": null, "first_name": "John", "last_name": "Smith", "state": "disabled", "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "john@example.com", "phone": null, "currency": "USD", "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/603851970716743426", "default_address": { "id": null, "customer_id": 603851970716743426, "first_name": "John", "last_name": "Smith", "company": null, "address1": "123 Elm St.", "address2": null, "city": "Ottawa", "province": "Ontario", "country": "Canada", "zip": "K2H7A8", "phone": "123-123-1234", "name": "John Smith", "province_code": "ON", "country_code": "CA", "country_name": "Canada", "default": true } } }checkouts/delete: Sample Payload
{ "id": 981820079255243537, "presentment_currency": "USD", "buyer_accepts_sms_marketing": false, "sms_marketing_phone": null, "total_discounts": "0.00", "total_line_items_price": "398.00", "total_price": "421.88", "total_tax": "23.88", "subtotal_price": "398.00", "cart_token": "eeafa272cebfd4b22385bc4b645e762c", "total_duties": null, "reservation_token": null }checkouts/update: Sample Payload
{ "token": "123123123", "cart_token": "eeafa272cebfd4b22385bc4b645e762c", "email": "example@email.com", "gateway": null, "buyer_accepts_marketing": false, "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "landing_site": null, "note": null, "note_attributes": [], "referring_site": null, "shipping_lines": [], "taxes_included": false, "total_weight": 1133, "currency": "USD", "completed_at": null, "closed_at": null, "user_id": null, "location_id": null, "source_identifier": null, "source_url": null, "device_id": null, "phone": null, "customer_locale": null, "line_items": [ { "applied_discounts": [], "discount_allocations": [], "key": "139cb5712fb4c8d9957dcfad9a3028da", "destination_location_id": 1015975142, "fulfillment_service": "manual", "gift_card": false, "grams": 567, "origin_location_id": 1015975141, "presentment_title": "IPod Nano - 8GB", "presentment_variant_title": "Pink", "product_id": 632910392, "properties": null, "quantity": 1, "requires_shipping": true, "sku": "IPOD2008PINK", "tax_lines": [ { "price": "11.94", "position": 1, "rate": 0.06, "title": "Tax", "source": "Shopify", "zone": "province", "jurisdiction_id": null, "jurisdiction_type": null, "jurisdiction_source": null, "reporting_taxable_amount": null, "reporting_non_taxable_amount": null, "reporting_exempt_amount": null, "reporting_jurisdiction_name": null, "reporting_jurisdiction_type": null, "reporting_jurisdiction_code": null, "tax_api_client_id": null, "tax_calculation_price": "11.94", "tax_registration_id": null, "compare_at": 0.06, "channel_liable": false } ], "taxable": true, "title": "IPod Nano - 8GB", "variant_id": 808950810, "variant_title": "Pink", "variant_price": "199.00", "vendor": "Apple", "user_id": null, "unit_price_measurement": { "measured_type": null, "quantity_value": null, "quantity_unit": null, "reference_value": null, "reference_unit": null }, "rank": null, "compare_at_price": null, "line_price": "199.00", "price": "199.00" }, { "applied_discounts": [], "discount_allocations": [], "key": "139cb5712fb4c8d9957dcfad9a3028da", "destination_location_id": 1015975142, "fulfillment_service": "manual", "gift_card": false, "grams": 567, "origin_location_id": 1015975141, "presentment_title": "IPod Nano - 8GB", "presentment_variant_title": "Pink", "product_id": 632910392, "properties": null, "quantity": 1, "requires_shipping": true, "sku": "IPOD2008PINK", "tax_lines": [ { "price": "11.94", "position": 1, "rate": 0.06, "title": "Tax", "source": "Shopify", "zone": "province", "jurisdiction_id": null, "jurisdiction_type": null, "jurisdiction_source": null, "reporting_taxable_amount": null, "reporting_non_taxable_amount": null, "reporting_exempt_amount": null, "reporting_jurisdiction_name": null, "reporting_jurisdiction_type": null, "reporting_jurisdiction_code": null, "tax_api_client_id": null, "tax_calculation_price": "11.94", "tax_registration_id": null, "compare_at": 0.06, "channel_liable": false } ], "taxable": true, "title": "IPod Nano - 8GB", "variant_id": 808950810, "variant_title": "Pink", "variant_price": "199.00", "vendor": "Apple", "user_id": null, "unit_price_measurement": { "measured_type": null, "quantity_value": null, "quantity_unit": null, "reference_value": null, "reference_unit": null }, "rank": null, "compare_at_price": null, "line_price": "199.00", "price": "199.00" } ], "name": "#981820079255243537", "source": null, "abandoned_checkout_url": "https://checkout.local/548380009/checkouts/123123123/recover?key=example-secret-token", "discount_codes": [], "tax_lines": [ { "price": "23.88", "rate": 0.06, "title": "Tax", "channel_liable": false } ], "source_name": "web", "presentment_currency": "USD", "buyer_accepts_sms_marketing": false, "sms_marketing_phone": null, "total_discounts": "0.00", "total_line_items_price": "398.00", "total_price": "421.88", "total_tax": "23.88", "subtotal_price": "398.00", "total_duties": null, "reservation_token": null, "billing_address": { "first_name": "Bob", "address1": "123 Billing Street", "phone": "555-555-BILL", "city": "Billtown", "zip": "K2P0B0", "province": "Kentucky", "country": "United States", "last_name": "Biller", "address2": null, "company": "My Company", "latitude": null, "longitude": null, "name": "Bob Biller", "country_code": "US", "province_code": "KY" }, "shipping_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "K2P0S0", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "customer": { "id": 603851970716743426, "created_at": null, "updated_at": null, "first_name": "John", "last_name": "Smith", "state": "disabled", "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "john@example.com", "phone": null, "currency": "USD", "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/603851970716743426", "default_address": { "id": null, "customer_id": 603851970716743426, "first_name": "John", "last_name": "Smith", "company": null, "address1": "123 Elm St.", "address2": null, "city": "Ottawa", "province": "Ontario", "country": "Canada", "zip": "K2H7A8", "phone": "123-123-1234", "name": "John Smith", "province_code": "ON", "country_code": "CA", "country_name": "Canada", "default": true } } }collection_listings/add: Sample Payload
{ "collection_listing": { "collection_id": 408372092144951419, "updated_at": null, "body_html": "<b>Some HTML</b>", "default_product_image": null, "handle": "mynewcollection", "image": null, "title": "My New Collection", "sort_order": null, "published_at": "2021-12-31T19:00:00-05:00" } }collection_listings/remove: Sample Payload
{ "collection_listing": { "collection_id": 408372092144951419 } }collection_listings/update: Sample Payload
{ "collection_listing": { "collection_id": 408372092144951419, "updated_at": null, "body_html": "<b>Some HTML</b>", "default_product_image": null, "handle": "mynewcollection", "image": null, "title": "My New Collection", "sort_order": null, "published_at": "2021-12-31T19:00:00-05:00" } }collection_publications/create: Sample Payload
{ "id": null, "publication_id": null, "published_at": "2021-12-31T19:00:00-05:00", "published": true, "created_at": null, "updated_at": null, "collection_id": 408372092144951419 }collection_publications/delete: Sample Payload
{ "id": null }collection_publications/update: Sample Payload
{ "id": null, "publication_id": null, "published_at": "2021-12-31T19:00:00-05:00", "published": true, "created_at": null, "updated_at": null, "collection_id": 408372092144951419 }collections/create: Sample Payload
{ "id": 408372092144951419, "handle": "mynewcollection", "title": "My New Collection", "updated_at": "2021-12-31T19:00:00-05:00", "body_html": "<b>Some HTML</b>", "published_at": "2021-12-31T16:00:00-05:00", "sort_order": null, "template_suffix": null, "published_scope": "web", "admin_graphql_api_id": "gid://shopify/Collection/408372092144951419" }collections/delete: Sample Payload
{ "id": 408372092144951419, "published_scope": "web", "admin_graphql_api_id": "gid://shopify/Collection/408372092144951419" }collections/update: Sample Payload
{ "id": 408372092144951419, "handle": "mynewcollection", "title": "My New Collection", "updated_at": "2021-12-31T19:00:00-05:00", "body_html": "<b>Some HTML</b>", "published_at": "2021-12-31T16:00:00-05:00", "sort_order": null, "template_suffix": null, "published_scope": "web", "admin_graphql_api_id": "gid://shopify/Collection/408372092144951419" }companies/create: Sample Payload
{ "name": "Example Company", "note": "This is an example company", "external_id": "123456789", "main_contact_admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951652", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "customer_since": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }companies/delete: Sample Payload
{ "name": "Example Company", "note": "This is an example company", "external_id": "123456789", "main_contact_admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951652", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "customer_since": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }companies/update: Sample Payload
{ "name": "Example Company", "note": "This is an example company", "external_id": "123456789", "main_contact_admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951652", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "customer_since": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }company_contact_roles/assign: Sample Payload
{ "company_contact": { "customer_admin_graphql_api_id": "gid://shopify/Customer/12123842227812391", "title": "Buyer", "locale": "en", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951419", "company": { "name": "Example Company", "note": "This is an example company", "external_id": "123456789", "main_contact_admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951652", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "customer_since": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/Company/408372092144951419" } }, "company_location": { "name": "Montreal", "external_id": "123456789", "phone": "555-555-5555", "locale": "en", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "note": "Head Office Location", "buyer_experience_configuration": null, "admin_graphql_api_id": "gid://shopify/CompanyLocation/408372092144951419", "tax_exemptions": [ "CA_BC_CONTRACTOR_EXEMPTION", "CA_BC_RESELLER_EXEMPTION" ], "tax_settings": { "tax_registration_id": "1214214141", "tax_exempt": null, "tax_exemptions": [ "CA_BC_CONTRACTOR_EXEMPTION", "CA_BC_RESELLER_EXEMPTION" ] }, "company": { "name": "Example Company", "note": "This is an example company", "external_id": "123456789", "main_contact_admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951652", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "customer_since": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "billing_address": { "address1": "175 Sherbrooke Street West", "city": "Montreal", "province": "Quebec", "country": "Canada", "zip": "H3A 0G4", "recipient": "Adam Felix", "first_name": null, "last_name": null, "address2": null, "phone": "+49738001239", "zone_code": "QC", "country_code": "CA", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyAddress/141016871799219115", "company_admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "shipping_address": { "address1": "175 Sherbrooke Street West", "city": "Montreal", "province": "Quebec", "country": "Canada", "zip": "H3A 0G4", "recipient": "Adam Felix", "first_name": null, "last_name": null, "address2": null, "phone": "+49738001239", "zone_code": "QC", "country_code": "CA", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyAddress/141016871799219115", "company_admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "tax_registration": { "tax_id": "1214214141" } }, "company_contact_role": { "name": "Location Admin" } }company_contact_roles/revoke: Sample Payload
{ "company_contact": { "customer_admin_graphql_api_id": "gid://shopify/Customer/12123842227812391", "title": "Buyer", "locale": "en", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951419", "company": { "name": "Example Company", "note": "This is an example company", "external_id": "123456789", "main_contact_admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951652", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "customer_since": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/Company/408372092144951419" } }, "company_location": { "name": "Montreal", "external_id": "123456789", "phone": "555-555-5555", "locale": "en", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "note": "Head Office Location", "buyer_experience_configuration": null, "admin_graphql_api_id": "gid://shopify/CompanyLocation/408372092144951419", "tax_exemptions": [ "CA_BC_CONTRACTOR_EXEMPTION", "CA_BC_RESELLER_EXEMPTION" ], "tax_settings": { "tax_registration_id": "1214214141", "tax_exempt": null, "tax_exemptions": [ "CA_BC_CONTRACTOR_EXEMPTION", "CA_BC_RESELLER_EXEMPTION" ] }, "company": { "name": "Example Company", "note": "This is an example company", "external_id": "123456789", "main_contact_admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951652", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "customer_since": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "billing_address": { "address1": "175 Sherbrooke Street West", "city": "Montreal", "province": "Quebec", "country": "Canada", "zip": "H3A 0G4", "recipient": "Adam Felix", "first_name": null, "last_name": null, "address2": null, "phone": "+49738001239", "zone_code": "QC", "country_code": "CA", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyAddress/141016871799219115", "company_admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "shipping_address": { "address1": "175 Sherbrooke Street West", "city": "Montreal", "province": "Quebec", "country": "Canada", "zip": "H3A 0G4", "recipient": "Adam Felix", "first_name": null, "last_name": null, "address2": null, "phone": "+49738001239", "zone_code": "QC", "country_code": "CA", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyAddress/141016871799219115", "company_admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "tax_registration": { "tax_id": "1214214141" } }, "company_contact_role": { "name": "Location Admin" } }company_contacts/create: Sample Payload
{ "customer_admin_graphql_api_id": "gid://shopify/Customer/12123842227812391", "title": "Buyer", "locale": "en", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951419", "company": { "name": "Example Company", "note": "This is an example company", "external_id": "123456789", "main_contact_admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951652", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "customer_since": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/Company/408372092144951419" } }company_contacts/delete: Sample Payload
{ "customer_admin_graphql_api_id": "gid://shopify/Customer/12123842227812391", "title": "Buyer", "locale": "en", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951419", "company": { "name": "Example Company", "note": "This is an example company", "external_id": "123456789", "main_contact_admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951652", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "customer_since": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/Company/408372092144951419" } }company_contacts/update: Sample Payload
{ "customer_admin_graphql_api_id": "gid://shopify/Customer/12123842227812391", "title": "Buyer", "locale": "en", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951419", "company": { "name": "Example Company", "note": "This is an example company", "external_id": "123456789", "main_contact_admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951652", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "customer_since": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/Company/408372092144951419" } }company_locations/create: Sample Payload
{ "name": "Montreal", "external_id": "123456789", "phone": "555-555-5555", "locale": "en", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "note": "Head Office Location", "buyer_experience_configuration": null, "admin_graphql_api_id": "gid://shopify/CompanyLocation/408372092144951419", "tax_exemptions": [ "CA_BC_CONTRACTOR_EXEMPTION", "CA_BC_RESELLER_EXEMPTION" ], "tax_settings": { "tax_registration_id": "1214214141", "tax_exempt": null, "tax_exemptions": [ "CA_BC_CONTRACTOR_EXEMPTION", "CA_BC_RESELLER_EXEMPTION" ] }, "company": { "name": "Example Company", "note": "This is an example company", "external_id": "123456789", "main_contact_admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951652", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "customer_since": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "billing_address": { "address1": "175 Sherbrooke Street West", "city": "Montreal", "province": "Quebec", "country": "Canada", "zip": "H3A 0G4", "recipient": "Adam Felix", "first_name": null, "last_name": null, "address2": null, "phone": "+49738001239", "zone_code": "QC", "country_code": "CA", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyAddress/141016871799219115", "company_admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "shipping_address": { "address1": "175 Sherbrooke Street West", "city": "Montreal", "province": "Quebec", "country": "Canada", "zip": "H3A 0G4", "recipient": "Adam Felix", "first_name": null, "last_name": null, "address2": null, "phone": "+49738001239", "zone_code": "QC", "country_code": "CA", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyAddress/141016871799219115", "company_admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "tax_registration": { "tax_id": "1214214141" } }company_locations/delete: Sample Payload
{ "name": "Montreal", "external_id": "123456789", "phone": "555-555-5555", "locale": "en", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "note": "Head Office Location", "buyer_experience_configuration": null, "admin_graphql_api_id": "gid://shopify/CompanyLocation/408372092144951419", "tax_exemptions": [ "CA_BC_CONTRACTOR_EXEMPTION", "CA_BC_RESELLER_EXEMPTION" ], "tax_settings": { "tax_registration_id": "1214214141", "tax_exempt": null, "tax_exemptions": [ "CA_BC_CONTRACTOR_EXEMPTION", "CA_BC_RESELLER_EXEMPTION" ] }, "company": { "name": "Example Company", "note": "This is an example company", "external_id": "123456789", "main_contact_admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951652", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "customer_since": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "billing_address": { "address1": "175 Sherbrooke Street West", "city": "Montreal", "province": "Quebec", "country": "Canada", "zip": "H3A 0G4", "recipient": "Adam Felix", "first_name": null, "last_name": null, "address2": null, "phone": "+49738001239", "zone_code": "QC", "country_code": "CA", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyAddress/141016871799219115", "company_admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "shipping_address": { "address1": "175 Sherbrooke Street West", "city": "Montreal", "province": "Quebec", "country": "Canada", "zip": "H3A 0G4", "recipient": "Adam Felix", "first_name": null, "last_name": null, "address2": null, "phone": "+49738001239", "zone_code": "QC", "country_code": "CA", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyAddress/141016871799219115", "company_admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "tax_registration": { "tax_id": "1214214141" } }company_locations/update: Sample Payload
{ "name": "Montreal", "external_id": "123456789", "phone": "555-555-5555", "locale": "en", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "note": "Head Office Location", "buyer_experience_configuration": null, "admin_graphql_api_id": "gid://shopify/CompanyLocation/408372092144951419", "tax_exemptions": [ "CA_BC_CONTRACTOR_EXEMPTION", "CA_BC_RESELLER_EXEMPTION" ], "tax_settings": { "tax_registration_id": "1214214141", "tax_exempt": null, "tax_exemptions": [ "CA_BC_CONTRACTOR_EXEMPTION", "CA_BC_RESELLER_EXEMPTION" ] }, "company": { "name": "Example Company", "note": "This is an example company", "external_id": "123456789", "main_contact_admin_graphql_api_id": "gid://shopify/CompanyContact/408372092144951652", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "customer_since": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "billing_address": { "address1": "175 Sherbrooke Street West", "city": "Montreal", "province": "Quebec", "country": "Canada", "zip": "H3A 0G4", "recipient": "Adam Felix", "first_name": null, "last_name": null, "address2": null, "phone": "+49738001239", "zone_code": "QC", "country_code": "CA", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyAddress/141016871799219115", "company_admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "shipping_address": { "address1": "175 Sherbrooke Street West", "city": "Montreal", "province": "Quebec", "country": "Canada", "zip": "H3A 0G4", "recipient": "Adam Felix", "first_name": null, "last_name": null, "address2": null, "phone": "+49738001239", "zone_code": "QC", "country_code": "CA", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "admin_graphql_api_id": "gid://shopify/CompanyAddress/141016871799219115", "company_admin_graphql_api_id": "gid://shopify/Company/408372092144951419" }, "tax_registration": { "tax_id": "1214214141" } }customer_account_settings/update: Sample Payload
{ "url": null, "customer_accounts_version": "classic", "login_required_at_checkout": true, "login_links_visible_on_storefront_and_checkout": true }customer_groups/create: Sample Payload
{ "id": 239443597569284757, "name": "Bob Customers", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "query": "email:bob*" }customer_groups/delete: Sample Payload
{ "id": 239443597569284757 }customer_groups/update: Sample Payload
{ "id": 239443597569284757, "name": "Bob Customers", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "query": "email:bob*" }customer_payment_methods/create: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/CustomerPaymentMethod/0eccccc666aac73efcd31094ddc4ebf0", "token": "0eccccc666aac73efcd31094ddc4ebf0", "customer_id": 82850125, "admin_graphql_api_customer_id": "gid://shopify/Customer/82850125", "instrument_type": "CustomerCreditCard", "payment_instrument": { "last_digits": "4242", "month": 8, "year": 2060, "name": "Jim Smith", "brand": "Visa" }, "resource_type": "Subscriptions" }customer_payment_methods/revoke: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/CustomerPaymentMethod/0eccccc666aac73efcd31094ddc4ebf0", "token": "0eccccc666aac73efcd31094ddc4ebf0", "customer_id": 82850125, "admin_graphql_api_customer_id": "gid://shopify/Customer/82850125", "instrument_type": "CustomerCreditCard", "payment_instrument": { "last_digits": "4242", "month": 8, "year": 2060, "name": "Jim Smith", "brand": "Visa" }, "resource_type": "Subscriptions" }customer_payment_methods/update: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/CustomerPaymentMethod/0eccccc666aac73efcd31094ddc4ebf0", "token": "0eccccc666aac73efcd31094ddc4ebf0", "customer_id": 82850125, "admin_graphql_api_customer_id": "gid://shopify/Customer/82850125", "instrument_type": "CustomerCreditCard", "payment_instrument": { "last_digits": "4242", "month": 8, "year": 2060, "name": "Jim Smith", "brand": "Visa" }, "resource_type": "Subscriptions" }customer.joined_segment: Sample Payload
{ "shop_id": "gid://shopify/Shop/1", "customer_id": "gid://shopify/Customer/2", "segment_id": "gid://shopify/Segment/3" }customer.left_segment: Sample Payload
{ "shop_id": "gid://shopify/Shop/1", "customer_id": "gid://shopify/Customer/2", "segment_id": "gid://shopify/Segment/3" }customer.tags_added: Sample Payload
{ "customerId": "gid://shopify/Customer/1", "tags": [ "tag1", "tag2" ], "occurredAt": "2005-05-05T06:00:00.000Z" }customer.tags_removed: Sample Payload
{ "customerId": "gid://shopify/Customer/1", "tags": [ "tag1", "tag2" ], "occurredAt": "2005-05-05T06:00:00.000Z" }customers_email_marketing_consent/update: Sample Payload
{ "customer_id": 706405506930370084, "email_address": "bob@biller.com", "email_marketing_consent": { "state": "not_subscribed", "opt_in_level": null, "consent_updated_at": null } }customers_marketing_consent/update: Sample Payload
{ "id": 706405506930370084, "phone": null, "sms_marketing_consent": { "state": null, "opt_in_level": null, "consent_updated_at": null, "consent_collected_from": "other" } }customers/create: Sample Payload
{ "id": 706405506930370084, "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "first_name": "Bob", "last_name": "Biller", "state": "disabled", "note": "This customer loves ice cream", "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "bob@biller.com", "phone": null, "currency": "USD", "addresses": [], "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/706405506930370084", "default_address": { "id": 12321, "customer_id": 706405506930370084, "first_name": "Bob", "last_name": "Biller", "company": null, "address1": "151 O'Connor Street", "address2": null, "city": "Ottawa", "province": "ON", "country": "CA", "zip": "K2P 2L8", "phone": "555-555-5555", "name": "Bob Biller", "province_code": "ON", "country_code": "CA", "country_name": "CA", "default": true } }customers/data_request: Sample Payload
{ "shop_id": 954889, "shop_domain": "{shop}.myshopify.com", "customer": { "id": 191167, "email": "john@example.com", "phone": "555-625-1199" }, "orders_requested": [ 299938, 280263, 220458 ], "data_request": { "id": 9999 } }customers/delete: Sample Payload
{ "id": 706405506930370084, "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/706405506930370084" }customers/disable: Sample Payload
{ "id": 706405506930370084, "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "first_name": "Bob", "last_name": "Biller", "state": "disabled", "note": "This customer loves ice cream", "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "bob@biller.com", "phone": null, "currency": "USD", "addresses": [], "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/706405506930370084", "default_address": { "id": 12321, "customer_id": 706405506930370084, "first_name": "Bob", "last_name": "Biller", "company": null, "address1": "151 O'Connor Street", "address2": null, "city": "Ottawa", "province": "ON", "country": "CA", "zip": "K2P 2L8", "phone": "555-555-5555", "name": "Bob Biller", "province_code": "ON", "country_code": "CA", "country_name": "CA", "default": true } }customers/enable: Sample Payload
{ "id": 706405506930370084, "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "first_name": "Bob", "last_name": "Biller", "state": "disabled", "note": "This customer loves ice cream", "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "bob@biller.com", "phone": null, "currency": "USD", "addresses": [], "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/706405506930370084", "default_address": { "id": 12321, "customer_id": 706405506930370084, "first_name": "Bob", "last_name": "Biller", "company": null, "address1": "151 O'Connor Street", "address2": null, "city": "Ottawa", "province": "ON", "country": "CA", "zip": "K2P 2L8", "phone": "555-555-5555", "name": "Bob Biller", "province_code": "ON", "country_code": "CA", "country_name": "CA", "default": true } }customers/merge: Sample Payload
{ "admin_graphql_api_customer_kept_id": "gid://shopify/Customer/1", "admin_graphql_api_customer_deleted_id": "gid://shopify/Customer/2", "admin_graphql_api_job_id": null, "status": "failed", "errors": [ { "customer_ids": [ 1 ], "field": "merge_in_progress", "message": "John Doe is currently being merged." } ] }customers/purchasing_summary: Sample Payload
{ "customerId": "gid://shopify/Customer/1", "numberOfOrders": 1, "amountSpent": { "amount": "100.00", "currencyCode": "USD" }, "lastOrderId": "gid://shopify/Order/1", "occurredAt": "2005-05-05T06:00:00.000Z" }customers/redact: Sample Payload
{ "shop_id": 954889, "shop_domain": "{shop}.myshopify.com", "customer": { "id": 191167, "email": "john@example.com", "phone": "555-625-1199" }, "orders_to_redact": [ 299938, 280263, 220458 ] }customers/update: Sample Payload
{ "id": 706405506930370084, "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "first_name": "Bob", "last_name": "Biller", "state": "disabled", "note": "This customer loves ice cream", "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "bob@biller.com", "phone": null, "currency": "USD", "addresses": [], "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/706405506930370084", "default_address": { "id": 12321, "customer_id": 706405506930370084, "first_name": "Bob", "last_name": "Biller", "company": null, "address1": "151 O'Connor Street", "address2": null, "city": "Ottawa", "province": "ON", "country": "CA", "zip": "K2P 2L8", "phone": "555-555-5555", "name": "Bob Biller", "province_code": "ON", "country_code": "CA", "country_name": "CA", "default": true } }delivery_promise_settings/update: Sample Payload
{ "shop_id": "gid://shopify/Shop/548380009", "processing_time": "P2D", "delivery_dates_enabled": true }discounts/create: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/DiscountAutomaticNode/1", "title": "Automatic free shipping", "status": "ACTIVE", "created_at": "2016-08-29T14:00:00-04:00", "updated_at": "2016-08-29T14:00:00-04:00" }discounts/delete: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/DiscountAutomaticNode/1", "deleted_at": "2018-08-29T14:00:00-04:00" }discounts/redeemcode_added: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/DiscountCodeNode/1", "redeem_code": { "id": "gid://shopify/DiscountRedeemCode/1", "code": "code1" }, "updated_at": "2018-08-29T18:00:00.000Z" }discounts/redeemcode_removed: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/DiscountCodeNode/1", "redeem_code": { "id": "gid://shopify/DiscountRedeemCode/1", "code": "code1" }, "updated_at": "2018-08-29T18:00:00.000Z" }discounts/update: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/DiscountAutomaticNode/1", "title": "Automatic free shipping updated", "status": "ACTIVE", "created_at": "2016-08-29T14:00:00-04:00", "updated_at": "2016-08-29T14:00:00-04:00" }disputes/create: Sample Payload
{ "id": 285332461850802063, "order_id": 820982911946154508, "type": "chargeback", "amount": "11.50", "currency": "CAD", "reason": "fraudulent", "network_reason_code": "4837", "status": "under_review", "evidence_due_by": "2021-12-30T19:00:00-05:00", "evidence_sent_on": null, "finalized_on": null, "initiated_at": "2021-12-31T19:00:00-05:00" }disputes/update: Sample Payload
{ "id": 285332461850802063, "order_id": 820982911946154508, "type": "chargeback", "amount": "11.50", "currency": "CAD", "reason": "fraudulent", "network_reason_code": "4837", "status": "under_review", "evidence_due_by": "2021-12-30T19:00:00-05:00", "evidence_sent_on": null, "finalized_on": null, "initiated_at": "2021-12-31T19:00:00-05:00" }domains/create: Sample Payload
{ "id": 690933842, "host": "jsmith.myshopify.com", "ssl_enabled": true, "localization": { "country": null, "default_locale": "en", "alternate_locales": [] } }domains/destroy: Sample Payload
{ "id": 690933842, "host": "jsmith.myshopify.com", "ssl_enabled": true, "localization": { "country": null, "default_locale": "en", "alternate_locales": [] } }domains/update: Sample Payload
{ "id": 690933842, "host": "jsmith.myshopify.com", "ssl_enabled": true, "localization": { "country": null, "default_locale": "en", "alternate_locales": [] } }draft_orders/create: Sample Payload
{ "id": 890612572568261625, "note": null, "email": "jon@doe.ca", "taxes_included": false, "currency": "USD", "invoice_sent_at": null, "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "tax_exempt": false, "completed_at": null, "name": "#D165", "allow_discount_codes_in_checkout?": false, "b2b?": false, "status": "open", "line_items": [ { "id": 2270644, "variant_id": 49148385, "product_id": 632910392, "title": "IPod Nano - 8GB", "variant_title": "Red", "sku": "IPOD2008RED", "vendor": "Apple", "quantity": 9, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 567, "tax_lines": [], "applied_discount": null, "name": "IPod Nano - 8GB - Red", "properties": [], "custom": false, "price": "199.00", "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/2270644" }, { "id": 68690, "variant_id": 457924702, "product_id": 632910392, "title": "IPod Nano - 8GB", "variant_title": "Black", "sku": "IPOD2008BLACK", "vendor": "Apple", "quantity": 2, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 567, "tax_lines": [], "applied_discount": null, "name": "IPod Nano - 8GB - Black", "properties": [], "custom": false, "price": "199.00", "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/68690" }, { "id": 4721719, "variant_id": 808950810, "product_id": 632910392, "title": "IPod Nano - 8GB", "variant_title": "Pink", "sku": "IPOD2008PINK", "vendor": "Apple", "quantity": 9, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 567, "tax_lines": [], "applied_discount": null, "name": "IPod Nano - 8GB - Pink", "properties": [], "custom": false, "price": "199.00", "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/4721719" } ], "api_client_id": null, "shipping_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40150", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "billing_address": { "first_name": "Bob", "address1": "123 Billing Street", "phone": "555-555-BILL", "city": "Billtown", "zip": "K2P0B0", "province": "Kentucky", "country": "United States", "last_name": "Biller", "address2": null, "company": "My Company", "latitude": null, "longitude": null, "name": "Bob Biller", "country_code": "US", "province_code": "KY" }, "invoice_url": "https://jsmith.myshopify.com/548380009/invoices/abcd1234abcd1234abcd1234abcd1234", "created_on_api_version_handle": null, "applied_discount": { "description": "ABC 123", "value": "3.0", "title": "ABC 123", "amount": "8.00", "value_type": "percentage" }, "order_id": null, "shipping_line": { "title": "ABC 123", "custom": true, "handle": null, "price": "9.00" }, "tax_lines": [ { "rate": 0.021670262153820695, "title": "State tax", "price": "1.00" }, { "rate": 0.021670262153820695, "title": "State tax", "price": "5.00" }, { "rate": 0.021670262153820695, "title": "State tax", "price": "1.00" } ], "tags": "", "note_attributes": [], "total_price": "412.00", "subtotal_price": "428.00", "total_tax": "483.00", "payment_terms": { "id": 706405506930370084, "payment_terms_name": "Net 7", "payment_terms_type": "net", "due_in_days": 7, "created_at": "2021-01-01T00:00:00-05:00", "updated_at": "2021-01-01T00:00:01-05:00", "payment_schedules": [ { "id": 606405506930370084, "created_at": "2021-01-01T00:00:00-05:00", "updated_at": "2021-01-01T00:00:01-05:00", "payment_terms_id": 706405506930370084, "reference_id": 890612572568261625, "reference_type": "DraftOrder", "issued_at": "2021-01-01T00:00:00-05:00", "due_at": "2021-01-02T00:00:00-05:00", "completed_at": "2021-01-02T00:00:00-05:00", "amount": "412.00", "currency": "USD", "total_price": "412.00", "total_price_currency": "USD", "balance_due": "412.00", "balance_due_currency": "USD", "total_balance": "412.00", "total_balance_currency": "USD", "outstanding_balance": "412.00", "outstanding_balance_currency": "USD" } ], "can_pay_early": true }, "admin_graphql_api_id": "gid://shopify/DraftOrder/890612572568261625", "customer": { "id": 706405506930370084, "created_at": null, "updated_at": null, "first_name": "John", "last_name": "Smith", "state": "disabled", "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "john@doe.ca", "phone": null, "currency": "USD", "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/706405506930370084", "default_address": { "id": null, "customer_id": 706405506930370084, "first_name": "John", "last_name": "Smith", "company": null, "address1": "123 Elm St.", "address2": null, "city": "Ottawa", "province": "Ontario", "country": "Canada", "zip": "K2H7A8", "phone": "123-123-1234", "name": "John Smith", "province_code": "ON", "country_code": "CA", "country_name": "Canada", "default": true } } }draft_orders/delete: Sample Payload
{ "id": 890612572568261625 }draft_orders/update: Sample Payload
{ "id": 890612572568261625, "note": null, "email": "jon@doe.ca", "taxes_included": false, "currency": "USD", "invoice_sent_at": null, "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "tax_exempt": false, "completed_at": null, "name": "#D174", "allow_discount_codes_in_checkout?": false, "b2b?": false, "status": "open", "line_items": [ { "id": 3942168, "variant_id": 49148385, "product_id": 632910392, "title": "IPod Nano - 8GB", "variant_title": "Red", "sku": "IPOD2008RED", "vendor": "Apple", "quantity": 7, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 567, "tax_lines": [], "applied_discount": null, "name": "IPod Nano - 8GB - Red", "properties": [], "custom": false, "price": "199.00", "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/3942168" }, { "id": 256096, "variant_id": 457924702, "product_id": 632910392, "title": "IPod Nano - 8GB", "variant_title": "Black", "sku": "IPOD2008BLACK", "vendor": "Apple", "quantity": 5, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 567, "tax_lines": [], "applied_discount": null, "name": "IPod Nano - 8GB - Black", "properties": [], "custom": false, "price": "199.00", "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/256096" }, { "id": 2718591, "variant_id": 808950810, "product_id": 632910392, "title": "IPod Nano - 8GB", "variant_title": "Pink", "sku": "IPOD2008PINK", "vendor": "Apple", "quantity": 9, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 567, "tax_lines": [], "applied_discount": null, "name": "IPod Nano - 8GB - Pink", "properties": [], "custom": false, "price": "199.00", "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/2718591" } ], "api_client_id": null, "shipping_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40150", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "billing_address": { "first_name": "Bob", "address1": "123 Billing Street", "phone": "555-555-BILL", "city": "Billtown", "zip": "K2P0B0", "province": "Kentucky", "country": "United States", "last_name": "Biller", "address2": null, "company": "My Company", "latitude": null, "longitude": null, "name": "Bob Biller", "country_code": "US", "province_code": "KY" }, "invoice_url": "https://jsmith.myshopify.com/548380009/invoices/abcd1234abcd1234abcd1234abcd1234", "created_on_api_version_handle": null, "applied_discount": { "description": "ABC 123", "value": "9.0", "title": "ABC 123", "amount": "5.00", "value_type": "percentage" }, "order_id": null, "shipping_line": { "title": "ABC 123", "custom": true, "handle": null, "price": "3.00" }, "tax_lines": [ { "rate": 0.04995178366320128, "title": "State tax", "price": "3.00" }, { "rate": 0.04995178366320128, "title": "State tax", "price": "5.00" }, { "rate": 0.04995178366320128, "title": "State tax", "price": "2.00" } ], "tags": "", "note_attributes": [], "total_price": "428.00", "subtotal_price": "415.00", "total_tax": "479.00", "payment_terms": { "id": 706405506930370084, "payment_terms_name": "Net 7", "payment_terms_type": "net", "due_in_days": 7, "created_at": "2021-01-01T00:00:00-05:00", "updated_at": "2021-01-01T00:00:01-05:00", "payment_schedules": [ { "id": 606405506930370084, "created_at": "2021-01-01T00:00:00-05:00", "updated_at": "2021-01-01T00:00:01-05:00", "payment_terms_id": 706405506930370084, "reference_id": 890612572568261625, "reference_type": "DraftOrder", "issued_at": "2021-01-01T00:00:00-05:00", "due_at": "2021-01-02T00:00:00-05:00", "completed_at": "2021-01-02T00:00:00-05:00", "amount": "428.00", "currency": "USD", "total_price": "428.00", "total_price_currency": "USD", "balance_due": "428.00", "balance_due_currency": "USD", "total_balance": "428.00", "total_balance_currency": "USD", "outstanding_balance": "428.00", "outstanding_balance_currency": "USD" } ], "can_pay_early": true }, "admin_graphql_api_id": "gid://shopify/DraftOrder/890612572568261625", "customer": { "id": 706405506930370084, "created_at": null, "updated_at": null, "first_name": "John", "last_name": "Smith", "state": "disabled", "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "john@doe.ca", "phone": null, "currency": "USD", "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/706405506930370084", "default_address": { "id": null, "customer_id": 706405506930370084, "first_name": "John", "last_name": "Smith", "company": null, "address1": "123 Elm St.", "address2": null, "city": "Ottawa", "province": "Ontario", "country": "Canada", "zip": "K2H7A8", "phone": "123-123-1234", "name": "John Smith", "province_code": "ON", "country_code": "CA", "country_name": "Canada", "default": true } } }fulfillment_events/create: Sample Payload
{ "id": 1234567, "fulfillment_id": 123456, "status": "in_transit", "message": "Item is now in transit", "happened_at": "2021-12-31T19:00:00-05:00", "city": null, "province": null, "country": "CA", "zip": null, "address1": null, "latitude": null, "longitude": null, "shop_id": 548380009, "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "estimated_delivery_at": null, "order_id": 820982911946154508, "admin_graphql_api_id": "gid://shopify/FulfillmentEvent/1234567" }fulfillment_events/delete: Sample Payload
{ "id": 1234567, "fulfillment_id": 123456, "status": "in_transit", "message": "Item is now in transit", "happened_at": "2021-12-31T19:00:00-05:00", "city": null, "province": null, "country": "CA", "zip": null, "address1": null, "latitude": null, "longitude": null, "shop_id": 548380009, "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "estimated_delivery_at": null, "order_id": 820982911946154508, "admin_graphql_api_id": "gid://shopify/FulfillmentEvent/1234567" }fulfillment_holds/added: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1" }, "fulfillment_hold": { "id": "gid://shopify/FulfillmentHold/1", "reason": "other", "reason_notes": "Waiting for some more details from the customer before this can be fulfilled.", "held_by_requesting_app": false, "handle": "test_handle", "held_by_app": { "id": "gid://shopify/App/12345" } } }fulfillment_holds/released: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1" }, "fulfillment_hold": { "id": "gid://shopify/FulfillmentHold/1", "reason": "other", "reason_notes": "Waiting for some more details from the customer before this can be fulfilled.", "held_by_requesting_app": false, "handle": "fulfillment_hold_1", "held_by_app": { "id": "gid://shopify/App/12345" } } }fulfillment_orders/cancellation_request_accepted: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "closed" }, "message": "Order has not been shipped yet." }fulfillment_orders/cancellation_request_rejected: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "in_progress", "request_status": "cancellation_rejected" }, "message": "Order has already been shipped." }fulfillment_orders/cancellation_request_submitted: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "in_progress", "request_status": "cancellation_request" }, "fulfillment_order_merchant_request": { "id": "gid://shopify/FulfillmentOrderMerchantRequest/1", "message": "Customer cancelled their order" } }fulfillment_orders/cancelled: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "cancelled" }, "replacement_fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/2", "status": "open" } }fulfillment_orders/fulfillment_request_accepted: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "in_progress", "request_status": "accepted" }, "message": "We will ship the item tomorrow." }fulfillment_orders/fulfillment_request_rejected: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "open", "request_status": "rejected" }, "message": "Can't fulfill due to no inventory on product." }fulfillment_orders/fulfillment_request_submitted: Sample Payload
{ "original_fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "open", "request_status": "unsubmitted" }, "submitted_fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "open", "request_status": "unsubmitted" }, "fulfillment_order_merchant_request": { "id": "gid://shopify/FulfillmentOrderMerchantRequest/1", "message": "Fragile" } }fulfillment_orders/fulfillment_service_failed_to_complete: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "closed" }, "message": "We broke the last item." }fulfillment_orders/hold_released: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "open" } }fulfillment_orders/line_items_prepared_for_local_delivery: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "open", "preparable": true, "delivery_method": { "method_type": "local" } } }fulfillment_orders/line_items_prepared_for_pickup: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "open", "preparable": true, "delivery_method": { "method_type": "pickup" } } }fulfillment_orders/manually_reported_progress_stopped: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "open" }, "progress_stopped_by_app": { "id": "gid://shopify/App/12345" }, "progress_stopped_by_user": { "id": "gid://shopify/StaffMember/12345" } }fulfillment_orders/merged: Sample Payload
{ "merge_intents": [ { "fulfillment_order_id": 1, "fulfillment_order_line_items": [ { "id": 1, "quantity": 1 } ] }, { "fulfillment_order_id": 2, "fulfillment_order_line_items": [ { "id": 2, "quantity": 1 } ] } ], "fulfillment_order_merges": { "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "open" } } }fulfillment_orders/moved: Sample Payload
{ "original_fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "closed", "assigned_location_id": "gid://shopify/Location/0" }, "moved_fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/2", "status": "open", "assigned_location_id": "gid://shopify/Location/1" }, "destination_location_id": "gid://shopify/Location/1", "fulfillment_order_line_items_requested": [ { "id": "gid://shopify/FulfillmentOrderLineItem/1", "quantity": 1 } ], "source_location": { "id": "gid://shopify/Location/0" } }fulfillment_orders/order_routing_complete: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "open" } }fulfillment_orders/placed_on_hold: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "on_hold", "fulfillment_holds": [ { "id": "gid://shopify/FulfillmentHold/1", "reason": "other", "reason_notes": "example", "held_by_requesting_app": false, "handle": "example-hold-1", "held_by_app": { "id": "gid://shopify/App/12345" } }, { "id": "gid://shopify/FulfillmentHold/2", "reason": "inventory_out_of_stock", "reason_notes": "Stacked hold", "held_by_requesting_app": false, "handle": "example-hold-2", "held_by_app": { "id": "gid://shopify/App/12345" } } ] }, "remaining_fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/2", "status": "open" }, "held_fulfillment_order_line_items": [ { "id": "gid://shopify/FulfillmentOrderLineItem/3", "quantity": 4 } ], "created_fulfillment_hold": { "id": "gid://shopify/FulfillmentHold/1", "reason": "other", "reason_notes": "example", "held_by_requesting_app": false, "handle": "example-hold-1", "held_by_app": { "id": "gid://shopify/App/12345" } } }fulfillment_orders/progress_reported: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "in_progress" }, "progress_report": { "reason_notes": "Items are being prepared for shipment", "progress_reported_by_app": { "id": "gid://shopify/App/12345" }, "progress_reported_by_user": { "id": "gid://shopify/StaffMember/12345" } }, "initial_status": "open" }fulfillment_orders/rescheduled: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "scheduled", "fulfill_at": "2021-12-31T19:00:00-05:00" } }fulfillment_orders/scheduled_fulfillment_order_ready: Sample Payload
{ "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "open" } }fulfillment_orders/split: Sample Payload
{ "split_line_items": [ { "id": "gid://shopify/FulfillmentOrderLineItem/1", "quantity": 1 } ], "fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/1", "status": "open" }, "remaining_fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/2", "status": "open" }, "replacement_fulfillment_order": { "id": "gid://shopify/FulfillmentOrder/3", "status": "open" } }fulfillments/create: Sample Payload
{ "id": 123456, "order_id": 820982911946154508, "status": "pending", "created_at": "2021-12-31T19:00:00-05:00", "service": null, "updated_at": "2021-12-31T19:00:00-05:00", "tracking_company": "UPS", "shipment_status": null, "location_id": null, "origin_address": null, "email": "jon@example.com", "destination": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "line_items": [ { "id": 487817672276298554, "variant_id": null, "title": "Aviator sunglasses", "quantity": 1, "sku": "SKU2006-001", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": 788032119674292922, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Aviator sunglasses", "variant_inventory_management": null, "properties": [], "product_exists": true, "fulfillable_quantity": 1, "grams": 100, "price": "89.99", "total_discount": "0.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "89.99", "currency_code": "USD" }, "presentment_money": { "amount": "89.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discount_allocations": [], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/487817672276298554", "tax_lines": [] }, { "id": 789012345678901234, "variant_id": null, "title": "Lens Protection Plan (2 Year)", "quantity": 1, "sku": "LENS-PROTECT-2YR", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": null, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Lens Protection Plan (2 Year)", "variant_inventory_management": null, "properties": [], "product_exists": false, "fulfillable_quantity": 1, "grams": 0, "price": "19.99", "total_discount": "0.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discount_allocations": [], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/789012345678901234", "tax_lines": [] }, { "id": 890123456789012345, "variant_id": null, "title": "Premium Leather Case", "quantity": 1, "sku": "CASE-LEATHER-PREM", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": null, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Premium Leather Case", "variant_inventory_management": null, "properties": [], "product_exists": false, "fulfillable_quantity": 1, "grams": 0, "price": "24.99", "total_discount": "0.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "24.99", "currency_code": "USD" }, "presentment_money": { "amount": "24.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discount_allocations": [], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/890123456789012345", "tax_lines": [] }, { "id": 976318377106520349, "variant_id": null, "title": "Mid-century lounger", "quantity": 1, "sku": "SKU2006-020", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": 788032119674292922, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Mid-century lounger", "variant_inventory_management": null, "properties": [], "product_exists": true, "fulfillable_quantity": 1, "grams": 1000, "price": "159.99", "total_discount": "5.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "159.99", "currency_code": "USD" }, "presentment_money": { "amount": "159.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "5.00", "currency_code": "USD" }, "presentment_money": { "amount": "5.00", "currency_code": "USD" } }, "discount_allocations": [ { "amount": "5.00", "discount_application_index": 0, "amount_set": { "shop_money": { "amount": "5.00", "currency_code": "USD" }, "presentment_money": { "amount": "5.00", "currency_code": "USD" } } }, { "amount": "5.00", "discount_application_index": 2, "amount_set": { "shop_money": { "amount": "5.00", "currency_code": "USD" }, "presentment_money": { "amount": "5.00", "currency_code": "USD" } } } ], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/976318377106520349", "tax_lines": [] }, { "id": 315789986012684393, "variant_id": null, "title": "Coffee table", "quantity": 1, "sku": "SKU2006-035", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": 788032119674292922, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Coffee table", "variant_inventory_management": null, "properties": [], "product_exists": true, "fulfillable_quantity": 1, "grams": 500, "price": "119.99", "total_discount": "0.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "119.99", "currency_code": "USD" }, "presentment_money": { "amount": "119.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discount_allocations": [], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/315789986012684393", "tax_lines": [] } ], "tracking_number": "1z827wk74630", "tracking_numbers": [ "1z827wk74630" ], "tracking_url": "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=1z827wk74630", "tracking_urls": [ "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=1z827wk74630" ], "receipt": {}, "name": "#9999.1", "admin_graphql_api_id": "gid://shopify/Fulfillment/123456" }fulfillments/update: Sample Payload
{ "id": 123456, "order_id": 820982911946154508, "status": "pending", "created_at": "2021-12-31T19:00:00-05:00", "service": null, "updated_at": "2021-12-31T19:00:00-05:00", "tracking_company": "UPS", "shipment_status": null, "location_id": null, "origin_address": null, "email": "jon@example.com", "destination": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "line_items": [ { "id": 487817672276298554, "variant_id": null, "title": "Aviator sunglasses", "quantity": 1, "sku": "SKU2006-001", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": 788032119674292922, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Aviator sunglasses", "variant_inventory_management": null, "properties": [], "product_exists": true, "fulfillable_quantity": 1, "grams": 100, "price": "89.99", "total_discount": "0.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "89.99", "currency_code": "USD" }, "presentment_money": { "amount": "89.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discount_allocations": [], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/487817672276298554", "tax_lines": [] }, { "id": 789012345678901234, "variant_id": null, "title": "Lens Protection Plan (2 Year)", "quantity": 1, "sku": "LENS-PROTECT-2YR", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": null, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Lens Protection Plan (2 Year)", "variant_inventory_management": null, "properties": [], "product_exists": false, "fulfillable_quantity": 1, "grams": 0, "price": "19.99", "total_discount": "0.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discount_allocations": [], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/789012345678901234", "tax_lines": [] }, { "id": 890123456789012345, "variant_id": null, "title": "Premium Leather Case", "quantity": 1, "sku": "CASE-LEATHER-PREM", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": null, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Premium Leather Case", "variant_inventory_management": null, "properties": [], "product_exists": false, "fulfillable_quantity": 1, "grams": 0, "price": "24.99", "total_discount": "0.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "24.99", "currency_code": "USD" }, "presentment_money": { "amount": "24.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discount_allocations": [], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/890123456789012345", "tax_lines": [] }, { "id": 976318377106520349, "variant_id": null, "title": "Mid-century lounger", "quantity": 1, "sku": "SKU2006-020", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": 788032119674292922, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Mid-century lounger", "variant_inventory_management": null, "properties": [], "product_exists": true, "fulfillable_quantity": 1, "grams": 1000, "price": "159.99", "total_discount": "5.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "159.99", "currency_code": "USD" }, "presentment_money": { "amount": "159.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "5.00", "currency_code": "USD" }, "presentment_money": { "amount": "5.00", "currency_code": "USD" } }, "discount_allocations": [ { "amount": "5.00", "discount_application_index": 0, "amount_set": { "shop_money": { "amount": "5.00", "currency_code": "USD" }, "presentment_money": { "amount": "5.00", "currency_code": "USD" } } }, { "amount": "5.00", "discount_application_index": 2, "amount_set": { "shop_money": { "amount": "5.00", "currency_code": "USD" }, "presentment_money": { "amount": "5.00", "currency_code": "USD" } } } ], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/976318377106520349", "tax_lines": [] }, { "id": 315789986012684393, "variant_id": null, "title": "Coffee table", "quantity": 1, "sku": "SKU2006-035", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": 788032119674292922, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Coffee table", "variant_inventory_management": null, "properties": [], "product_exists": true, "fulfillable_quantity": 1, "grams": 500, "price": "119.99", "total_discount": "0.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "119.99", "currency_code": "USD" }, "presentment_money": { "amount": "119.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discount_allocations": [], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/315789986012684393", "tax_lines": [] } ], "tracking_number": "1z827wk74630", "tracking_numbers": [ "1z827wk74630" ], "tracking_url": "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=1z827wk74630", "tracking_urls": [ "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=1z827wk74630" ], "receipt": {}, "name": "#9999.1", "admin_graphql_api_id": "gid://shopify/Fulfillment/123456" }inventory_items/create: Sample Payload
{ "id": 271878346596884015, "sku": "example-sku", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "requires_shipping": true, "cost": null, "country_code_of_origin": null, "province_code_of_origin": null, "harmonized_system_code": null, "tracked": true, "country_harmonized_system_codes": [], "weight_value": 0.0, "weight_unit": "lb", "admin_graphql_api_id": "gid://shopify/InventoryItem/271878346596884015" }inventory_items/delete: Sample Payload
{ "id": 271878346596884015, "country_code_of_origin": null, "province_code_of_origin": null, "harmonized_system_code": null, "country_harmonized_system_codes": [], "admin_graphql_api_id": "gid://shopify/InventoryItem/271878346596884015" }inventory_items/update: Sample Payload
{ "id": 271878346596884015, "sku": "example-sku", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "requires_shipping": true, "cost": null, "country_code_of_origin": null, "province_code_of_origin": null, "harmonized_system_code": null, "tracked": true, "country_harmonized_system_codes": [], "weight_value": 0.0, "weight_unit": "lb", "admin_graphql_api_id": "gid://shopify/InventoryItem/271878346596884015" }inventory_levels/connect: Sample Payload
nullinventory_levels/disconnect: Sample Payload
{ "inventory_item_id": 271878346596884015, "location_id": 24826418 }inventory_levels/update: Sample Payload
nullinventory_shipments/add_items: Sample Payload
{ "id": "gid://shopify/InventoryShipment/3921201", "items_added": [ { "id": "gid://shopify/InventoryShipmentLineItem/82243", "quantity": 10 }, { "id": "gid://shopify/InventoryShipmentLineItem/57116", "quantity": 7 } ], "happened_at": "2023-09-01T08:19:56-04:00" }inventory_shipments/create: Sample Payload
{ "id": "gid://shopify/InventoryShipment/3921201", "status": "DRAFT", "happened_at": "2023-09-01T08:19:56-04:00", "tracking": { "arrives_at": "2023-10-02T03:24:44-04:00", "tracking_number": "8375692728", "tracking_url": "https://exampletracking.shopify.com/track/8375692728", "company": "Purolator" }, "line_items": [ { "id": "gid://shopify/InventoryShipmentLineItem/82243", "quantity": 10 }, { "id": "gid://shopify/InventoryShipmentLineItem/57116", "quantity": 7 } ] }inventory_shipments/delete: Sample Payload
{ "id": "gid://shopify/InventoryShipment/3921201", "happened_at": "2023-09-01T08:19:56-04:00" }inventory_shipments/mark_in_transit: Sample Payload
{ "id": "gid://shopify/InventoryShipment/3921201", "status": "IN_TRANSIT", "happened_at": "2023-09-01T08:19:56-04:00" }inventory_shipments/receive_items: Sample Payload
{ "id": "gid://shopify/InventoryShipment/3921201", "status": "PARTIALLY_RECEIVED", "items_received": [ { "id": "gid://shopify/InventoryShipmentLineItem/82243", "old_accepted_quantity": 5, "old_rejected_quantity": 2, "new_accepted_quantity": 11, "new_rejected_quantity": 3, "remaining_quantity_to_receive": 6 }, { "id": "gid://shopify/InventoryShipmentLineItem/57116", "old_accepted_quantity": 21, "old_rejected_quantity": 9, "new_accepted_quantity": 37, "new_rejected_quantity": 14, "remaining_quantity_to_receive": 16 } ], "happened_at": "2023-09-01T08:19:56-04:00" }inventory_shipments/remove_items: Sample Payload
{ "id": "gid://shopify/InventoryShipment/3921201", "items_removed": [ { "id": "gid://shopify/InventoryShipmentLineItem/82243" }, { "id": "gid://shopify/InventoryShipmentLineItem/57116" } ], "happened_at": "2023-09-01T08:19:56-04:00" }inventory_shipments/update_item_quantities: Sample Payload
{ "id": "gid://shopify/InventoryShipment/3921201", "items_updated": [ { "id": "gid://shopify/InventoryShipmentLineItem/82243", "old_quantity": 10, "new_quantity": 23 }, { "id": "gid://shopify/InventoryShipmentLineItem/57116", "old_quantity": 7, "new_quantity": 42 } ], "happened_at": "2023-09-01T08:19:56-04:00" }inventory_shipments/update_tracking: Sample Payload
{ "shipment_id": "gid://shopify/InventoryShipment/3921201", "updated_tracking": { "tracking_number": "8375692728", "tracking_url": "https://exampletracking.shopify.com/track/8375692728", "company": "Purolator", "arrives_at": "2023-10-02T03:24:44-04:00" }, "happened_at": "2023-09-01T08:19:56-04:00" }inventory_transfers/add_items: Sample Payload
{ "id": "gid://shopify/InventoryTransfer/2921201", "items_added": [ { "line_item_id": "gid://shopify/InventoryTransferLineItem/72243", "quantity": 14 }, { "line_item_id": "gid://shopify/InventoryTransferLineItem/81958", "quantity": 22 } ], "happened_at": "2023-09-01T08:19:56-04:00" }inventory_transfers/cancel: Sample Payload
{ "id": "gid://shopify/InventoryTransfer/2921201", "status": "CANCELED", "happened_at": "2023-09-01T08:19:56-04:00" }inventory_transfers/complete: Sample Payload
{ "id": "gid://shopify/InventoryTransfer/2921201", "status": "TRANSFERRED", "happened_at": "2023-09-01T08:19:56-04:00" }inventory_transfers/ready_to_ship: Sample Payload
{ "id": "gid://shopify/InventoryTransfer/2921201", "status": "READY_TO_SHIP", "happened_at": "2023-09-01T08:19:56-04:00", "line_items": [ { "id": "gid://shopify/InventoryTransferLineItem/72243", "quantity": 10 }, { "id": "gid://shopify/InventoryTransferLineItem/81958", "quantity": 8 } ] }inventory_transfers/remove_items: Sample Payload
{ "id": "gid://shopify/InventoryTransfer/2921201", "items_removed": [ { "line_item_id": "gid://shopify/InventoryTransferLineItem/72243" }, { "line_item_id": "gid://shopify/InventoryTransferLineItem/81958" } ], "happened_at": "2023-09-01T08:19:56-04:00" }inventory_transfers/update_item_quantities: Sample Payload
{ "id": "gid://shopify/InventoryTransfer/2921201", "status": "IN_PROGRESS", "items_updated": [ { "line_item_id": "gid://shopify/InventoryTransferLineItem/72243", "old_quantity": 10, "new_quantity": 23 }, { "line_item_id": "gid://shopify/InventoryTransferLineItem/81958", "old_quantity": 8, "new_quantity": 15 } ], "happened_at": "2023-09-01T08:19:56-04:00" }locales/create: Sample Payload
{ "locale": "fr-CA", "published": true }locales/destroy: Sample Payload
{ "locale": "fr-CA", "published": true }locales/update: Sample Payload
{ "locale": "fr-CA", "published": true }locations/activate: Sample Payload
{ "id": 866550311766439020, "name": "Example Shop", "address1": "34 Example Street", "address2": "Next to example", "city": "ottawa", "zip": "k1n5t5", "province": "ontario", "country": "CA", "phone": "555-555-5555", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "country_code": "CA", "country_name": "Canada", "province_code": "ON", "legacy": false, "active": true, "admin_graphql_api_id": "gid://shopify/Location/866550311766439020" }locations/create: Sample Payload
{ "id": 866550311766439020, "name": "Example Shop", "address1": "34 Example Street", "address2": "Next to example", "city": "ottawa", "zip": "k1n5t5", "province": "ontario", "country": "CA", "phone": "555-555-5555", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "country_code": "CA", "country_name": "Canada", "province_code": "ON", "legacy": false, "active": true, "admin_graphql_api_id": "gid://shopify/Location/866550311766439020" }locations/deactivate: Sample Payload
{ "id": 866550311766439020, "name": "Example Shop", "address1": "34 Example Street", "address2": "Next to example", "city": "ottawa", "zip": "k1n5t5", "province": "ontario", "country": "CA", "phone": "555-555-5555", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "country_code": "CA", "country_name": "Canada", "province_code": "ON", "legacy": false, "active": true, "admin_graphql_api_id": "gid://shopify/Location/866550311766439020" }locations/delete: Sample Payload
{ "id": 866550311766439020 }locations/update: Sample Payload
{ "id": 866550311766439020, "name": "Example Shop", "address1": "34 Example Street", "address2": "Next to example", "city": "ottawa", "zip": "k1n5t5", "province": "ontario", "country": "CA", "phone": "555-555-5555", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "country_code": "CA", "country_name": "Canada", "province_code": "ON", "legacy": false, "active": true, "admin_graphql_api_id": "gid://shopify/Location/866550311766439020" }markets_backup_region/update: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/MarketRegion/238945671234567891", "code": "US" }markets/create: Sample Payload
{ "id": 188558248, "name": "United States", "type": "region", "status": "active" }markets/delete: Sample Payload
{ "id": 188558248 }markets/update: Sample Payload
{ "id": 188558248, "name": "United States", "type": "region", "status": "active" }metafield_definitions/create: Sample Payload
{ "id": null, "shop_id": 548380009, "namespace": "example-type", "key": "example-key", "name": "Example Field", "description": null, "owner_type": "Customer", "deleting": false, "type_name": "single_line_text_field", "options": [], "api_client_id": null, "created_at": null, "updated_at": null, "validation_status": "all_valid", "pinned_position": 0, "standard_template_id": null, "merchant_writeable": null, "storefront_readable": null, "customer_access": null, "namespace_owner_api_client_id": null, "unique_values": false, "smart_collection_condition": false, "option_linkable": false, "admin_filterable": false, "admin_filterable_status": null, "app_config_managed": false, "access_only": false, "admin_filter_status": "not_filterable", "use_as_collection_condition": false }metafield_definitions/delete: Sample Payload
{ "id": "gid://shopify/MetafieldDefinition/1", "type": "ShopifyMetafields::Types::SingleLineTextFieldType", "created_by_app_id": null }metafield_definitions/update: Sample Payload
{ "id": null, "shop_id": 548380009, "namespace": "example-type", "key": "example-key", "name": "Example Field", "description": null, "owner_type": "Customer", "deleting": false, "type_name": "single_line_text_field", "options": [], "api_client_id": null, "created_at": null, "updated_at": null, "validation_status": "all_valid", "pinned_position": 0, "standard_template_id": null, "merchant_writeable": null, "storefront_readable": null, "customer_access": null, "namespace_owner_api_client_id": null, "unique_values": false, "smart_collection_condition": false, "option_linkable": false, "admin_filterable": false, "admin_filterable_status": null, "app_config_managed": false, "access_only": false, "admin_filter_status": "not_filterable", "use_as_collection_condition": false }metaobjects/create: Sample Payload
{ "type": "example-type", "handle": "example-metaobject", "created_at": "1975-10-31T00:55:12-05:00", "updated_at": "1985-07-13T01:55:12-04:00", "display_name": "Example Metaobject", "id": "gid://shopify/Metaobject/123", "definition_id": "gid://shopify/MetaobjectDefinition/222", "fields": { "example-key": "example-value" }, "created_by_staff_id": "gid://shopify/StaffMember/444", "created_by_app_id": "gid://shopify/ApiClient/333", "capabilities": { "publishable": { "status": "draft" } } }metaobjects/delete: Sample Payload
{ "id": "gid://shopify/Metaobject/123", "type": "example-type", "handle": "example-metaobject", "created_by_app_id": "gid://shopify/ApiClient/333" }metaobjects/update: Sample Payload
{ "type": "example-type", "handle": "example-metaobject", "created_at": "1975-10-31T00:55:12-05:00", "updated_at": "1985-07-13T01:55:12-04:00", "display_name": "Example Metaobject", "id": "gid://shopify/Metaobject/123", "definition_id": "gid://shopify/MetaobjectDefinition/222", "fields": { "example-key": "example-value" }, "created_by_staff_id": "gid://shopify/StaffMember/444", "created_by_app_id": "gid://shopify/ApiClient/333", "capabilities": { "publishable": { "status": "draft" } } }order_transactions/create: Sample Payload
{ "id": 120560818172775265, "order_id": 820982911946154508, "kind": "authorization", "gateway": "visa", "status": "success", "message": null, "created_at": "2021-12-31T19:00:00-05:00", "test": false, "authorization": "1001", "location_id": null, "user_id": null, "parent_id": null, "processed_at": null, "device_id": null, "error_code": null, "source_name": "web", "payment_details": { "credit_card_bin": null, "avs_result_code": null, "cvv_result_code": null, "credit_card_number": "•••• •••• •••• 1234", "credit_card_company": "Visa", "buyer_action_info": null, "credit_card_name": null, "credit_card_wallet": null, "credit_card_expiration_month": null, "credit_card_expiration_year": null, "payment_method_name": "visa" }, "receipt": {}, "amount": "419.95", "currency": "USD", "payment_id": "#9999.1", "total_unsettled_set": { "presentment_money": { "amount": "419.95", "currency": "USD" }, "shop_money": { "amount": "419.95", "currency": "USD" } }, "manual_payment_gateway": true, "amount_rounding": null, "admin_graphql_api_id": "gid://shopify/OrderTransaction/120560818172775265" }orders/cancelled: Sample Payload
{ "id": 820982911946154508, "admin_graphql_api_id": "gid://shopify/Order/820982911946154508", "app_id": null, "browser_ip": null, "buyer_accepts_marketing": true, "cancel_reason": "customer", "cancelled_at": "2021-12-31T19:00:00-05:00", "cart_token": null, "checkout_token": null, "client_details": null, "closed_at": null, "confirmation_number": null, "confirmed": false, "contact_email": "jon@example.com", "created_at": "2021-12-31T19:00:00-05:00", "currency": "USD", "current_shipping_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "current_subtotal_price": "414.95", "current_subtotal_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "current_total_additional_fees_set": null, "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": "414.95", "current_total_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "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": "en", "device_id": null, "discount_codes": [], "duties_included": false, "email": "jon@example.com", "estimated_taxes": false, "financial_status": "voided", "fulfillment_status": null, "landing_site": null, "landing_site_ref": null, "location_id": null, "merchant_business_entity_id": "MTU0ODM4MDAwOQ", "merchant_of_record_app_id": null, "name": "#9999", "note": null, "note_attributes": [], "number": 234, "order_number": 1234, "order_status_url": "https://jsmith.myshopify.com/548380009/orders/123456abcd/authenticate?key=abcdefg", "original_total_additional_fees_set": null, "original_total_duties_set": null, "payment_gateway_names": [ "visa", "bogus" ], "phone": null, "po_number": null, "presentment_currency": "USD", "processed_at": "2021-12-31T19:00:00-05:00", "reference": null, "referring_site": null, "source_identifier": null, "source_name": "web", "source_url": null, "subtotal_price": "404.95", "subtotal_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "tags": "tag1, tag2", "tax_exempt": false, "tax_lines": [], "taxes_included": false, "test": true, "token": "123456abcd", "total_cash_rounding_payment_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_cash_rounding_refund_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_discounts": "20.00", "total_discounts_set": { "shop_money": { "amount": "20.00", "currency_code": "USD" }, "presentment_money": { "amount": "20.00", "currency_code": "USD" } }, "total_line_items_price": "414.95", "total_line_items_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "total_outstanding": "414.95", "total_price": "404.95", "total_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "total_shipping_price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "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-12-31T19:00:00-05:00", "user_id": null, "billing_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "customer": { "id": 115310627314723954, "created_at": null, "updated_at": null, "first_name": "John", "last_name": "Smith", "state": "disabled", "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "john@example.com", "phone": null, "currency": "USD", "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/115310627314723954", "default_address": { "id": 715243470612851245, "customer_id": 115310627314723954, "first_name": "John", "last_name": "Smith", "company": null, "address1": "123 Elm St.", "address2": null, "city": "Ottawa", "province": "Ontario", "country": "Canada", "zip": "K2H7A8", "phone": "123-123-1234", "name": "John Smith", "province_code": "ON", "country_code": "CA", "country_name": "Canada", "default": true } }, "discount_applications": [], "fulfillments": [], "line_items": [ { "id": 487817672276298554, "admin_graphql_api_id": "gid://shopify/LineItem/487817672276298554", "attributed_staffs": [ { "id": "gid://shopify/StaffMember/902541635", "quantity": 1 } ], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 100, "name": "Aviator sunglasses", "price": "89.99", "price_set": { "shop_money": { "amount": "89.99", "currency_code": "USD" }, "presentment_money": { "amount": "89.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": null, "sku": "SKU2006-001", "taxable": true, "title": "Aviator sunglasses", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 789012345678901234, "admin_graphql_api_id": "gid://shopify/LineItem/789012345678901234", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Lens Protection Plan (2 Year)", "price": "19.99", "price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "LENS-PROTECT-2YR", "taxable": true, "title": "Lens Protection Plan (2 Year)", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 890123456789012345, "admin_graphql_api_id": "gid://shopify/LineItem/890123456789012345", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Premium Leather Case", "price": "24.99", "price_set": { "shop_money": { "amount": "24.99", "currency_code": "USD" }, "presentment_money": { "amount": "24.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "CASE-LEATHER-PREM", "taxable": true, "title": "Premium Leather Case", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 976318377106520349, "admin_graphql_api_id": "gid://shopify/LineItem/976318377106520349", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 1000, "name": "Mid-century lounger", "price": "159.99", "price_set": { "shop_money": { "amount": "159.99", "currency_code": "USD" }, "presentment_money": { "amount": "159.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-020", "taxable": true, "title": "Mid-century lounger", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 315789986012684393, "admin_graphql_api_id": "gid://shopify/LineItem/315789986012684393", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 500, "name": "Coffee table", "price": "119.99", "price_set": { "shop_money": { "amount": "119.99", "currency_code": "USD" }, "presentment_money": { "amount": "119.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-035", "taxable": true, "title": "Coffee table", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] } ], "payment_terms": null, "refunds": [], "shipping_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "shipping_lines": [ { "id": 271878346596884015, "carrier_identifier": null, "code": null, "current_discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discounted_price": "0.00", "discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "is_removed": false, "phone": null, "price": "10.00", "price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "currency_code": "USD" } }, "requested_fulfillment_service_id": null, "source": "shopify", "title": "Generic Shipping", "tax_lines": [], "discount_allocations": [] } ], "returns": [], "line_item_groups": [] }orders/create: Sample Payload
{ "id": 820982911946154508, "admin_graphql_api_id": "gid://shopify/Order/820982911946154508", "app_id": null, "browser_ip": null, "buyer_accepts_marketing": true, "cancel_reason": "customer", "cancelled_at": "2021-12-31T19:00:00-05:00", "cart_token": null, "checkout_token": null, "client_details": null, "closed_at": null, "confirmation_number": null, "confirmed": false, "contact_email": "jon@example.com", "created_at": "2021-12-31T19:00:00-05:00", "currency": "USD", "current_shipping_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "current_subtotal_price": "414.95", "current_subtotal_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "current_total_additional_fees_set": null, "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": "414.95", "current_total_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "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": "en", "device_id": null, "discount_codes": [], "duties_included": false, "email": "jon@example.com", "estimated_taxes": false, "financial_status": "voided", "fulfillment_status": null, "landing_site": null, "landing_site_ref": null, "location_id": null, "merchant_business_entity_id": "MTU0ODM4MDAwOQ", "merchant_of_record_app_id": null, "name": "#9999", "note": null, "note_attributes": [], "number": 234, "order_number": 1234, "order_status_url": "https://jsmith.myshopify.com/548380009/orders/123456abcd/authenticate?key=abcdefg", "original_total_additional_fees_set": null, "original_total_duties_set": null, "payment_gateway_names": [ "visa", "bogus" ], "phone": null, "po_number": null, "presentment_currency": "USD", "processed_at": "2021-12-31T19:00:00-05:00", "reference": null, "referring_site": null, "source_identifier": null, "source_name": "web", "source_url": null, "subtotal_price": "404.95", "subtotal_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "tags": "tag1, tag2", "tax_exempt": false, "tax_lines": [], "taxes_included": false, "test": true, "token": "123456abcd", "total_cash_rounding_payment_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_cash_rounding_refund_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_discounts": "20.00", "total_discounts_set": { "shop_money": { "amount": "20.00", "currency_code": "USD" }, "presentment_money": { "amount": "20.00", "currency_code": "USD" } }, "total_line_items_price": "414.95", "total_line_items_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "total_outstanding": "414.95", "total_price": "404.95", "total_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "total_shipping_price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "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-12-31T19:00:00-05:00", "user_id": null, "billing_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "customer": { "id": 115310627314723954, "created_at": null, "updated_at": null, "first_name": "John", "last_name": "Smith", "state": "disabled", "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "john@example.com", "phone": null, "currency": "USD", "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/115310627314723954", "default_address": { "id": 715243470612851245, "customer_id": 115310627314723954, "first_name": "John", "last_name": "Smith", "company": null, "address1": "123 Elm St.", "address2": null, "city": "Ottawa", "province": "Ontario", "country": "Canada", "zip": "K2H7A8", "phone": "123-123-1234", "name": "John Smith", "province_code": "ON", "country_code": "CA", "country_name": "Canada", "default": true } }, "discount_applications": [], "fulfillments": [], "line_items": [ { "id": 487817672276298554, "admin_graphql_api_id": "gid://shopify/LineItem/487817672276298554", "attributed_staffs": [ { "id": "gid://shopify/StaffMember/902541635", "quantity": 1 } ], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 100, "name": "Aviator sunglasses", "price": "89.99", "price_set": { "shop_money": { "amount": "89.99", "currency_code": "USD" }, "presentment_money": { "amount": "89.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": null, "sku": "SKU2006-001", "taxable": true, "title": "Aviator sunglasses", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 789012345678901234, "admin_graphql_api_id": "gid://shopify/LineItem/789012345678901234", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Lens Protection Plan (2 Year)", "price": "19.99", "price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "LENS-PROTECT-2YR", "taxable": true, "title": "Lens Protection Plan (2 Year)", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 890123456789012345, "admin_graphql_api_id": "gid://shopify/LineItem/890123456789012345", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Premium Leather Case", "price": "24.99", "price_set": { "shop_money": { "amount": "24.99", "currency_code": "USD" }, "presentment_money": { "amount": "24.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "CASE-LEATHER-PREM", "taxable": true, "title": "Premium Leather Case", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 976318377106520349, "admin_graphql_api_id": "gid://shopify/LineItem/976318377106520349", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 1000, "name": "Mid-century lounger", "price": "159.99", "price_set": { "shop_money": { "amount": "159.99", "currency_code": "USD" }, "presentment_money": { "amount": "159.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-020", "taxable": true, "title": "Mid-century lounger", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 315789986012684393, "admin_graphql_api_id": "gid://shopify/LineItem/315789986012684393", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 500, "name": "Coffee table", "price": "119.99", "price_set": { "shop_money": { "amount": "119.99", "currency_code": "USD" }, "presentment_money": { "amount": "119.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-035", "taxable": true, "title": "Coffee table", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] } ], "payment_terms": null, "refunds": [], "shipping_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "shipping_lines": [ { "id": 271878346596884015, "carrier_identifier": null, "code": null, "current_discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discounted_price": "0.00", "discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "is_removed": false, "phone": null, "price": "10.00", "price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "currency_code": "USD" } }, "requested_fulfillment_service_id": null, "source": "shopify", "title": "Generic Shipping", "tax_lines": [], "discount_allocations": [] } ], "returns": [], "line_item_groups": [] }orders/delete: Sample Payload
{ "id": 820982911946154508 }orders/edited: Sample Payload
{ "order_edit": { "id": 78912328793123782, "app_id": null, "created_at": "2021-12-31T19:00:00-05:00", "committed_at": "2021-12-31T19:00:00-05:00", "notify_customer": false, "order_id": 820982911946154508, "staff_note": "", "user_id": null, "line_items": { "additions": [ { "id": 78643924236718232, "delta": 1 } ], "removals": [ { "id": 487817672276298554, "delta": 1 } ] }, "discounts": { "line_item": { "additions": [], "removals": [] } }, "shipping_lines": { "additions": [], "removals": [] } } }orders/fulfilled: Sample Payload
{ "id": 820982911946154508, "admin_graphql_api_id": "gid://shopify/Order/820982911946154508", "app_id": null, "browser_ip": null, "buyer_accepts_marketing": true, "cancel_reason": "customer", "cancelled_at": "2021-12-31T19:00:00-05:00", "cart_token": null, "checkout_token": null, "client_details": null, "closed_at": null, "confirmation_number": null, "confirmed": false, "contact_email": "jon@example.com", "created_at": "2021-12-31T19:00:00-05:00", "currency": "USD", "current_shipping_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "current_subtotal_price": "414.95", "current_subtotal_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "current_total_additional_fees_set": null, "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": "414.95", "current_total_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "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": "en", "device_id": null, "discount_codes": [], "duties_included": false, "email": "jon@example.com", "estimated_taxes": false, "financial_status": "voided", "fulfillment_status": null, "landing_site": null, "landing_site_ref": null, "location_id": null, "merchant_business_entity_id": "MTU0ODM4MDAwOQ", "merchant_of_record_app_id": null, "name": "#9999", "note": null, "note_attributes": [], "number": 234, "order_number": 1234, "order_status_url": "https://jsmith.myshopify.com/548380009/orders/123456abcd/authenticate?key=abcdefg", "original_total_additional_fees_set": null, "original_total_duties_set": null, "payment_gateway_names": [ "visa", "bogus" ], "phone": null, "po_number": null, "presentment_currency": "USD", "processed_at": "2021-12-31T19:00:00-05:00", "reference": null, "referring_site": null, "source_identifier": null, "source_name": "web", "source_url": null, "subtotal_price": "404.95", "subtotal_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "tags": "tag1, tag2", "tax_exempt": false, "tax_lines": [], "taxes_included": false, "test": true, "token": "123456abcd", "total_cash_rounding_payment_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_cash_rounding_refund_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_discounts": "20.00", "total_discounts_set": { "shop_money": { "amount": "20.00", "currency_code": "USD" }, "presentment_money": { "amount": "20.00", "currency_code": "USD" } }, "total_line_items_price": "414.95", "total_line_items_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "total_outstanding": "414.95", "total_price": "404.95", "total_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "total_shipping_price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "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-12-31T19:00:00-05:00", "user_id": null, "billing_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "customer": { "id": 115310627314723954, "created_at": null, "updated_at": null, "first_name": "John", "last_name": "Smith", "state": "disabled", "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "john@example.com", "phone": null, "currency": "USD", "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/115310627314723954", "default_address": { "id": 715243470612851245, "customer_id": 115310627314723954, "first_name": "John", "last_name": "Smith", "company": null, "address1": "123 Elm St.", "address2": null, "city": "Ottawa", "province": "Ontario", "country": "Canada", "zip": "K2H7A8", "phone": "123-123-1234", "name": "John Smith", "province_code": "ON", "country_code": "CA", "country_name": "Canada", "default": true } }, "discount_applications": [], "fulfillments": [], "line_items": [ { "id": 487817672276298554, "admin_graphql_api_id": "gid://shopify/LineItem/487817672276298554", "attributed_staffs": [ { "id": "gid://shopify/StaffMember/902541635", "quantity": 1 } ], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 100, "name": "Aviator sunglasses", "price": "89.99", "price_set": { "shop_money": { "amount": "89.99", "currency_code": "USD" }, "presentment_money": { "amount": "89.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": null, "sku": "SKU2006-001", "taxable": true, "title": "Aviator sunglasses", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 789012345678901234, "admin_graphql_api_id": "gid://shopify/LineItem/789012345678901234", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Lens Protection Plan (2 Year)", "price": "19.99", "price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "LENS-PROTECT-2YR", "taxable": true, "title": "Lens Protection Plan (2 Year)", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 890123456789012345, "admin_graphql_api_id": "gid://shopify/LineItem/890123456789012345", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Premium Leather Case", "price": "24.99", "price_set": { "shop_money": { "amount": "24.99", "currency_code": "USD" }, "presentment_money": { "amount": "24.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "CASE-LEATHER-PREM", "taxable": true, "title": "Premium Leather Case", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 976318377106520349, "admin_graphql_api_id": "gid://shopify/LineItem/976318377106520349", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 1000, "name": "Mid-century lounger", "price": "159.99", "price_set": { "shop_money": { "amount": "159.99", "currency_code": "USD" }, "presentment_money": { "amount": "159.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-020", "taxable": true, "title": "Mid-century lounger", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 315789986012684393, "admin_graphql_api_id": "gid://shopify/LineItem/315789986012684393", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 500, "name": "Coffee table", "price": "119.99", "price_set": { "shop_money": { "amount": "119.99", "currency_code": "USD" }, "presentment_money": { "amount": "119.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-035", "taxable": true, "title": "Coffee table", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] } ], "payment_terms": null, "refunds": [], "shipping_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "shipping_lines": [ { "id": 271878346596884015, "carrier_identifier": null, "code": null, "current_discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discounted_price": "0.00", "discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "is_removed": false, "phone": null, "price": "10.00", "price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "currency_code": "USD" } }, "requested_fulfillment_service_id": null, "source": "shopify", "title": "Generic Shipping", "tax_lines": [], "discount_allocations": [] } ], "returns": [], "line_item_groups": [] }orders/link_requested: Sample Payload
{ "id": 820982911946154508, "admin_graphql_api_id": "gid://shopify/Order/820982911946154508", "app_id": null, "browser_ip": null, "buyer_accepts_marketing": true, "cancel_reason": "customer", "cancelled_at": "2021-12-31T19:00:00-05:00", "cart_token": null, "checkout_token": null, "client_details": null, "closed_at": null, "confirmation_number": null, "confirmed": false, "contact_email": "jon@example.com", "created_at": "2021-12-31T19:00:00-05:00", "currency": "USD", "current_shipping_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "current_subtotal_price": "414.95", "current_subtotal_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "current_total_additional_fees_set": null, "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": "414.95", "current_total_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "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": "en", "device_id": null, "discount_codes": [], "duties_included": false, "email": "jon@example.com", "estimated_taxes": false, "financial_status": "voided", "fulfillment_status": null, "landing_site": null, "landing_site_ref": null, "location_id": null, "merchant_business_entity_id": "MTU0ODM4MDAwOQ", "merchant_of_record_app_id": null, "name": "#9999", "note": null, "note_attributes": [], "number": 234, "order_number": 1234, "order_status_url": "https://jsmith.myshopify.com/548380009/orders/123456abcd/authenticate?key=abcdefg", "original_total_additional_fees_set": null, "original_total_duties_set": null, "payment_gateway_names": [ "visa", "bogus" ], "phone": null, "po_number": null, "presentment_currency": "USD", "processed_at": "2021-12-31T19:00:00-05:00", "reference": null, "referring_site": null, "source_identifier": null, "source_name": "web", "source_url": null, "subtotal_price": "404.95", "subtotal_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "tags": "tag1, tag2", "tax_exempt": false, "tax_lines": [], "taxes_included": false, "test": true, "token": "123456abcd", "total_cash_rounding_payment_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_cash_rounding_refund_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_discounts": "20.00", "total_discounts_set": { "shop_money": { "amount": "20.00", "currency_code": "USD" }, "presentment_money": { "amount": "20.00", "currency_code": "USD" } }, "total_line_items_price": "414.95", "total_line_items_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "total_outstanding": "414.95", "total_price": "404.95", "total_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "total_shipping_price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "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-12-31T19:00:00-05:00", "user_id": null, "billing_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "customer": { "id": 115310627314723954, "created_at": null, "updated_at": null, "first_name": "John", "last_name": "Smith", "state": "disabled", "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "john@example.com", "phone": null, "currency": "USD", "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/115310627314723954", "default_address": { "id": 715243470612851245, "customer_id": 115310627314723954, "first_name": "John", "last_name": "Smith", "company": null, "address1": "123 Elm St.", "address2": null, "city": "Ottawa", "province": "Ontario", "country": "Canada", "zip": "K2H7A8", "phone": "123-123-1234", "name": "John Smith", "province_code": "ON", "country_code": "CA", "country_name": "Canada", "default": true } }, "discount_applications": [], "fulfillments": [], "line_items": [ { "id": 487817672276298554, "admin_graphql_api_id": "gid://shopify/LineItem/487817672276298554", "attributed_staffs": [ { "id": "gid://shopify/StaffMember/902541635", "quantity": 1 } ], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 100, "name": "Aviator sunglasses", "price": "89.99", "price_set": { "shop_money": { "amount": "89.99", "currency_code": "USD" }, "presentment_money": { "amount": "89.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": null, "sku": "SKU2006-001", "taxable": true, "title": "Aviator sunglasses", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 789012345678901234, "admin_graphql_api_id": "gid://shopify/LineItem/789012345678901234", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Lens Protection Plan (2 Year)", "price": "19.99", "price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "LENS-PROTECT-2YR", "taxable": true, "title": "Lens Protection Plan (2 Year)", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 890123456789012345, "admin_graphql_api_id": "gid://shopify/LineItem/890123456789012345", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Premium Leather Case", "price": "24.99", "price_set": { "shop_money": { "amount": "24.99", "currency_code": "USD" }, "presentment_money": { "amount": "24.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "CASE-LEATHER-PREM", "taxable": true, "title": "Premium Leather Case", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 976318377106520349, "admin_graphql_api_id": "gid://shopify/LineItem/976318377106520349", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 1000, "name": "Mid-century lounger", "price": "159.99", "price_set": { "shop_money": { "amount": "159.99", "currency_code": "USD" }, "presentment_money": { "amount": "159.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-020", "taxable": true, "title": "Mid-century lounger", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 315789986012684393, "admin_graphql_api_id": "gid://shopify/LineItem/315789986012684393", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 500, "name": "Coffee table", "price": "119.99", "price_set": { "shop_money": { "amount": "119.99", "currency_code": "USD" }, "presentment_money": { "amount": "119.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-035", "taxable": true, "title": "Coffee table", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] } ], "payment_terms": null, "refunds": [], "shipping_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "shipping_lines": [ { "id": 271878346596884015, "carrier_identifier": null, "code": null, "current_discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discounted_price": "0.00", "discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "is_removed": false, "phone": null, "price": "10.00", "price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "currency_code": "USD" } }, "requested_fulfillment_service_id": null, "source": "shopify", "title": "Generic Shipping", "tax_lines": [], "discount_allocations": [] } ], "returns": [], "line_item_groups": [] }orders/paid: Sample Payload
{ "id": 820982911946154508, "admin_graphql_api_id": "gid://shopify/Order/820982911946154508", "app_id": null, "browser_ip": null, "buyer_accepts_marketing": true, "cancel_reason": "customer", "cancelled_at": "2021-12-31T19:00:00-05:00", "cart_token": null, "checkout_token": null, "client_details": null, "closed_at": null, "confirmation_number": null, "confirmed": false, "contact_email": "jon@example.com", "created_at": "2021-12-31T19:00:00-05:00", "currency": "USD", "current_shipping_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "current_subtotal_price": "414.95", "current_subtotal_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "current_total_additional_fees_set": null, "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": "414.95", "current_total_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "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": "en", "device_id": null, "discount_codes": [], "duties_included": false, "email": "jon@example.com", "estimated_taxes": false, "financial_status": "voided", "fulfillment_status": null, "landing_site": null, "landing_site_ref": null, "location_id": null, "merchant_business_entity_id": "MTU0ODM4MDAwOQ", "merchant_of_record_app_id": null, "name": "#9999", "note": null, "note_attributes": [], "number": 234, "order_number": 1234, "order_status_url": "https://jsmith.myshopify.com/548380009/orders/123456abcd/authenticate?key=abcdefg", "original_total_additional_fees_set": null, "original_total_duties_set": null, "payment_gateway_names": [ "visa", "bogus" ], "phone": null, "po_number": null, "presentment_currency": "USD", "processed_at": "2021-12-31T19:00:00-05:00", "reference": null, "referring_site": null, "source_identifier": null, "source_name": "web", "source_url": null, "subtotal_price": "404.95", "subtotal_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "tags": "tag1, tag2", "tax_exempt": false, "tax_lines": [], "taxes_included": false, "test": true, "token": "123456abcd", "total_cash_rounding_payment_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_cash_rounding_refund_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_discounts": "20.00", "total_discounts_set": { "shop_money": { "amount": "20.00", "currency_code": "USD" }, "presentment_money": { "amount": "20.00", "currency_code": "USD" } }, "total_line_items_price": "414.95", "total_line_items_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "total_outstanding": "414.95", "total_price": "404.95", "total_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "total_shipping_price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "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-12-31T19:00:00-05:00", "user_id": null, "billing_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "customer": { "id": 115310627314723954, "created_at": null, "updated_at": null, "first_name": "John", "last_name": "Smith", "state": "disabled", "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "john@example.com", "phone": null, "currency": "USD", "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/115310627314723954", "default_address": { "id": 715243470612851245, "customer_id": 115310627314723954, "first_name": "John", "last_name": "Smith", "company": null, "address1": "123 Elm St.", "address2": null, "city": "Ottawa", "province": "Ontario", "country": "Canada", "zip": "K2H7A8", "phone": "123-123-1234", "name": "John Smith", "province_code": "ON", "country_code": "CA", "country_name": "Canada", "default": true } }, "discount_applications": [], "fulfillments": [], "line_items": [ { "id": 487817672276298554, "admin_graphql_api_id": "gid://shopify/LineItem/487817672276298554", "attributed_staffs": [ { "id": "gid://shopify/StaffMember/902541635", "quantity": 1 } ], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 100, "name": "Aviator sunglasses", "price": "89.99", "price_set": { "shop_money": { "amount": "89.99", "currency_code": "USD" }, "presentment_money": { "amount": "89.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": null, "sku": "SKU2006-001", "taxable": true, "title": "Aviator sunglasses", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 789012345678901234, "admin_graphql_api_id": "gid://shopify/LineItem/789012345678901234", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Lens Protection Plan (2 Year)", "price": "19.99", "price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "LENS-PROTECT-2YR", "taxable": true, "title": "Lens Protection Plan (2 Year)", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 890123456789012345, "admin_graphql_api_id": "gid://shopify/LineItem/890123456789012345", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Premium Leather Case", "price": "24.99", "price_set": { "shop_money": { "amount": "24.99", "currency_code": "USD" }, "presentment_money": { "amount": "24.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "CASE-LEATHER-PREM", "taxable": true, "title": "Premium Leather Case", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 976318377106520349, "admin_graphql_api_id": "gid://shopify/LineItem/976318377106520349", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 1000, "name": "Mid-century lounger", "price": "159.99", "price_set": { "shop_money": { "amount": "159.99", "currency_code": "USD" }, "presentment_money": { "amount": "159.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-020", "taxable": true, "title": "Mid-century lounger", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 315789986012684393, "admin_graphql_api_id": "gid://shopify/LineItem/315789986012684393", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 500, "name": "Coffee table", "price": "119.99", "price_set": { "shop_money": { "amount": "119.99", "currency_code": "USD" }, "presentment_money": { "amount": "119.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-035", "taxable": true, "title": "Coffee table", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] } ], "payment_terms": null, "refunds": [], "shipping_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "shipping_lines": [ { "id": 271878346596884015, "carrier_identifier": null, "code": null, "current_discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discounted_price": "0.00", "discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "is_removed": false, "phone": null, "price": "10.00", "price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "currency_code": "USD" } }, "requested_fulfillment_service_id": null, "source": "shopify", "title": "Generic Shipping", "tax_lines": [], "discount_allocations": [] } ], "returns": [], "line_item_groups": [] }orders/partially_fulfilled: Sample Payload
{ "id": 820982911946154508, "admin_graphql_api_id": "gid://shopify/Order/820982911946154508", "app_id": null, "browser_ip": null, "buyer_accepts_marketing": true, "cancel_reason": "customer", "cancelled_at": "2021-12-31T19:00:00-05:00", "cart_token": null, "checkout_token": null, "client_details": null, "closed_at": null, "confirmation_number": null, "confirmed": false, "contact_email": "jon@example.com", "created_at": "2021-12-31T19:00:00-05:00", "currency": "USD", "current_shipping_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "current_subtotal_price": "414.95", "current_subtotal_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "current_total_additional_fees_set": null, "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": "414.95", "current_total_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "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": "en", "device_id": null, "discount_codes": [], "duties_included": false, "email": "jon@example.com", "estimated_taxes": false, "financial_status": "voided", "fulfillment_status": null, "landing_site": null, "landing_site_ref": null, "location_id": null, "merchant_business_entity_id": "MTU0ODM4MDAwOQ", "merchant_of_record_app_id": null, "name": "#9999", "note": null, "note_attributes": [], "number": 234, "order_number": 1234, "order_status_url": "https://jsmith.myshopify.com/548380009/orders/123456abcd/authenticate?key=abcdefg", "original_total_additional_fees_set": null, "original_total_duties_set": null, "payment_gateway_names": [ "visa", "bogus" ], "phone": null, "po_number": null, "presentment_currency": "USD", "processed_at": "2021-12-31T19:00:00-05:00", "reference": null, "referring_site": null, "source_identifier": null, "source_name": "web", "source_url": null, "subtotal_price": "404.95", "subtotal_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "tags": "tag1, tag2", "tax_exempt": false, "tax_lines": [], "taxes_included": false, "test": true, "token": "123456abcd", "total_cash_rounding_payment_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_cash_rounding_refund_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_discounts": "20.00", "total_discounts_set": { "shop_money": { "amount": "20.00", "currency_code": "USD" }, "presentment_money": { "amount": "20.00", "currency_code": "USD" } }, "total_line_items_price": "414.95", "total_line_items_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "total_outstanding": "414.95", "total_price": "404.95", "total_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "total_shipping_price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "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-12-31T19:00:00-05:00", "user_id": null, "billing_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "customer": { "id": 115310627314723954, "created_at": null, "updated_at": null, "first_name": "John", "last_name": "Smith", "state": "disabled", "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "john@example.com", "phone": null, "currency": "USD", "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/115310627314723954", "default_address": { "id": 715243470612851245, "customer_id": 115310627314723954, "first_name": "John", "last_name": "Smith", "company": null, "address1": "123 Elm St.", "address2": null, "city": "Ottawa", "province": "Ontario", "country": "Canada", "zip": "K2H7A8", "phone": "123-123-1234", "name": "John Smith", "province_code": "ON", "country_code": "CA", "country_name": "Canada", "default": true } }, "discount_applications": [], "fulfillments": [], "line_items": [ { "id": 487817672276298554, "admin_graphql_api_id": "gid://shopify/LineItem/487817672276298554", "attributed_staffs": [ { "id": "gid://shopify/StaffMember/902541635", "quantity": 1 } ], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 100, "name": "Aviator sunglasses", "price": "89.99", "price_set": { "shop_money": { "amount": "89.99", "currency_code": "USD" }, "presentment_money": { "amount": "89.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": null, "sku": "SKU2006-001", "taxable": true, "title": "Aviator sunglasses", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 789012345678901234, "admin_graphql_api_id": "gid://shopify/LineItem/789012345678901234", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Lens Protection Plan (2 Year)", "price": "19.99", "price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "LENS-PROTECT-2YR", "taxable": true, "title": "Lens Protection Plan (2 Year)", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 890123456789012345, "admin_graphql_api_id": "gid://shopify/LineItem/890123456789012345", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Premium Leather Case", "price": "24.99", "price_set": { "shop_money": { "amount": "24.99", "currency_code": "USD" }, "presentment_money": { "amount": "24.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "CASE-LEATHER-PREM", "taxable": true, "title": "Premium Leather Case", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 976318377106520349, "admin_graphql_api_id": "gid://shopify/LineItem/976318377106520349", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 1000, "name": "Mid-century lounger", "price": "159.99", "price_set": { "shop_money": { "amount": "159.99", "currency_code": "USD" }, "presentment_money": { "amount": "159.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-020", "taxable": true, "title": "Mid-century lounger", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 315789986012684393, "admin_graphql_api_id": "gid://shopify/LineItem/315789986012684393", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 500, "name": "Coffee table", "price": "119.99", "price_set": { "shop_money": { "amount": "119.99", "currency_code": "USD" }, "presentment_money": { "amount": "119.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-035", "taxable": true, "title": "Coffee table", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] } ], "payment_terms": null, "refunds": [], "shipping_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "shipping_lines": [ { "id": 271878346596884015, "carrier_identifier": null, "code": null, "current_discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discounted_price": "0.00", "discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "is_removed": false, "phone": null, "price": "10.00", "price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "currency_code": "USD" } }, "requested_fulfillment_service_id": null, "source": "shopify", "title": "Generic Shipping", "tax_lines": [], "discount_allocations": [] } ], "returns": [], "line_item_groups": [] }orders/risk_assessment_changed: Sample Payload
{ "provider_id": null, "provider_title": null, "risk_level": "medium", "created_at": null, "order_id": null, "admin_graphql_api_order_id": null }orders/shopify_protect_eligibility_changed: Sample Payload
{ "order_id": 1, "status": "active", "eligibility": { "status": "eligible" } }orders/updated: Sample Payload
{ "id": 820982911946154508, "admin_graphql_api_id": "gid://shopify/Order/820982911946154508", "app_id": null, "browser_ip": null, "buyer_accepts_marketing": true, "cancel_reason": "customer", "cancelled_at": "2021-12-31T19:00:00-05:00", "cart_token": null, "checkout_token": null, "client_details": null, "closed_at": null, "confirmation_number": null, "confirmed": false, "contact_email": "jon@example.com", "created_at": "2021-12-31T19:00:00-05:00", "currency": "USD", "current_shipping_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "current_subtotal_price": "414.95", "current_subtotal_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "current_total_additional_fees_set": null, "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": "414.95", "current_total_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "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": "en", "device_id": null, "discount_codes": [], "duties_included": false, "email": "jon@example.com", "estimated_taxes": false, "financial_status": "voided", "fulfillment_status": null, "landing_site": null, "landing_site_ref": null, "location_id": null, "merchant_business_entity_id": "MTU0ODM4MDAwOQ", "merchant_of_record_app_id": null, "name": "#9999", "note": null, "note_attributes": [], "number": 234, "order_number": 1234, "order_status_url": "https://jsmith.myshopify.com/548380009/orders/123456abcd/authenticate?key=abcdefg", "original_total_additional_fees_set": null, "original_total_duties_set": null, "payment_gateway_names": [ "visa", "bogus" ], "phone": null, "po_number": null, "presentment_currency": "USD", "processed_at": "2021-12-31T19:00:00-05:00", "reference": null, "referring_site": null, "source_identifier": null, "source_name": "web", "source_url": null, "subtotal_price": "404.95", "subtotal_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "tags": "tag1, tag2", "tax_exempt": false, "tax_lines": [], "taxes_included": false, "test": true, "token": "123456abcd", "total_cash_rounding_payment_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_cash_rounding_refund_adjustment_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "total_discounts": "20.00", "total_discounts_set": { "shop_money": { "amount": "20.00", "currency_code": "USD" }, "presentment_money": { "amount": "20.00", "currency_code": "USD" } }, "total_line_items_price": "414.95", "total_line_items_price_set": { "shop_money": { "amount": "414.95", "currency_code": "USD" }, "presentment_money": { "amount": "414.95", "currency_code": "USD" } }, "total_outstanding": "414.95", "total_price": "404.95", "total_price_set": { "shop_money": { "amount": "404.95", "currency_code": "USD" }, "presentment_money": { "amount": "404.95", "currency_code": "USD" } }, "total_shipping_price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "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-12-31T19:00:00-05:00", "user_id": null, "billing_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "customer": { "id": 115310627314723954, "created_at": null, "updated_at": null, "first_name": "John", "last_name": "Smith", "state": "disabled", "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "email": "john@example.com", "phone": null, "currency": "USD", "tax_exemptions": [], "admin_graphql_api_id": "gid://shopify/Customer/115310627314723954", "default_address": { "id": 715243470612851245, "customer_id": 115310627314723954, "first_name": "John", "last_name": "Smith", "company": null, "address1": "123 Elm St.", "address2": null, "city": "Ottawa", "province": "Ontario", "country": "Canada", "zip": "K2H7A8", "phone": "123-123-1234", "name": "John Smith", "province_code": "ON", "country_code": "CA", "country_name": "Canada", "default": true } }, "discount_applications": [], "fulfillments": [], "line_items": [ { "id": 487817672276298554, "admin_graphql_api_id": "gid://shopify/LineItem/487817672276298554", "attributed_staffs": [ { "id": "gid://shopify/StaffMember/902541635", "quantity": 1 } ], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 100, "name": "Aviator sunglasses", "price": "89.99", "price_set": { "shop_money": { "amount": "89.99", "currency_code": "USD" }, "presentment_money": { "amount": "89.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": null, "sku": "SKU2006-001", "taxable": true, "title": "Aviator sunglasses", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 789012345678901234, "admin_graphql_api_id": "gid://shopify/LineItem/789012345678901234", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Lens Protection Plan (2 Year)", "price": "19.99", "price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "LENS-PROTECT-2YR", "taxable": true, "title": "Lens Protection Plan (2 Year)", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 890123456789012345, "admin_graphql_api_id": "gid://shopify/LineItem/890123456789012345", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "Premium Leather Case", "price": "24.99", "price_set": { "shop_money": { "amount": "24.99", "currency_code": "USD" }, "presentment_money": { "amount": "24.99", "currency_code": "USD" } }, "product_exists": false, "product_id": null, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 234567890123456789, "sku": "CASE-LEATHER-PREM", "taxable": true, "title": "Premium Leather Case", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 976318377106520349, "admin_graphql_api_id": "gid://shopify/LineItem/976318377106520349", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 1000, "name": "Mid-century lounger", "price": "159.99", "price_set": { "shop_money": { "amount": "159.99", "currency_code": "USD" }, "presentment_money": { "amount": "159.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-020", "taxable": true, "title": "Mid-century lounger", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] }, { "id": 315789986012684393, "admin_graphql_api_id": "gid://shopify/LineItem/315789986012684393", "attributed_staffs": [], "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 500, "name": "Coffee table", "price": "119.99", "price_set": { "shop_money": { "amount": "119.99", "currency_code": "USD" }, "presentment_money": { "amount": "119.99", "currency_code": "USD" } }, "product_exists": true, "product_id": 788032119674292922, "properties": [], "quantity": 1, "requires_shipping": true, "sales_line_item_group_id": 142831562, "sku": "SKU2006-035", "taxable": true, "title": "Coffee table", "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": null, "variant_inventory_management": null, "variant_title": null, "vendor": null, "tax_lines": [], "duties": [], "discount_allocations": [] } ], "payment_terms": null, "refunds": [], "shipping_address": { "first_name": "Steve", "address1": "123 Shipping Street", "phone": "555-555-SHIP", "city": "Shippington", "zip": "40003", "province": "Kentucky", "country": "United States", "last_name": "Shipper", "address2": null, "company": "Shipping Company", "latitude": null, "longitude": null, "name": "Steve Shipper", "country_code": "US", "province_code": "KY" }, "shipping_lines": [ { "id": 271878346596884015, "carrier_identifier": null, "code": null, "current_discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discounted_price": "0.00", "discounted_price_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "is_removed": false, "phone": null, "price": "10.00", "price_set": { "shop_money": { "amount": "10.00", "currency_code": "USD" }, "presentment_money": { "amount": "10.00", "currency_code": "USD" } }, "requested_fulfillment_service_id": null, "source": "shopify", "title": "Generic Shipping", "tax_lines": [], "discount_allocations": [] } ], "returns": [], "line_item_groups": [] }payment_schedules/due: Sample Payload
{ "amount": "0.00", "balance_due": "0.00", "completed_at": "2021-01-02T00:00:00-05:00", "created_at": "2021-01-01T00:00:00-05:00", "currency": "USD", "due_at": "2021-01-02T00:00:00-05:00", "id": 606405506930370084, "issued_at": "2021-01-01T00:00:00-05:00", "payment_terms_id": 706405506930370084, "presentment_currency": "USD", "total_balance": "0.00", "total_price": "0.00", "updated_at": "2021-01-01T00:00:01-05:00", "admin_graphql_api_id": "gid://shopify/PaymentSchedule/606405506930370084" }payment_terms/create: Sample Payload
{ "id": 706405506930370084, "payment_terms_name": "Net 7", "payment_terms_type": "net", "due_in_days": 7, "created_at": "2021-01-01T00:00:00-05:00", "updated_at": "2021-01-01T00:00:01-05:00", "payment_schedules": [ { "amount": "0.00", "balance_due": "0.00", "completed_at": "2021-01-02T00:00:00-05:00", "created_at": "2021-01-01T00:00:00-05:00", "currency": "USD", "due_at": "2021-01-02T00:00:00-05:00", "id": 606405506930370084, "issued_at": "2021-01-01T00:00:00-05:00", "payment_terms_id": 706405506930370084, "presentment_currency": "USD", "total_balance": "0.00", "total_price": "0.00", "updated_at": "2021-01-01T00:00:01-05:00", "admin_graphql_api_id": "gid://shopify/PaymentSchedule/606405506930370084" } ], "admin_graphql_api_id": "gid://shopify/PaymentsPaymentFlexibilityPaymentTermsPaymentTerms/706405506930370084" }payment_terms/delete: Sample Payload
{ "id": 706405506930370084 }payment_terms/update: Sample Payload
{ "id": 706405506930370084, "payment_terms_name": "Net 7", "payment_terms_type": "net", "due_in_days": 7, "created_at": "2021-01-01T00:00:00-05:00", "updated_at": "2021-01-01T00:00:01-05:00", "payment_schedules": [ { "amount": "0.00", "balance_due": "0.00", "completed_at": "2021-01-02T00:00:00-05:00", "created_at": "2021-01-01T00:00:00-05:00", "currency": "USD", "due_at": "2021-01-02T00:00:00-05:00", "id": 606405506930370084, "issued_at": "2021-01-01T00:00:00-05:00", "payment_terms_id": 706405506930370084, "presentment_currency": "USD", "total_balance": "0.00", "total_price": "0.00", "updated_at": "2021-01-01T00:00:01-05:00", "admin_graphql_api_id": "gid://shopify/PaymentSchedule/606405506930370084" } ], "admin_graphql_api_id": "gid://shopify/PaymentsPaymentFlexibilityPaymentTermsPaymentTerms/706405506930370084" }product_feeds/create: Sample Payload
{ "id": "gid://shopify/ProductFeed/", "country": "CA", "language": "EN", "status": "" }product_feeds/full_sync: Sample Payload
{ "metadata": { "action": "CREATE", "type": "FULL", "resource": "PRODUCT", "fullSyncId": "gid://shopify/ProductFullSync/1123511235", "truncatedFields": [], "occurred_at": "2022-01-01T00:00:00.000Z" }, "productFeed": { "id": "gid://shopify/ProductFeed/12345", "shop_id": "gid://shopify/Shop/12345", "language": "EN", "country": "CA" }, "product": { "id": "gid://shopify/Product/12345", "title": "Coffee", "description": "The best coffee in the world", "onlineStoreUrl": "https://example.com/products/coffee", "createdAt": "2021-12-31T19:00:00-05:00", "updatedAt": "2021-12-31T19:00:00-05:00", "status": "ACTIVE", "isPublished": true, "publishedAt": "2021-12-31T19:00:00-05:00", "productType": "Coffee", "vendor": "Cawfee Inc", "handle": "", "images": { "edges": [ { "node": { "id": "gid://shopify/ProductImage/394", "url": "https://cdn.shopify.com/s/files/1/0262/9117/5446/products/IMG_0022.jpg?v=1675101331", "height": 3024, "width": 4032 } } ] }, "options": [ { "name": "Title", "values": [ "151cm", "155cm", "158cm" ] } ], "seo": { "title": "seo title", "description": "seo description" }, "tags": [ "tag1", "tag2" ], "variants": { "edges": [ { "node": { "id": "gid://shopify/ProductVariant/1", "title": "151cm", "price": { "amount": "100.00", "currencyCode": "CAD" }, "compareAtPrice": null, "sku": "12345", "barcode": null, "quantityAvailable": 10, "availableForSale": true, "weight": 2.3, "weightUnit": "KILOGRAMS", "requireShipping": true, "inventoryPolicy": "DENY", "createdAt": "2021-12-31T19:00:00-05:00", "updatedAt": "2021-12-31T19:00:00-05:00", "image": { "id": "gid://shopify/ProductImage/394", "url": "https://cdn.shopify.com/s/files/1/0262/9117/5446/products/IMG_0022.jpg?v=1675101331", "height": 3024, "width": 4032 }, "selectedOptions": [ { "name": "Title", "value": "151cm" } ] } } ] } }, "products": null }product_feeds/full_sync_finish: Sample Payload
{ "metadata": { "action": "CREATE", "type": "FULL", "resource": "PRODUCT", "fullSyncId": "gid://shopify/ProductFullSync/1123511235", "truncatedFields": [], "occurred_at": "2022-01-01T00:00:00.000Z" }, "productFeed": { "id": "gid://shopify/ProductFeed/12345", "shop_id": "gid://shopify/Shop/12345", "language": "EN", "country": "CA" }, "fullSync": { "createdAt": "2021-12-31 19:00:00 -0500", "errorCode": null, "status": "completed", "count": 12, "url": null } }product_feeds/incremental_sync: Sample Payload
{ "metadata": { "action": "CREATE", "type": "INCREMENTAL", "resource": "PRODUCT", "truncatedFields": [], "occured_at": "2021-12-31T19:00:00-05:00" }, "productFeed": { "id": "gid://shopify/ProductFeed/12345", "shop_id": "gid://shopify/Shop/12345", "language": "EN", "country": "CA" }, "product": { "id": "gid://shopify/Product/12345", "title": "Coffee", "description": "The best coffee in the world", "onlineStoreUrl": "https://example.com/products/coffee", "createdAt": "2021-12-31T19:00:00-05:00", "updatedAt": "2021-12-31T19:00:00-05:00", "status": "ACTIVE", "isPublished": true, "publishedAt": "2021-12-31T19:00:00-05:00", "productType": "Coffee", "vendor": "Cawfee Inc", "handle": "", "images": { "edges": [ { "node": { "id": "gid://shopify/ProductImage/394", "url": "https://cdn.shopify.com/s/files/1/0262/9117/5446/products/IMG_0022.jpg?v=1675101331", "height": 3024, "width": 4032 } } ] }, "options": [ { "name": "Title", "values": [ "151cm", "155cm", "158cm" ] } ], "seo": { "title": "seo title", "description": "seo description" }, "tags": [ "tag1", "tag2" ], "variants": { "edges": [ { "node": { "id": "gid://shopify/ProductVariant/1", "title": "151cm", "price": { "amount": "100.00", "currencyCode": "CAD" }, "compareAtPrice": null, "sku": "12345", "barcode": null, "quantityAvailable": 10, "availableForSale": true, "weight": 2.3, "weightUnit": "KILOGRAMS", "requireShipping": true, "inventoryPolicy": "DENY", "createdAt": "2021-12-31T19:00:00-05:00", "updatedAt": "2021-12-31T19:00:00-05:00", "image": { "id": "gid://shopify/ProductImage/394", "url": "https://cdn.shopify.com/s/files/1/0262/9117/5446/products/IMG_0022.jpg?v=1675101331", "height": 3024, "width": 4032 }, "selectedOptions": [ { "name": "Title", "value": "151cm" } ] } } ] } }, "products": null }product_feeds/update: Sample Payload
{ "id": "gid://shopify/ProductFeed/", "country": "CA", "language": "EN", "status": "" }product_listings/add: Sample Payload
{ "product_listing": { "product_id": 788032119674292922, "created_at": null, "updated_at": "2021-12-31T19:00:00-05:00", "body_html": "An example T-Shirt", "handle": "example-t-shirt", "product_type": "Shirts", "title": "Example T-Shirt", "vendor": "Acme", "available": true, "tags": "example, mens, t-shirt", "published_at": "2021-12-31T19:00:00-05:00", "variants": [ { "id": 642667041472713922, "title": "Small", "option_values": [ { "option_id": 527050010214937811, "name": "Title", "value": "Small" } ], "price": "19.99", "formatted_price": "$19.99", "compare_at_price": "24.99", "grams": 0, "requires_shipping": true, "sku": null, "barcode": null, "taxable": true, "position": 1, "available": true, "inventory_policy": "deny", "inventory_quantity": 75, "inventory_management": null, "fulfillment_service": "manual", "weight": 0.0, "weight_unit": "lb", "image_id": null, "created_at": "2021-12-29T19:00:00-05:00", "updated_at": "2021-12-30T19:00:00-05:00" }, { "id": 757650484644203962, "title": "Medium", "option_values": [ { "option_id": 527050010214937811, "name": "Title", "value": "Medium" } ], "price": "19.99", "formatted_price": "$19.99", "compare_at_price": "24.99", "grams": 0, "requires_shipping": true, "sku": null, "barcode": null, "taxable": true, "position": 2, "available": true, "inventory_policy": "deny", "inventory_quantity": 50, "inventory_management": null, "fulfillment_service": "manual", "weight": 0.0, "weight_unit": "lb", "image_id": null, "created_at": "2021-12-29T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00" } ], "images": [], "options": [ { "id": 527050010214937811, "name": "Title", "product_id": 788032119674292922, "position": 1, "values": [ "Small", "Medium" ] } ] } }product_listings/remove: Sample Payload
{ "product_listing": { "product_id": 788032119674292922 } }product_listings/update: Sample Payload
{ "product_listing": { "product_id": 788032119674292922, "created_at": null, "updated_at": "2021-12-31T19:00:00-05:00", "body_html": "An example T-Shirt", "handle": "example-t-shirt", "product_type": "Shirts", "title": "Example T-Shirt", "vendor": "Acme", "available": true, "tags": "example, mens, t-shirt", "published_at": "2021-12-31T19:00:00-05:00", "variants": [ { "id": 642667041472713922, "title": "Small", "option_values": [ { "option_id": 527050010214937811, "name": "Title", "value": "Small" } ], "price": "19.99", "formatted_price": "$19.99", "compare_at_price": "24.99", "grams": 0, "requires_shipping": true, "sku": null, "barcode": null, "taxable": true, "position": 1, "available": true, "inventory_policy": "deny", "inventory_quantity": 75, "inventory_management": null, "fulfillment_service": "manual", "weight": 0.0, "weight_unit": "lb", "image_id": null, "created_at": "2021-12-29T19:00:00-05:00", "updated_at": "2021-12-30T19:00:00-05:00" }, { "id": 757650484644203962, "title": "Medium", "option_values": [ { "option_id": 527050010214937811, "name": "Title", "value": "Medium" } ], "price": "19.99", "formatted_price": "$19.99", "compare_at_price": "24.99", "grams": 0, "requires_shipping": true, "sku": null, "barcode": null, "taxable": true, "position": 2, "available": true, "inventory_policy": "deny", "inventory_quantity": 50, "inventory_management": null, "fulfillment_service": "manual", "weight": 0.0, "weight_unit": "lb", "image_id": null, "created_at": "2021-12-29T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00" } ], "images": [], "options": [ { "id": 527050010214937811, "name": "Title", "product_id": 788032119674292922, "position": 1, "values": [ "Small", "Medium" ] } ] } }product_publications/create: Sample Payload
{ "id": null, "publication_id": 123456, "published_at": "2021-12-31T19:00:00-05:00", "published": true, "created_at": null, "updated_at": null, "product_id": 788032119674292922 }product_publications/delete: Sample Payload
{ "id": null }product_publications/update: Sample Payload
{ "id": null, "publication_id": 123456, "published_at": "2021-12-31T19:00:00-05:00", "published": true, "created_at": null, "updated_at": null, "product_id": 788032119674292922 }products/create: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/Product/788032119674292922", "body_html": "An example T-Shirt", "created_at": null, "handle": "example-t-shirt", "id": 788032119674292922, "product_type": "Shirts", "published_at": "2021-12-31T19:00:00-05:00", "template_suffix": null, "title": "Example T-Shirt", "updated_at": "2021-12-31T19:00:00-05:00", "vendor": "Acme", "status": "active", "published_scope": "web", "tags": "example, mens, t-shirt", "variants": [ { "admin_graphql_api_id": "gid://shopify/ProductVariant/642667041472713922", "barcode": null, "compare_at_price": "24.99", "created_at": "2021-12-29T19:00:00-05:00", "id": 642667041472713922, "inventory_policy": "deny", "position": 1, "price": "19.99", "product_id": 788032119674292922, "sku": null, "taxable": true, "title": "Small", "updated_at": "2021-12-30T19:00:00-05:00", "option1": "Small", "option2": null, "option3": null, "image_id": null, "inventory_item_id": null, "inventory_quantity": 75, "old_inventory_quantity": 75 }, { "admin_graphql_api_id": "gid://shopify/ProductVariant/757650484644203962", "barcode": null, "compare_at_price": "24.99", "created_at": "2021-12-29T19:00:00-05:00", "id": 757650484644203962, "inventory_policy": "deny", "position": 2, "price": "19.99", "product_id": 788032119674292922, "sku": null, "taxable": true, "title": "Medium", "updated_at": "2021-12-31T19:00:00-05:00", "option1": "Medium", "option2": null, "option3": null, "image_id": null, "inventory_item_id": null, "inventory_quantity": 50, "old_inventory_quantity": 50 } ], "options": [], "images": [], "image": null, "media": [], "variant_gids": [ { "admin_graphql_api_id": "gid://shopify/ProductVariant/757650484644203962", "updated_at": "2022-01-01T00:00:00.000Z" }, { "admin_graphql_api_id": "gid://shopify/ProductVariant/642667041472713922", "updated_at": "2021-12-31T00:00:00.000Z" } ], "has_variants_that_requires_components": false, "category": null }products/delete: Sample Payload
{ "id": 788032119674292922 }products/update: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/Product/788032119674292922", "body_html": "An example T-Shirt", "created_at": null, "handle": "example-t-shirt", "id": 788032119674292922, "product_type": "Shirts", "published_at": "2021-12-31T19:00:00-05:00", "template_suffix": null, "title": "Example T-Shirt", "updated_at": "2021-12-31T19:00:00-05:00", "vendor": "Acme", "status": "active", "published_scope": "web", "tags": "example, mens, t-shirt", "variants": [ { "admin_graphql_api_id": "gid://shopify/ProductVariant/642667041472713922", "barcode": null, "compare_at_price": "24.99", "created_at": "2021-12-29T19:00:00-05:00", "id": 642667041472713922, "inventory_policy": "deny", "position": 1, "price": "19.99", "product_id": 788032119674292922, "sku": null, "taxable": true, "title": "Small", "updated_at": "2021-12-30T19:00:00-05:00", "option1": "Small", "option2": null, "option3": null, "image_id": null, "inventory_item_id": null, "inventory_quantity": 75, "old_inventory_quantity": 75 }, { "admin_graphql_api_id": "gid://shopify/ProductVariant/757650484644203962", "barcode": null, "compare_at_price": "24.99", "created_at": "2021-12-29T19:00:00-05:00", "id": 757650484644203962, "inventory_policy": "deny", "position": 2, "price": "19.99", "product_id": 788032119674292922, "sku": null, "taxable": true, "title": "Medium", "updated_at": "2021-12-31T19:00:00-05:00", "option1": "Medium", "option2": null, "option3": null, "image_id": null, "inventory_item_id": null, "inventory_quantity": 50, "old_inventory_quantity": 50 } ], "options": [], "images": [], "image": null, "media": [], "variant_gids": [ { "admin_graphql_api_id": "gid://shopify/ProductVariant/757650484644203962", "updated_at": "2022-01-01T00:00:00.000Z" }, { "admin_graphql_api_id": "gid://shopify/ProductVariant/642667041472713922", "updated_at": "2021-12-31T00:00:00.000Z" } ], "has_variants_that_requires_components": false, "category": null }profiles/create: Sample Payload
{ "id": 1, "admin_graphql_api_id": "gid://shopify/DeliveryProfile/1", "name": "Example Delivery Profile", "default": false, "profile_type": null, "version": 1 }profiles/delete: Sample Payload
{ "id": 1, "admin_graphql_api_id": "gid://shopify/DeliveryProfile/1", "name": "Example Delivery Profile", "default": false, "profile_type": null, "version": 1 }profiles/update: Sample Payload
{ "id": 1, "admin_graphql_api_id": "gid://shopify/DeliveryProfile/1", "name": "Example Delivery Profile", "default": false, "profile_type": null, "version": 1 }refunds/create: Sample Payload
{ "id": 890088186047892319, "order_id": 820982911946154508, "created_at": "2021-12-31T19:00:00-05:00", "note": "Things were damaged", "user_id": 548380009, "processed_at": "2021-12-31T19:00:00-05:00", "duties": [], "total_duties_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "return": null, "restock": false, "refund_shipping_lines": [], "admin_graphql_api_id": "gid://shopify/Refund/890088186047892319", "order_adjustments": [], "refund_line_items": [ { "id": 487817672276298627, "quantity": 1, "line_item_id": 487817672276298554, "location_id": null, "restock_type": "no_restock", "subtotal": 89.99, "total_tax": 0.0, "subtotal_set": { "shop_money": { "amount": "89.99", "currency_code": "USD" }, "presentment_money": { "amount": "89.99", "currency_code": "USD" } }, "total_tax_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "line_item": { "id": 487817672276298554, "variant_id": null, "title": "Aviator sunglasses", "quantity": 1, "sku": "SKU2006-001", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": 788032119674292922, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Aviator sunglasses", "variant_inventory_management": null, "properties": [], "product_exists": true, "fulfillable_quantity": 1, "grams": 100, "price": "89.99", "total_discount": "0.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "89.99", "currency_code": "USD" }, "presentment_money": { "amount": "89.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discount_allocations": [], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/487817672276298554", "tax_lines": [] } }, { "id": 789012345678901307, "quantity": 1, "line_item_id": 789012345678901234, "location_id": null, "restock_type": "no_restock", "subtotal": 19.99, "total_tax": 0.0, "subtotal_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "total_tax_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "line_item": { "id": 789012345678901234, "variant_id": null, "title": "Lens Protection Plan (2 Year)", "quantity": 1, "sku": "LENS-PROTECT-2YR", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": null, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Lens Protection Plan (2 Year)", "variant_inventory_management": null, "properties": [], "product_exists": false, "fulfillable_quantity": 1, "grams": 0, "price": "19.99", "total_discount": "0.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "19.99", "currency_code": "USD" }, "presentment_money": { "amount": "19.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discount_allocations": [], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/789012345678901234", "tax_lines": [] } }, { "id": 890123456789012418, "quantity": 1, "line_item_id": 890123456789012345, "location_id": null, "restock_type": "no_restock", "subtotal": 24.99, "total_tax": 0.0, "subtotal_set": { "shop_money": { "amount": "24.99", "currency_code": "USD" }, "presentment_money": { "amount": "24.99", "currency_code": "USD" } }, "total_tax_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "line_item": { "id": 890123456789012345, "variant_id": null, "title": "Premium Leather Case", "quantity": 1, "sku": "CASE-LEATHER-PREM", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": null, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Premium Leather Case", "variant_inventory_management": null, "properties": [], "product_exists": false, "fulfillable_quantity": 1, "grams": 0, "price": "24.99", "total_discount": "0.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "24.99", "currency_code": "USD" }, "presentment_money": { "amount": "24.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discount_allocations": [], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/890123456789012345", "tax_lines": [] } }, { "id": 976318377106520422, "quantity": 1, "line_item_id": 976318377106520349, "location_id": null, "restock_type": "no_restock", "subtotal": 159.99, "total_tax": 0.0, "subtotal_set": { "shop_money": { "amount": "159.99", "currency_code": "USD" }, "presentment_money": { "amount": "159.99", "currency_code": "USD" } }, "total_tax_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "line_item": { "id": 976318377106520349, "variant_id": null, "title": "Mid-century lounger", "quantity": 1, "sku": "SKU2006-020", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": 788032119674292922, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Mid-century lounger", "variant_inventory_management": null, "properties": [], "product_exists": true, "fulfillable_quantity": 1, "grams": 1000, "price": "159.99", "total_discount": "5.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "159.99", "currency_code": "USD" }, "presentment_money": { "amount": "159.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "5.00", "currency_code": "USD" }, "presentment_money": { "amount": "5.00", "currency_code": "USD" } }, "discount_allocations": [ { "amount": "5.00", "discount_application_index": 0, "amount_set": { "shop_money": { "amount": "5.00", "currency_code": "USD" }, "presentment_money": { "amount": "5.00", "currency_code": "USD" } } }, { "amount": "5.00", "discount_application_index": 2, "amount_set": { "shop_money": { "amount": "5.00", "currency_code": "USD" }, "presentment_money": { "amount": "5.00", "currency_code": "USD" } } } ], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/976318377106520349", "tax_lines": [] } }, { "id": 315789986012684466, "quantity": 1, "line_item_id": 315789986012684393, "location_id": null, "restock_type": "no_restock", "subtotal": 119.99, "total_tax": 0.0, "subtotal_set": { "shop_money": { "amount": "119.99", "currency_code": "USD" }, "presentment_money": { "amount": "119.99", "currency_code": "USD" } }, "total_tax_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "line_item": { "id": 315789986012684393, "variant_id": null, "title": "Coffee table", "quantity": 1, "sku": "SKU2006-035", "variant_title": null, "vendor": null, "fulfillment_service": "manual", "product_id": 788032119674292922, "requires_shipping": true, "taxable": true, "gift_card": false, "name": "Coffee table", "variant_inventory_management": null, "properties": [], "product_exists": true, "fulfillable_quantity": 1, "grams": 500, "price": "119.99", "total_discount": "0.00", "fulfillment_status": null, "price_set": { "shop_money": { "amount": "119.99", "currency_code": "USD" }, "presentment_money": { "amount": "119.99", "currency_code": "USD" } }, "total_discount_set": { "shop_money": { "amount": "0.00", "currency_code": "USD" }, "presentment_money": { "amount": "0.00", "currency_code": "USD" } }, "discount_allocations": [], "duties": [], "admin_graphql_api_id": "gid://shopify/LineItem/315789986012684393", "tax_lines": [] } } ], "transactions": [ { "id": 245135271310201194, "order_id": 820982911946154508, "kind": "refund", "gateway": "bogus", "status": "success", "message": "This is a refund", "created_at": "2019-12-31T19:00:00-05:00", "test": false, "authorization": null, "location_id": null, "user_id": null, "parent_id": null, "processed_at": null, "device_id": null, "error_code": null, "source_name": "web", "receipt": {}, "amount": "75.00", "currency": null, "payment_id": "#9999.", "total_unsettled_set": { "presentment_money": { "amount": "0.0", "currency": "XXX" }, "shop_money": { "amount": "0.0", "currency": "XXX" } }, "manual_payment_gateway": false, "amount_rounding": null, "admin_graphql_api_id": "gid://shopify/OrderTransaction/245135271310201194" }, { "id": 839212141605670573, "order_id": 820982911946154508, "kind": "refund", "gateway": "bogus", "status": "success", "message": null, "created_at": "2020-01-01T19:00:00-05:00", "test": false, "authorization": null, "location_id": null, "user_id": null, "parent_id": null, "processed_at": null, "device_id": null, "error_code": null, "source_name": "web", "receipt": {}, "amount": "10.00", "currency": null, "payment_id": "#9999.", "total_unsettled_set": { "presentment_money": { "amount": "0.0", "currency": "XXX" }, "shop_money": { "amount": "0.0", "currency": "XXX" } }, "manual_payment_gateway": false, "amount_rounding": null, "admin_graphql_api_id": "gid://shopify/OrderTransaction/839212141605670573" } ] }returns/approve: Sample Payload
{ "id": 123134564567890, "admin_graphql_api_id": "gid://shopify/Return/123134564567890", "status": "open", "order": { "id": 4783296544821, "admin_graphql_api_id": "gid://shopify/Order/4783296544821" }, "total_return_line_items": 2, "name": null, "return_line_items": [], "return_shipping_fees": [ { "id": 987654321547866, "admin_graphql_api_id": "gid://shopify/ReturnShippingFee/987654321547866", "price": { "shop_money": { "amount": "10.0", "currency_code": "XXX" }, "presentment_money": { "amount": "10.0", "currency_code": "XXX" } } } ], "exchange_line_items": [ { "id": 987654321283476, "admin_graphql_api_id": "gid://shopify/ExchangeLineItem/987654321283476", "line_item": null } ], "total_exchange_line_items": 1 }returns/cancel: Sample Payload
{ "id": 123134564567890, "admin_graphql_api_id": "gid://shopify/Return/123134564567890", "order_id": 4783296544821, "status": "canceled" }returns/close: Sample Payload
{ "id": 123134564567890, "admin_graphql_api_id": "gid://shopify/Return/123134564567890", "order_id": 4783296544821, "status": "closed" }returns/decline: Sample Payload
{ "id": 123134564567890, "admin_graphql_api_id": "gid://shopify/Return/123134564567890", "status": "declined", "order": { "id": 4783296544821, "admin_graphql_api_id": "gid://shopify/Order/4783296544821" }, "decline": { "reason": "return_period_ended", "note": "As discussed on the phone, the 30-day return window has ended." } }returns/reopen: Sample Payload
{ "id": 123134564567890, "admin_graphql_api_id": "gid://shopify/Return/123134564567890", "order_id": 4783296544821, "status": "open" }returns/request: Sample Payload
{ "id": 123134564567890, "admin_graphql_api_id": "gid://shopify/Return/123134564567890", "status": "requested", "order": { "id": 4783296544821, "admin_graphql_api_id": "gid://shopify/Order/4783296544821" }, "total_return_line_items": 2, "name": null, "return_line_items": [], "return_shipping_fees": [], "exchange_line_items": [], "total_exchange_line_items": 0 }returns/update: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/Return/123134564567890", "return_line_items": { "removals": [ { "admin_graphql_api_id": "gid://shopify/ReturnLineItem/987654321", "delta": 2 } ] }, "restocking_fees": { "updates": [], "removals": [] }, "return_shipping_fees": { "updates": [], "removals": [] } }reverse_deliveries/attach_deliverable: Sample Payload
{ "id": 9080907654321, "admin_graphql_api_id": "gid://shopify/ReverseDelivery/9080907654321", "return": { "id": 123134564567890, "admin_graphql_api_id": "gid://shopify/Return/123134564567890" }, "shipping_deliverable": { "tracking": { "carrier_name": "USPS", "tracking_number": "123345345", "tracking_url": null }, "label": { "public_file_url": null, "created_at": null } } }reverse_fulfillment_orders/dispose: Sample Payload
{ "id": 11111111, "admin_graphql_api_id": "gid://shopify/ReverseFulfillmentOrder/11111111", "dispositions": [ { "reverse_fulfillment_order_line_item": { "id": 2222222, "admin_graphql_api_id": "gid://shopify/ReverseFulfillmentOrderLineItem/2222222" }, "reverse_delivery_line_item": null, "type": "restocked", "location": { "id": 3333333, "admin_graphql_api_id": "gid://shopify/Location/3333333" }, "quantity": 1 }, { "reverse_fulfillment_order_line_item": { "id": 2222223, "admin_graphql_api_id": "gid://shopify/ReverseFulfillmentOrderLineItem/2222223" }, "reverse_delivery_line_item": null, "type": "restocked", "location": { "id": 3333333, "admin_graphql_api_id": "gid://shopify/Location/3333333" }, "quantity": 1 } ], "total_dispositions": 2 }scheduled_product_listings/add: Sample Payload
{ "scheduled_product_listing": { "product_id": 788032119674292922, "created_at": null, "updated_at": "2021-12-31T19:00:00-05:00", "body_html": "An example T-Shirt", "handle": "example-t-shirt", "product_type": "Shirts", "title": "Example T-Shirt", "vendor": "Acme", "available": true, "tags": "example, mens, t-shirt", "variants": [ { "id": 642667041472713922, "title": "Small", "option_values": [ { "option_id": 527050010214937811, "name": "Title", "value": "Small" } ], "price": "19.99", "formatted_price": "$19.99", "compare_at_price": "24.99", "grams": 0, "requires_shipping": true, "sku": null, "barcode": null, "taxable": true, "position": 1, "available": true, "inventory_policy": "deny", "inventory_quantity": 75, "inventory_management": null, "fulfillment_service": "manual", "weight": 0.0, "weight_unit": "lb", "image_id": null, "created_at": "2021-12-29T19:00:00-05:00", "updated_at": "2021-12-30T19:00:00-05:00" }, { "id": 757650484644203962, "title": "Medium", "option_values": [ { "option_id": 527050010214937811, "name": "Title", "value": "Medium" } ], "price": "19.99", "formatted_price": "$19.99", "compare_at_price": "24.99", "grams": 0, "requires_shipping": true, "sku": null, "barcode": null, "taxable": true, "position": 2, "available": true, "inventory_policy": "deny", "inventory_quantity": 50, "inventory_management": null, "fulfillment_service": "manual", "weight": 0.0, "weight_unit": "lb", "image_id": null, "created_at": "2021-12-29T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00" } ], "publish_at": null, "images": [], "options": [ { "id": 527050010214937811, "name": "Title", "product_id": 788032119674292922, "position": 1, "values": [ "Small", "Medium" ] } ] } }scheduled_product_listings/remove: Sample Payload
{ "scheduled_product_listing": { "product_id": 788032119674292922 } }scheduled_product_listings/update: Sample Payload
{ "scheduled_product_listing": { "product_id": 788032119674292922, "created_at": null, "updated_at": "2021-12-31T19:00:00-05:00", "body_html": "An example T-Shirt", "handle": "example-t-shirt", "product_type": "Shirts", "title": "Example T-Shirt", "vendor": "Acme", "available": true, "tags": "example, mens, t-shirt", "variants": [ { "id": 642667041472713922, "title": "Small", "option_values": [ { "option_id": 527050010214937811, "name": "Title", "value": "Small" } ], "price": "19.99", "formatted_price": "$19.99", "compare_at_price": "24.99", "grams": 0, "requires_shipping": true, "sku": null, "barcode": null, "taxable": true, "position": 1, "available": true, "inventory_policy": "deny", "inventory_quantity": 75, "inventory_management": null, "fulfillment_service": "manual", "weight": 0.0, "weight_unit": "lb", "image_id": null, "created_at": "2021-12-29T19:00:00-05:00", "updated_at": "2021-12-30T19:00:00-05:00" }, { "id": 757650484644203962, "title": "Medium", "option_values": [ { "option_id": 527050010214937811, "name": "Title", "value": "Medium" } ], "price": "19.99", "formatted_price": "$19.99", "compare_at_price": "24.99", "grams": 0, "requires_shipping": true, "sku": null, "barcode": null, "taxable": true, "position": 2, "available": true, "inventory_policy": "deny", "inventory_quantity": 50, "inventory_management": null, "fulfillment_service": "manual", "weight": 0.0, "weight_unit": "lb", "image_id": null, "created_at": "2021-12-29T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00" } ], "publish_at": null, "images": [], "options": [ { "id": 527050010214937811, "name": "Title", "product_id": 788032119674292922, "position": 1, "values": [ "Small", "Medium" ] } ] } }segments/create: Sample Payload
{ "id": 1, "name": "Customers who have one order", "query": "number_of_orders = 1", "creationDate": "2022-01-01T00:00:00.000Z", "lastEditDate": "2022-01-01T00:00:00.000Z" }segments/delete: Sample Payload
{ "id": 1 }segments/update: Sample Payload
{ "id": 1, "name": "Customers who have one order", "query": "number_of_orders = 1", "creationDate": "2005-05-05T06:00:00.000Z", "lastEditDate": "2022-01-01T00:00:00.000Z" }selling_plan_groups/create: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/SellingPlanGroup/1039518917", "id": 1039518917, "name": "Subscribe & Save", "merchant_code": "sub-n-save", "admin_graphql_api_app": "gid://shopify/App/2525000003", "app_id": null, "description": null, "options": [ "Delivery every" ], "position": null, "summary": "1 delivery frequency, discount", "selling_plans": [ { "name": "Pay every month deliver every month", "options": [ "month" ], "position": null, "description": null, "billing_policy": { "interval": "month", "interval_count": 1, "min_cycles": null, "max_cycles": null }, "delivery_policy": { "interval": "month", "interval_count": 1, "anchors": [], "cutoff": null, "pre_anchor_behavior": "asap" }, "pricing_policies": [] } ], "product_variants": [], "products": [] }selling_plan_groups/delete: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/SellingPlanGroup/1039518908", "id": 1039518908 }selling_plan_groups/update: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/SellingPlanGroup/1039518913", "id": 1039518913, "name": "Subscribe & Save", "merchant_code": "sub-n-save", "admin_graphql_api_app": "gid://shopify/App/2525000003", "app_id": null, "description": null, "options": [ "Delivery every" ], "position": null, "summary": "1 delivery frequency, discount", "selling_plans": [ { "name": "Pay every month deliver every month", "options": [ "month" ], "position": null, "description": null, "billing_policy": { "interval": "month", "interval_count": 1, "min_cycles": null, "max_cycles": null }, "delivery_policy": { "interval": "month", "interval_count": 1, "anchors": [], "cutoff": null, "pre_anchor_behavior": "asap" }, "pricing_policies": [] } ], "product_variants": [], "products": [] }shop/redact: Sample Payload
{ "shop_id": 954889, "shop_domain": "{shop}.myshopify.com" }shop/update: Sample Payload
{ "id": 548380009, "name": "Super Toys", "email": "super@supertoys.com", "domain": null, "province": "Tennessee", "country": "US", "address1": "190 MacLaren Street", "zip": "37178", "city": "Houston", "source": null, "phone": "3213213210", "latitude": null, "longitude": null, "primary_locale": "en", "address2": null, "created_at": null, "updated_at": null, "country_code": "US", "country_name": "United States", "currency": "USD", "customer_email": "super@supertoys.com", "timezone": "(GMT-05:00) Eastern Time (US & Canada)", "iana_timezone": null, "shop_owner": "John Smith", "money_format": "${{amount}}", "money_with_currency_format": "${{amount}} USD", "weight_unit": "kg", "province_code": "TN", "taxes_included": null, "auto_configure_tax_inclusivity": null, "tax_shipping": null, "county_taxes": null, "plan_display_name": "Shopify Plus", "plan_name": "enterprise", "has_discounts": false, "has_gift_cards": true, "myshopify_domain": null, "google_apps_domain": null, "google_apps_login_enabled": null, "money_in_emails_format": "${{amount}}", "money_with_currency_in_emails_format": "${{amount}} USD", "eligible_for_payments": true, "requires_extra_payments_agreement": false, "password_enabled": null, "has_storefront": true, "finances": true, "primary_location_id": 655441491, "checkout_api_supported": true, "multi_location_enabled": true, "setup_required": false, "pre_launch_enabled": false, "enabled_presentment_currencies": [ "USD" ], "marketing_sms_consent_enabled_at_checkout": false, "transactional_sms_disabled": false }subscription_billing_cycle_edits/create: Sample Payload
{ "subscription_contract_id": 7559010255, "cycle_start_at": "2022-10-01T00:00:00-04:00", "cycle_end_at": "2022-11-01T00:00:00-04:00", "cycle_index": 1, "contract_edit": null, "billing_attempt_expected_date": "2022-11-01T00:00:00-04:00", "skipped": false, "edited": false }subscription_billing_cycle_edits/delete: Sample Payload
{ "subscription_contract_id": 6343816008, "cycle_start_at": "2022-10-01T00:00:00-04:00", "cycle_end_at": "2022-11-01T00:00:00-04:00", "cycle_index": 1, "contract_edit": null, "billing_attempt_expected_date": "2022-11-01T00:00:00-04:00", "skipped": false, "edited": false }subscription_billing_cycle_edits/update: Sample Payload
{ "subscription_contract_id": 8253114966, "cycle_start_at": "2022-10-01T00:00:00-04:00", "cycle_end_at": "2022-11-01T00:00:00-04:00", "cycle_index": 1, "contract_edit": null, "billing_attempt_expected_date": "2022-11-01T00:00:00-04:00", "skipped": false, "edited": false }subscription_billing_cycles/skip: Sample Payload
{ "subscription_contract_id": 9322892687, "cycle_start_at": "2022-10-01T00:00:00-04:00", "cycle_end_at": "2022-11-01T00:00:00-04:00", "cycle_index": 1, "contract_edit": null, "billing_attempt_expected_date": "2022-11-01T00:00:00-04:00", "skipped": true, "edited": true }subscription_billing_cycles/unskip: Sample Payload
{ "subscription_contract_id": 8340080694, "cycle_start_at": "2022-10-01T00:00:00-04:00", "cycle_end_at": "2022-11-01T00:00:00-04:00", "cycle_index": 1, "contract_edit": null, "billing_attempt_expected_date": "2022-11-01T00:00:00-04:00", "skipped": false, "edited": true }subscription_contracts/activate: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/SubscriptionContract/4367739981", "id": 4367739981, "billing_policy": { "interval": "week", "interval_count": 4, "min_cycles": 1, "max_cycles": 2 }, "currency_code": "CAD", "customer_id": 1, "admin_graphql_api_customer_id": "gid://shopify/Customer/1", "delivery_policy": { "interval": "week", "interval_count": 2 }, "status": "active", "admin_graphql_api_origin_order_id": "gid://shopify/Order/1", "origin_order_id": 1, "revision_id": "9180612443" }subscription_contracts/cancel: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/SubscriptionContract/1634929605", "id": 1634929605, "billing_policy": { "interval": "week", "interval_count": 4, "min_cycles": 1, "max_cycles": 2 }, "currency_code": "CAD", "customer_id": 1, "admin_graphql_api_customer_id": "gid://shopify/Customer/1", "delivery_policy": { "interval": "week", "interval_count": 2 }, "status": "cancelled", "admin_graphql_api_origin_order_id": "gid://shopify/Order/1", "origin_order_id": 1, "revision_id": "6957441202" }subscription_contracts/create: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/SubscriptionContract/7103183873", "id": 7103183873, "billing_policy": { "interval": "week", "interval_count": 4, "min_cycles": 1, "max_cycles": 2 }, "currency_code": "CAD", "customer_id": 1, "admin_graphql_api_customer_id": "gid://shopify/Customer/1", "delivery_policy": { "interval": "week", "interval_count": 2 }, "status": "active", "admin_graphql_api_origin_order_id": "gid://shopify/Order/1", "origin_order_id": 1, "revision_id": "8906927309" }subscription_contracts/expire: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/SubscriptionContract/2619308913", "id": 2619308913, "billing_policy": { "interval": "week", "interval_count": 4, "min_cycles": 1, "max_cycles": 2 }, "currency_code": "CAD", "customer_id": 1, "admin_graphql_api_customer_id": "gid://shopify/Customer/1", "delivery_policy": { "interval": "week", "interval_count": 2 }, "status": "expired", "admin_graphql_api_origin_order_id": "gid://shopify/Order/1", "origin_order_id": 1, "revision_id": "5923740564" }subscription_contracts/fail: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/SubscriptionContract/6174371109", "id": 6174371109, "billing_policy": { "interval": "week", "interval_count": 4, "min_cycles": 1, "max_cycles": 2 }, "currency_code": "CAD", "customer_id": 1, "admin_graphql_api_customer_id": "gid://shopify/Customer/1", "delivery_policy": { "interval": "week", "interval_count": 2 }, "status": "failed", "admin_graphql_api_origin_order_id": "gid://shopify/Order/1", "origin_order_id": 1, "revision_id": "8415628824" }subscription_contracts/pause: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/SubscriptionContract/8581128542", "id": 8581128542, "billing_policy": { "interval": "week", "interval_count": 4, "min_cycles": 1, "max_cycles": 2 }, "currency_code": "CAD", "customer_id": 1, "admin_graphql_api_customer_id": "gid://shopify/Customer/1", "delivery_policy": { "interval": "week", "interval_count": 2 }, "status": "paused", "admin_graphql_api_origin_order_id": "gid://shopify/Order/1", "origin_order_id": 1, "revision_id": "5978940915" }subscription_contracts/update: Sample Payload
{ "admin_graphql_api_id": "gid://shopify/SubscriptionContract/9232789140", "id": 9232789140, "billing_policy": { "interval": "week", "interval_count": 4, "min_cycles": 1, "max_cycles": 2 }, "currency_code": "CAD", "customer_id": 1, "admin_graphql_api_customer_id": "gid://shopify/Customer/1", "delivery_policy": { "interval": "week", "interval_count": 2 }, "status": "active", "admin_graphql_api_origin_order_id": "gid://shopify/Order/1", "origin_order_id": 1, "revision_id": "4343744208" }tax_services/create: Sample Payload
{ "id": null, "name": "Tax Service", "url": "https://taxes.shopify.com", "active": true }tax_services/update: Sample Payload
{ "id": null, "name": "Tax Service", "url": "https://taxes.shopify.com", "active": true }tender_transactions/create: Sample Payload
{ "id": 220982911946154508, "order_id": 820982911946154508, "amount": "419.95", "currency": "USD", "user_id": null, "test": false, "processed_at": null, "remote_reference": "1001", "payment_details": null, "payment_method": "unknown" }themes/create: Sample Payload
{ "id": 512162865275216980, "name": "Comfort", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "role": "main", "theme_store_id": 1234, "previewable": true, "processing": false, "admin_graphql_api_id": "gid://shopify/Theme/512162865275216980" }themes/delete: Sample Payload
{ "id": 512162865275216980 }themes/publish: Sample Payload
{ "id": 512162865275216980, "name": "Comfort", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "role": "main", "theme_store_id": 1234, "previewable": true, "processing": false, "admin_graphql_api_id": "gid://shopify/Theme/512162865275216980" }themes/update: Sample Payload
{ "id": 512162865275216980, "name": "Comfort", "created_at": "2021-12-31T19:00:00-05:00", "updated_at": "2021-12-31T19:00:00-05:00", "role": "main", "theme_store_id": 1234, "previewable": true, "processing": false, "admin_graphql_api_id": "gid://shopify/Theme/512162865275216980" }variants/in_stock: Sample Payload
{ "id": 642667041472713922, "product_id": 788032119674292922, "title": "Small", "price": "19.99", "position": 1, "inventory_policy": "deny", "compare_at_price": "24.99", "option1": "Small", "option2": null, "option3": null, "created_at": "2021-12-29T19:00:00-05:00", "updated_at": "2021-12-30T19:00:00-05:00", "taxable": true, "barcode": null, "sku": null, "inventory_quantity": 75, "old_inventory_quantity": 75, "admin_graphql_api_id": "gid://shopify/ProductVariant/642667041472713922", "image_id": null }variants/out_of_stock: Sample Payload
{ "id": 642667041472713922, "product_id": 788032119674292922, "title": "Small", "price": "19.99", "position": 1, "inventory_policy": "deny", "compare_at_price": "24.99", "option1": "Small", "option2": null, "option3": null, "created_at": "2021-12-29T19:00:00-05:00", "updated_at": "2021-12-30T19:00:00-05:00", "taxable": true, "barcode": null, "sku": null, "inventory_quantity": 0, "old_inventory_quantity": 0, "admin_graphql_api_id": "gid://shopify/ProductVariant/642667041472713922", "image_id": null }
Anchor to CustomizeCustomize
Filter events
Manage the number of event messages your app receives by filtering events. Unlike payload modifications, filters are made up of rules, applied to a webhook subscription, which act as a gate for whether or not webhooks are delivered when an event occurs.
Modify payloads
Shopify provides you with a way to modify the payload you receive when you subscribe to webhook topics. Unlike filters, which always return the same payload, this feature enables you to specify what subset of information is most relevant to your use case from a webhook.
Use alongside Events
For topics with Events support, you can run both an Events subscription and a webhook in the same shopify.app.toml.
Events gives you field-level triggers and custom GraphQL payloads.
Use webhooks for topics that don't yet have Events support.
Events require Shopify CLI 3.92 or higher. Run shopify version to check your version.
Events require Shopify CLI 3.92 or higher. Run shopify version to check your version.