Shopify Order Import
Import Shopify orders into the app with money, fulfilment, and later edits accurately kept.
What it adds
A resumable import of the connected store's orders, mirroring line items, discounts, taxes, and fulfilment state locally.
What your agent is told to do
5
What your agent is told to do
5-
1
Separate the initial backfill from the ongoing feed. The backfill walks history in a stable order behind a resumable cursor; the feed applies live updates as they arrive.
-
2
Key every imported order on the shop identifier together with the store's own order identifier, so re-running the import updates existing rows instead of duplicating them.
-
3
Store money as an exact decimal with its currency alongside it, and keep both the shop currency and the presented currency where they differ. Do not convert to a single display currency on the way in, because the original amounts cannot be recovered afterwards.
-
4
Treat an order as a state machine rather than a snapshot. Edits, cancellations, refunds, and partial fulfilments all arrive later as new versions of a record you already hold.
-
5
Customer identity and marketing consent are owned by Shopify Customer Sync. Link to the customer record that brief maintains rather than writing customer fields from an order payload.
Edge cases it handles
8
Edge cases it handles
8- A backfill interrupted halfway must resume from its cursor without re-importing what it already wrote. Restarting from the beginning is acceptable only if every write is keyed and idempotent.
- External identifiers are unique per store, not globally. Two connected shops will eventually produce the same order number, and an unscoped key silently overwrites one with the other.
- Test orders placed while a store was in a sandbox or test payment mode must be flagged or excluded, or they will inflate every revenue figure the app reports.
- An order can be edited after the fact, cancelled, refunded in part, and fulfilled across several shipments. Each of those is a later version of the same order and must replace the local state rather than add a second row.
- Money must never pass through a floating-point value. Multi-currency stores also present two amounts for the same order, and the app has to record which is which.
- Updates arrive for an order while the backfill is still running, sometimes before that order has been imported at all. Queue them and apply them by version or timestamp so older backfill data cannot overwrite a newer change.
- Orders reference products and variants that may since have been deleted. Keep the title, price, and identifier the line item captured at the time rather than depending on a live product lookup.
- A store with years of history will hit the provider's rate limits during a backfill. Pace the import and back off when refused rather than retrying in a tight loop.
Definition of done
8
Definition of done
8- A backfill can be interrupted and resumed, and re-running it produces no duplicate orders.
- Order keys include the shop, so two connected stores cannot collide.
- Cancelled, refunded, edited, test, and partially fulfilled orders each land in a distinct, queryable local state.
- Money is stored as exact decimals with explicit currency, and multi-currency orders retain both amounts.
- Updates arriving mid-backfill are applied in the correct order and are never overwritten by older data.
- Customer records are linked from Shopify Customer Sync rather than created here.
- The feature matches the existing design system.
- No existing functionality is broken.
Related features
Shopify Customer Sync
Shopify Customer Sync
Keep Shopify customers current from app users without crossing stores or resetting consent.
What it does
A sync that creates or updates a customer record in the connected store whenever an app user's details or consent change.
How it works
- 1 Find the app events that should reach the store — account creation, profile edit, address change, consent change — and sync from those events rather than sweeping every user on a timer.
- 2 Scope every request, every lookup, and every stored identifier to one connected shop. Treat the shop as part of the customer's identity, not as ambient configuration.
- 3 Store the provider's customer identifier against the app user per shop and match on it first, falling back to a normalized email address only when no identifier has been recorded yet.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/shopify-customer-sync
Paddle Subscription Checkout
Paddle Subscription Checkout
Sell subscriptions through Paddle with entitlements granted only by verified events.
What it does
A Paddle-backed subscription purchase and lifecycle flow where local access follows verified server events and prices stay under server control.
How it works
- 1 Hold the catalogue mapping on the server: which local plan corresponds to which provider offering, at which price and currency. The client passes a plan identifier and nothing about money.
- 2 Carry an account or workspace reference into the checkout so the subscription that comes back can be attached to the right tenant without matching on email address.
- 3 Grant access only from verified server-side events, and store the event identifier so a retried delivery changes nothing a second time.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/paddle-subscription-checkout
WooCommerce Order Sync
WooCommerce Order Sync
Pull WooCommerce orders and customers into the app across stores you do not control.
What it does
A sync of orders and their customers from a connected store, tolerant of custom statuses, taxes, currencies, and plugins.
How it works
- 1 Treat the store's configuration as unknown at build time. Read the statuses, tax rows, currencies, and payment methods the store actually reports rather than hard-coding the defaults a stock install ships with.
- 2 Map any unrecognized order status onto a defined local fallback and keep the raw value alongside it. A plugin-defined status must never be read as complete by accident.
- 3 Verify every incoming webhook against the store's shared secret before acting on it, and key the resulting write on the store plus the order identifier so redelivery is harmless.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/woocommerce-order-sync
How it works
-
1
Copy the link
Grab the Markdown instruction URL for this feature.
-
2
Give it to your AI
Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.
-
3
It inspects, then implements
Your agent reads your existing app first, then adds the feature to fit it.
Works with your stack
These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.
Need it tighter than that? Customize the feature and tell it exactly what you're running.