← All integrations

Commerce & Payments · Integration

Embed a Shopify integration in your product

Add Shopify to your product for your customers, and give your AI agents governed access to it.

A Shopify integration inside your product lets a merchant connect their own shop and work their orders, products, variants, inventory levels by location, fulfillments and customers where they already are. Two things shape how this gets built. Access is granted per shop, so the token you hold belongs to one myshopify domain and nothing else, and the Admin API is GraphQL first, which means throughput is governed by the calculated cost of each query rather than a flat call count. Ask for fewer fields and you get more headroom. Webhooks are signed and can arrive more than once, so order handling has to be idempotent. fastn holds each shop's token, monitors the connector through the API version cadence and proposes a fix when Shopify changes its API.

In your product

Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.

  • Let a merchant connect their own shop so your product reads their orders and writes back fulfillment and tracking detail with no per-shop code.
  • Read inventory levels per location, since one stock number means nothing to a merchant shipping from several places.
  • Request only the fields you need from the GraphQL Admin API so a heavy catalog read does not eat a merchant's throughput.
  • React to a signed order or refund webhook, treating a repeat delivery as the same event rather than a second order.

For your AI agents

Governed, audited access for the agents you build, through the MCP server.

  • An agent answers a stock question from live inventory levels at the locations one merchant actually ships from.
  • An agent edits a product or its variants within scoped permissions, and the shop it touched is recorded.
  • An agent traces a customer's recent orders and their fulfillment status before drafting a reply.

Example prompt

Which product variants are out of stock at our warehouse location but still listed for sale?

Set up Shopify in 4 steps

  1. 01Enable the Shopify connector from your fastn dashboard.
  2. 02Have each customer authorize their own Shopify account, so calls run under their credentials rather than a shared key.
  3. 03Decide which orders, payments and customers your product needs, map those fields, then enable the actions and triggers you want.
  4. 04Call it from your product and expose it to your agents through the same governed integration.

Shopify connector reference: actions, triggers and auth

Why teams use the Shopify integration

  • Ship a Shopify integration without building it. Your customers connect their own Shopify account inside your product and work their orders, payments and customers there, and nothing lands on your team.
  • Handle the part that actually costs time: money and order state must never be double-applied, and reconciliation has to be possible. fastn handles the auth, token refresh, rate limits and pagination, and when Shopify changes, its maintainer agent proposes a tested fix, so a Shopify update does not start in your backlog.

Shopify integration FAQ

Can AI agents use this Shopify integration?

Yes, through the fastn MCP gateway, scoped per customer and audited. An agent answers a stock question from live inventory levels at the locations one merchant actually ships from. For example: "Which product variants are out of stock at our warehouse location but still listed for sale?"

Is the Shopify integration safe for payment and order writes?

Writes are idempotent, so a retry cannot double-charge or duplicate an order, and every call is logged per tenant so a transaction can be reconciled against the event that triggered it.

Can my product react to a new order, payment or refund immediately?

Yes, through event triggers, so fulfilment, entitlement or accounting steps run as soon as the event lands rather than on a nightly sync.

What can I build with the Shopify integration?

A common starting point: let a merchant connect their own shop so your product reads their orders and writes back fulfillment and tracking detail with no per-shop code. The use cases above list the rest.

Add Shopify to your product

Start free with 3 customer connections. No sales call required, and no per-customer integration code.