{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "a24c8d9784c9e9fe937c63f76adbce108201378f",
  "registry_committed_at": "2026-11-19T08:56:09Z",
  "disclaimer": "Independent reference. Not affiliated with Shopify.",
  "vendor": "shopify",
  "event": "draft_orders/update",
  "resource": "draft_orders",
  "url": "https://hookdeck.com/webhooks/shopify/events/draft-orders#draft_orders%2Fupdate",
  "description": "Draft order changes",
  "trigger": null,
  "listed_in": "https://shopify.dev/docs/api/admin-graphql/latest/enums/WebhookSubscriptionTopic",
  "confidence": "documented",
  "schema_source": "from Shopify docs (example)",
  "identified_by": "x-shopify-topic header",
  "payload": {
    "provenance": "doc-example",
    "value_realism": "doc-example-values",
    "field_count": 157,
    "key_fields": [
      {
        "path": "id",
        "type": "integer",
        "example": "890612572568261600"
      },
      {
        "path": "status",
        "type": "string",
        "example": "open"
      },
      {
        "path": "total_price",
        "type": "string",
        "example": "284.33",
        "watch_out": "Numeric string."
      },
      {
        "path": "created_at",
        "type": "string",
        "example": "2023-02-20T20:31:08-05:00"
      }
    ],
    "delivery": {
      "title": "From Shopify docs",
      "content_type": "application/json",
      "headers": []
    },
    "body": {
      "id": 890612572568261600,
      "note": null,
      "email": "jon@doe.ca",
      "taxes_included": false,
      "currency": "CAD",
      "invoice_sent_at": null,
      "created_at": "2023-02-20T20:31:08-05:00",
      "updated_at": "2023-02-20T20:31:08-05:00",
      "tax_exempt": false,
      "completed_at": null,
      "name": "Jane Doe",
      "status": "open",
      "line_items": [
        {
          "id": 994118531,
          "variant_id": 41886814240980,
          "product_id": 7339056169172,
          "title": "Ben Simmons 76's Jersey – Used",
          "variant_title": null,
          "sku": "1",
          "vendor": "Example Company",
          "quantity": 3,
          "requires_shipping": true,
          "taxable": true,
          "gift_card": false,
          "fulfillment_service": "manual",
          "grams": 0,
          "tax_lines": [],
          "applied_discount": null,
          "name": "Ben Simmons 76's Jersey – Used",
          "properties": [],
          "custom": false,
          "price": "1.99",
          "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/994118531"
        },
        {
          "id": 994118533,
          "variant_id": 43383372185812,
          "product_id": 7788537905364,
          "title": "Cat Laser Toy",
          "variant_title": null,
          "sku": "",
          "vendor": "Example Company",
          "quantity": 1,
          "requires_shipping": true,
          "taxable": true,
          "gift_card": false,
          "fulfillment_service": "manual",
          "grams": 0,
          "tax_lines": [],
          "applied_discount": null,
          "name": "Cat Laser Toy",
          "properties": [],
          "custom": false,
          "price": "30.00",
          "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/994118533"
        },
        {
          "id": 994118535,
          "variant_id": 43383372185812,
          "product_id": 7788537905364,
          "title": "Cat Laser Toy",
          "variant_title": null,
          "sku": "",
          "vendor": "Example Company",
          "quantity": 10,
          "requires_shipping": true,
          "taxable": true,
          "gift_card": false,
          "fulfillment_service": "manual",
          "grams": 0,
          "tax_lines": [],
          "applied_discount": {
            "description": "bulk discount",
            "value": "10.0",
            "title": "Bulk Discount",
            "amount": "30.00",
            "value_type": "percentage"
          },
          "name": "Cat Laser Toy",
          "properties": [],
          "custom": false,
          "price": "30.00",
          "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/994118535"
        }
      ],
      "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://shop.myshopify.com/checkouts/example",
      "applied_discount": {
        "description": "loyalty",
        "value": "50.0",
        "title": "Loyalty",
        "amount": "50.00",
        "value_type": "fixed_amount"
      },
      "order_id": null,
      "shipping_line": {
        "title": "Generic Shipping",
        "custom": true,
        "handle": null,
        "price": "10.00"
      },
      "tax_lines": [
        {
          "rate": 0.06,
          "title": "State tax",
          "price": "0.36"
        },
        {
          "rate": 0.06,
          "title": "State tax",
          "price": "1.80"
        },
        {
          "rate": 0.06,
          "title": "State tax",
          "price": "16.20"
        }
      ],
      "tags": "",
      "note_attributes": [],
      "total_price": "284.33",
      "subtotal_price": "255.97",
      "total_tax": "0.00",
      "payment_terms": {
        "id": 706405506930370000,
        "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": 606405506930370000,
            "created_at": "2021-01-01T00:00:00-05:00",
            "updated_at": "2021-01-01T00:00:01-05:00",
            "payment_terms_id": 706405506930370000,
            "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": "10.00",
            "currency": "USD"
          }
        ]
      },
      "admin_graphql_api_id": "gid://shopify/DraftOrder/890612572568261625",
      "customer": {
        "id": 706405506930370000,
        "email": "john@doe.ca",
        "accepts_marketing": false,
        "created_at": null,
        "updated_at": null,
        "first_name": "John",
        "last_name": "Smith",
        "orders_count": 0,
        "state": "disabled",
        "total_spent": "0.00",
        "last_order_id": null,
        "note": null,
        "verified_email": true,
        "multipass_identifier": null,
        "tax_exempt": false,
        "tags": "",
        "last_order_name": null,
        "currency": "CAD",
        "phone": null,
        "accepts_marketing_updated_at": null,
        "marketing_opt_in_level": null,
        "tax_exemptions": [],
        "email_marketing_consent": {
          "state": "not_subscribed",
          "opt_in_level": null,
          "consent_updated_at": null
        },
        "sms_marketing_consent": null,
        "admin_graphql_api_id": "gid://shopify/Customer/706405506930370084",
        "default_address": {
          "id": null,
          "customer_id": 706405506930370000,
          "first_name": null,
          "last_name": null,
          "company": null,
          "address1": "123 Elm St.",
          "address2": null,
          "city": "Ottawa",
          "province": "Ontario",
          "country": "Canada",
          "zip": "K2H7A8",
          "phone": "123-123-1234",
          "name": "",
          "province_code": "ON",
          "country_code": "CA",
          "country_name": "Canada",
          "default": true
        }
      }
    }
  }
}