What is imported
Orders created or changed since the last run arrive in the ERP as customer orders, the customer being found by email address or created when unknown.
Lines carry quantities net of refunds and removals, the discount allocated by Shopify and VAT equal to the sum of the line rates, while the refunded amount is noted on the order.
An order cancelled in Shopify moves to “Cancelled” in the ERP, unless it is already delivered, invoiced or closed, in which case the cancellation is flagged in the log to be handled by hand.
- Stable identifier per order and ERP number reserved only once, at creation.
- Cursor pagination, the next page being saved before it is read so an interrupted synchronisation resumes at the right place.
Authentication and security
The standard mode is a Dev Dashboard app installed on your store: IRPEA receives the client ID and secret, obtains a token valid for 24 hours and requests it again on its own when it expires.
A legacy custom app created before 1 January 2026 is still accepted through its Admin API token, with hourly synchronisation and no webhooks.
The test checks that the read_orders scope is granted and names it when missing, and secrets are sealed at rest.
Frequency and webhooks
With a Dev Dashboard app, the test registers the order creation, update and refund webhooks, each one verified by HMAC signature with the client secret and followed by an incremental synchronisation, while the hourly cron acts as a safety net.
What is not done
The connector writes nothing to Shopify, synchronises neither products nor inventory, and disconnecting removes the webhooks it had registered.
The procedure
Setup
Create the app : On dev.shopify.com, create an app and, under Versions, grant the Admin API scopes read_orders and read_all_orders for history beyond 60 days, then release the version.
Request customer data : Under “Protected customer data access”, request access to names, emails and addresses, otherwise customers arrive without an email.
Install : Install the app on your store in the same organisation, then copy the Client ID and Client secret from Settings.
Connect and test : Paste the myshopify.com domain, the client ID and secret, then click “Connect and test”, the store is displayed and the order webhooks are registered.
Legacy app : For a custom app created before 2026, only paste its shpat_ Admin API token.