Connect Shopify order attribution
Connect a Shopify shop, enable verified order delivery, and resolve offline authorization issues.
Last updated November 29, 2026
Connect and enable order delivery
Connect Shopify for the selected brand, then open Site Tracking → Connections → Store orders and choose Enable order sync. The brand must use Stores as its native payment source. A Stripe payment source cannot register store order subscriptions until you change the source explicitly.
Order attribution requires Shopify’s read_orders permission. Reconnect if the
connection reports Needs reconnect. The integration registers ORDERS_PAID
and REFUNDS_CREATE subscriptions, preserving matching subscriptions already
registered for the same callback. A failed attempt can be retried safely.
How orders are verified
The order attribution adapter uses Shopify Admin GraphQL API 2026-10. A valid
webhook signature alone does not authorize financial data: the adapter reads the
canonical shop and order using the selected connection, checks the shop domain
and order ownership, and translates Shopify’s returned values into the ledger.
Webhook amounts, customer details and attribution attributes cannot override that
readback. Test mode comes from the canonical Shopify Order.test Boolean, never
from a webhook claim. Purchases and refunds retain that mode; a refund cannot
conflict with its recorded purchase. Missing or invalid mode data is retried
instead of being classified as real revenue. Only paid, partially refunded or refunded orders qualify.
Purchases use the original shop-currency order total. Refunds use successful refund transactions in that currency, read across bounded pages. Pending refunds, provider errors, mismatched identities and incomplete responses retry without accepting a partial refund. A refund receipt by itself does not prove money was returned. Refunds retain their purchase link for attribution.
Shopify normally limits order access to the last 60 days. Older orders require
Shopify-approved read_all_orders access in addition to read_orders; this flow
does not request or promise that approval. It does not run a historical order
backfill. See Shopify order access.
Offline access and reconnects
New authorizations request expiring offline access and store the encrypted access and refresh tokens with Shopify’s returned expiration times. Expiring access is refreshed on demand with serialized, fenced credential writes; a refresh does not add permissions that the connection did not already hold. Existing legacy connections without an expiration continue to work; they are not silently converted. Reconnect to replace an expired or denied refresh authorization.
A temporary provider failure preserves the connection so you can retry. A local disconnect deactivates the credential, clears its stored refresh token and attempts to uninstall the app remotely; remote uninstall is best effort. See Shopify offline token migration.
Delivery limits and deployment settings
Canonical verification has a four-second overall budget, up to ten refund pages, 100 transactions per page and a 256 KB response limit with a 10,000-node parsing budget. Subscription discovery has ten pages of 100 subscriptions and a 20-second overall registration budget. Exceeding a limit reports a retryable failure rather than declaring incomplete data successful.
Shopify’s webhook payload version is an app deployment setting, separate from this GraphQL API pin. Operators must maintain that supported app configuration and required protected-customer-data access. Customer email and phone may be unavailable without Shopify approval; order verification does not bypass it. These guarantees cover order attribution and shared OAuth, not the separate catalog publishing/writeback clients. Monitor accepted events in the Order delivery inbox.