Shopify
Stream Shopify Admin API data with a merchant-owned Dev Dashboard app or legacy admin-app token.
Prerequisites
Use a dedicated app owned by the same Shopify organization as the store. You must be the store owner, or hold the App developer role in the store’s Shopify organization, to create the app in the Dev Dashboard. Collaborator accounts cannot access the Dev Dashboard.
Find the store’s permanent myshopify.com domain under Settings → Domains. A storefront custom domain does not work with the Admin API.
Create the App
- In the Shopify admin for the store, open Settings → Apps → Develop apps → Build apps in Dev Dashboard. Starting from the store matters: Shopify permits the client credentials grant only when the app and store belong to the same organization.
- Select Create app, choose Start from Dev Dashboard, name the app, and create it.
- Create an app version. Under URLs, enter an HTTPS app URL you control. Streamkap does not open this URL. Set Webhooks API Version to
2026-10. - Under Access, add the read scopes for every resource you plan to sync. See Scopes.
- Select Release, add optional version details, and release the version.
- Return to the store admin and open Settings → Apps → Develop apps → Build apps in Dev Dashboard. Open the app, select the store under Installs, and install it.
- In the app’s Dev Dashboard Settings, copy the Client ID and Client secret.
Streamkap exchanges these credentials for an access token and renews it before its roughly 24-hour expiry. You do not rotate the token by hand.
Streamkap Setup
- Open Add Connectors and choose Shopify (API).
- Enter a unique source name and the store’s permanent
myshopify.comdomain. - Keep Dev Dashboard app selected and enter the client ID and client secret.
- Select Test connection. Streamkap verifies the store, the app installation and the granted scopes.
- Select resources and a backfill start date, select Test access to check each selected resource, review the configuration, and select Create. API version is fixed at
2026-10.
The initial selection is orders, order_line_items, order_refunds, order_transactions, fulfillments, customers, products, product_variants, collections, inventory_items, inventory_levels, locations and shop. Add a preset offers Orders, Catalog & inventory, Customers, Payments and Everything every store serves, which leaves out the resources that need Shopify Payments, an eligible plan, a subscription app or protected customer data: balance_transactions, payouts, disputes, staff_members, gift_cards, subscription_contracts and customer_journey_summary. One Shopify store backs one Shopify API source per Streamkap workspace, keyed on its myshopify.com domain; see One source per vendor account. Each selected resource creates its own topic. Then send the topics to a destination: see Send topics to a destination.
Already Have a Legacy Custom App?
Use Legacy custom app only for an app created in the Shopify admin before January 1, 2026. Copy its Admin API access token into Streamkap. Shopify shows this token once. If it is lost, uninstall and reinstall the app to obtain a new token.
Editing the Source
- Replace the client secret or legacy token: open the Auth tab, select Replace, enter the new value and save. The source continues from its saved positions.
- Grant a new scope: add it to the app’s access scopes, release a new version, install it on the store, then select the resource and run Test access before saving.
- Change the store domain: Shopify lets the owner change the
myshopify.comdomain once. Edit the source, enter the new domain and the credentials again, and save. The source asks Shopify which store the domain belongs to: the same store continues where it stopped; another store starts again from the backfill start date. - For changing resources, see Editing an API source.
Scopes
Grant only the scopes needed by your selected resources. A write scope includes its read scope, so an app that already holds write_orders needs no separate read_orders.
- Orders:
read_ordersfororders,order_line_items,order_shipping_lines,order_refunds,order_transactions,fulfillments,fulfillment_events,order_risks,order_agreements,customer_journey_summaryandabandoned_checkouts. Addread_all_ordersfor orders created more than 60 days ago. An app owned by the store’s own organization does not need Shopify’s approval for that scope; an app from a Partner organization does. - Tender transactions:
read_orders.eventsandshopneed no read scope. - Customers and B2B:
read_customersforcustomers,customer_addresses,companies,company_locationsandcompany_contacts. - Customer segments:
read_customersforsegmentsandcustomer_segment_members. - Products and collections:
read_productsforproducts,product_variants,product_media,collections,collection_productsand related metafields. - Inventory:
read_inventoryforinventory_items,inventory_levelsandinventory_transfers; inventory levels also needread_locations.locationsneedsread_locations. - Fulfillment orders: grant at least one of
read_assigned_fulfillment_orders,read_merchant_managed_fulfillment_orders,read_third_party_fulfillment_orders,read_marketplace_fulfillment_ordersorread_buyer_membership_orders. Shopify returns only the kinds covered by the granted scopes;read_fulfillmentsalone does not cover them. - Drafts, returns and fulfillment services:
read_draft_orders,read_returnsandread_fulfillmentsrespectively. - Discounts and gift cards:
read_discountsandread_gift_cardsrespectively. - Catalogs, prices and publications:
read_productsand, where selected,read_publications. - Payments:
read_shopify_payments_payoutsfor balance transactions and payouts;read_shopify_payments_disputesfor disputes. - Content:
read_contentorread_online_store_pagesfor articles, pages and blogs. - Markets and shipping:
read_marketsfor markets and market regions;read_shippingfor countries. - Marketing:
read_marketing_eventsfor marketing events. - Translations:
read_translationsfortranslatable_resources. - Staff:
read_users. Shopify requires approval and limits this scope to eligible plans. - Subscription contracts:
read_own_subscription_contracts. - Metafields: use the owner’s scope:
read_orders,read_draft_orders,read_products,read_customers(customers and companies),read_locations, or the content scopes listed above. Shop metafields need no additional read scope.
A related object guarded by another scope is left out of the read when that scope is not granted, so the resource still syncs without that column. Grant the scope to add it:
read_customers: thecustomerof orders, draft orders, abandoned checkouts, gift cards and subscription contracts, and an order’s customer purchasing entity.read_users: the staff member on orders, line items, refunds, returns, agreements, order and tender transactions, and the shop’s account owner.read_locations: an order’s retail location and the location of order transactions, refund line items and fulfillments.read_products: the product and variant of order line items, draft order line items and fulfillment order line items.read_orders: a customer’s last order and the order linked from draft orders, returns, gift cards, disputes, fulfillment orders and subscription contracts.read_inventory: a variant’s inventory item.read_payment_terms,read_publications,read_returns,read_fulfillments,read_own_subscription_contracts,read_customer_payment_methods,read_gift_card_transactionsandread_legal_policies: payment terms with their payment schedules, publications (including a product’sresourcePublications), returns, fulfillment services, line item subscription contracts, contract payment methods, gift card transactions and shop policies.
abandoned_checkouts also requires the staff permission to manage abandoned checkouts. Streamkap cannot inspect that permission and warns during the connection test.
Supported Resources
Shopify supports 67 resources across orders, customers, products, collections, inventory, discounts, payments, content, B2B, markets, staff, subscriptions, events and 13 owner-specific metafield tables. The resource picker is the authoritative ordered list for the installed connector version.
Nested Shopify connections are drained before a row is emitted, including order and draft order payment schedules, abandoned checkout line items and product publications. Related objects arrive as JSON columns with their scalar fields and money amounts; deeper objects are included only where they carry the value, such as risk assessment facts, discount values and minimums, and inventory item weights. Metafield rows identify their owner and any referenced object by ID only, alongside ownerType and the owner’s ID column. Child rows carry their parent identity. Customer addresses use customer_id|address_id; inventory levels, collection membership and other compound rows use similarly stable composite keys. GraphQL global IDs remain available in admin_graphql_api_id; the row id is the stable scalar part used by destinations.
Behavior & Limits
History, Updates and Deletes
Shopify exposes only the most recent 60 days of orders unless the app has read_all_orders. A backfill date cannot override that restriction: without the scope, Streamkap starts order backfills 60 days back.
Incremental resources use overlapping reads and may deliver the same row more than once. Destinations should upsert on id. Customer filtering can be day-granular; Streamkap rereads the boundary day and deduplicates it. Inventory levels use a complete location pass with no cursor lookback, including when the source has a larger global lookback. Shopify does not move an inventory level’s updated_at for every quantity it holds (damaged, quality control, safety stock or incoming quantities), so Streamkap also re-reads every level once a week and sends the ones that changed: such an edit arrives within a week. When one filtered query reaches 25,000 rows, such as a large backlog of customer edits, Streamkap finishes it as a resumable bulk job, which costs no query points. Order children with nested data recover a capped parent listing through a bulk list of parent identities, then complete API child reads, preserving the nested data.
Destroy events cover supported top-level objects. Streamkap waits 300 seconds for Shopify search results to settle before using an event; the events and tender_transactions resources read up to the same 300-second horizon. For resources with weekly reconciliation, Streamkap separately confirms vanished IDs with read-only object queries before emitting a delete. Child rows of a deleted order are not tombstoned. Gift cards and Shopify Payments rows have no delete signal. A weekly refresh re-reads product media and owner metafields to recover child-only edits; it does not emit tombstones for vanished child rows. Above 5,000 tracked child rows, this refresh re-emits the full population to keep restart state bounded.
Shopify’s event history is retained for one year. Keep the source running so delete events are consumed before they expire. Search and event propagation delay remain vendor-dependent.
Bulk Jobs
Shopify permits five running bulk query operations per app per store. Streamkap owns at most four, leaving one slot for store operators and other tools. It tags its jobs, adopts a running job that runs the same query after a restart, tagged for that read or untagged, and resumes downloaded JSONL at the saved line. A downloaded result is checked against the object count and file size Shopify reports for the job; a result that falls short is read again rather than taken as complete. Deleting a source does not cancel bulk jobs already running in Shopify: they finish or expire within ten days. Remove an abandoned job in Shopify if it blocks new work.
Rate Limits and Access
Shopify GraphQL responses report query cost. Streamkap sends one request at a time and pauses while the transient bucket restores. THROTTLED can arrive in an HTTP 200 response and is retried after capacity returns. Streamkap sizes every page to stay within Shopify’s 1,000-point single-query limit. For MAX_COST_EXCEEDED, it keeps halving the page for the rest of that read and surfaces an explicit query-cost error only if Shopify refuses a single row.
Shopify can return customer fields as null or refuse them when the app has no protected customer data access. Granting read_customers alone may not grant protected fields. Test connection reports the store’s current behavior. A missing scope pauses only the affected resource and names the scope to add. A frozen, paused or closed store makes the source retry until the owner reactivates the store.
Troubleshooting
Shopify returned shop_not_permitted
The app and store are in different Shopify organizations. Create the app again by starting in this store’s admin under Settings → Apps → Develop apps → Build apps in Dev Dashboard, install it on the store, and use the new client ID and secret.
Shopify rejected the store domain
Enter the permanent your-store.myshopify.com domain from Settings → Domains. Do not enter a custom storefront domain, path, port or user information.
"Shopify has no store at …" or "Shopify redirected the request for …"
Shopify answered as it does for a myshopify.com domain that no store holds, or redirected the request, which Shopify does after the store owner changes the store’s myshopify.com domain. The source stops syncing once this has repeated for three polls and 15 minutes. Enter the store’s current myshopify.com domain in Shop domain, enter the client secret or access token again, and save. When the new domain belongs to the same store, the source keeps its synced position; a different store is synced from the start.
A resource reports ACCESS_DENIED
Add the named read scope to a new app version, release it, and reinstall or update the app on the store. Then test the connection again.
Older orders are missing
Add read_all_orders to the app version; an app from a Partner organization also needs Shopify’s approval for it. Without it, Shopify returns only orders created in the last 60 days.
Customer fields are null or refused
Review Shopify’s protected customer data access for the app and the store plan. Test connection reports whether the selected customer and order fields are readable.
The source is Throttled
Wait for Shopify’s GraphQL cost bucket to restore. Reduce other Admin API traffic or deselect expensive resources if throttling recurs.
API or Webhook?
Use the Shopify webhook source for low-latency push events. Use this Shopify API source for backfills, broad resource coverage, reconciliation and confirmed deletes. You can run both when you need fast events and complete history.
Related Documentation
- API sources - polling, test access, deletes and destinations