Keep access tokens, customer hostnames, and account-specific values in secure configuration. The docs should describe the sequence, not store credentials.
Before you start
Confirm:- You are signed in to the correct active company or active tenant.
- You are a Tenant user, Company editor or Tenant admin in the active tenant. A Company view only member can read connections but not change them.
- The Shopify shop or Admin API URL is known.
- The Shopify API version is known.
- The timezone for Shopify date windows is known.
- The Shopify access token can read orders, and returns if you will reconcile returns. Without
read_all_orders, Shopify only serves orders from the last 60 days.
Steps
1
Open Shopify settings
Open Ask Darpan with
Cmd/Ctrl+K or by clicking Tara, the red panda in the corner. Search for Open Shopify Settings and open the result.2
Create the Shopify connection
Choose Create Shopify Config. Answer the setup questions:
- Shop/API URL
- API Version
- Timezone
- Access Token
- Shopify label
3
Confirm the connection is reusable
Return to Open Shopify Settings. The saved connection should appear on the settings surface.The connection is ready when a reconciliation run or automation can select Shopify as an API source.
Endpoints
Run pickers and results name these by source, for example Shopify returns and Shopify order lines.
Each connection enables endpoints separately under Available Endpoints. An endpoint that is not enabled is not offered when you build a run. The saved connection’s page lists the enabled endpoints under Endpoints.
Customer data
Darpan reads Shopify’s protected customer data at Level 1: it never reads a customer’s email, phone, name or address. Orders carry their customer’s ID only, and the field catalog offers no email or shipping address fields. Every Shopify read goes through this check, including runs, lookups, free-form GraphQL and the audit agent’s queries, so a query that asks for those fields is refused before anything is sent to Shopify. Match Shopify orders to other systems by order name, order ID or transaction IDs, not by email.Validation
Open the saved connection from Open Shopify Settings and choose Run connection diagnostics. Darpan checks the credentials against Shopify and lists each check with its result, without running a reconciliation. The last check, Bulk reads allowed, confirms the token can run the bulk reads every run uses. A token can read orders and still fail it. Then run one small reconciliation with a narrow date range and confirm Shopify returns records before you schedule it.Share the connection with another tenant
An organisation running several tenants against one upstream system would otherwise enter, rotate and audit the same credentials in each. Sharing removes the duplication: one tenant owns the connection, and named peer tenants may use it. Open the saved connection’s edit form. The Shared with panel shows the owning tenant, marked owner, and a chip for each peer tenant.- + Add tenant opens a picker of tenants you can share with. Choosing one grants it access.
- The × on a peer chip revokes that tenant’s access. The chip turns into … removed with an undo link for a few seconds.
Remove a connection
On the saved connection’s page, choose Delete Shopify config and confirm. Only the tenant that owns the connection can delete it, and not while it is shared with other tenants. Stop sharing it first. Darpan pauses the automations that read the connection but does not check saved runs, so check which runs depend on it before you delete it. Deleting moves the connection to the bin for your tenant’s bin window (14 days unless your tenant set its own), and the confirmation says how long. Automations that read it are paused, and the delete is refused while the connection feeds an audit, naming the audit: take it out of the audit first. To bring it back, turn on Show archived on the connections list and choose Restore. Its automations stay paused until you turn each one back on from its automation page. When the window ends, Darpan deletes the connection and the data it kept for it. Installing the Darpan app on the same store again while its connection is in the bin restores that connection with fresh tokens.Troubleshooting
- If Shopify fails, run the connection diagnostics first, then check the shop URL, API version, token validity, and order-read permission.
- If Bulk reads allowed fails, the token cannot run bulk queries even though it reads orders. Connections troubleshooting says how to turn them on.
- If Shopify does not appear as an API source, confirm the connection is active and that the endpoint you need is enabled under Available Endpoints.
- If records return outside the expected window, confirm the timezone used for Shopify date windows.