Shopify
Commerce User OAuth

Shopify

Connect Shopify stores with scoped access to products, orders, and customers.

Auth Model

User OAuth

Standard OAuth 2.0 authorization. A user grants consent and receives an access token. Authpipe handles refresh, rotation, and health monitoring automatically.

Connection Flow

1
Your App
2
Authpipe
3
Shopify
@authpipe/node
// Get a valid credential — always fresh, zero latency
const { credential } = await authpipe.getCredential({
  provider: 'shopify',
  tenantId: 'org_acme',
  userId: 'user_123',
});
// Use the credential with the provider API
const response = await fetch('https://api.example.com/data', {
  headers: { Authorization: `Bearer ${credential}` },
});
@authpipe/react
// Drop-in React component
<ConnectButton
  provider="shopify"
  onSuccess={(conn) => console.log('Connected!', conn)}
/>

Available Scopes

Permissions you can request when connecting to Shopify.

read_products

Read product listings, variants, and collections

write_products

Create, update, and delete products and collections

read_orders

View order details and history

write_orders

Create, update, and delete orders

read_customers

View customer information and addresses

write_customers

Create, update, and delete customers

read_inventory

View inventory levels and locations

write_inventory

Update inventory levels and manage locations

read_fulfillments

View fulfillment details and tracking info

write_fulfillments

Create and update fulfillments

read_content

View store pages, blogs, articles, and menus

write_content

Create, update, and delete store content

read_themes

View theme files and templates

write_themes

Create, update, and delete themes

read_script_tags

View script tags on the storefront

write_script_tags

Create, update, and delete script tags

read_shipping

View shipping zones and rates

write_shipping

Manage shipping zones and carrier services

read_analytics

View store analytics and reports

read_checkouts

View abandoned checkouts

write_checkouts

Manage checkouts

read_price_rules

View price rules and discounts

write_price_rules

Create, update, and delete price rules and discounts

read_draft_orders

View draft orders

write_draft_orders

Create, update, and delete draft orders

read_locations

View store locations

read_reports

View reports

write_reports

Create and manage reports

What Authpipe handles for Shopify

OAuth Orchestration

PKCE, state validation, callback handling, and provider-specific quirks — all automatic.

Encrypted Vault

AES-256-GCM encryption with per-tenant key isolation. OAuth tokens, API keys, and webhook secrets — never exposed to the frontend.

Silent Refresh

Proactive token refresh before expiry. SDK returns from local cache with zero latency.

Health Monitoring

Scheduled checks detect revoked tokens and expired credentials before users notice.

More Commerce providers

Ready to connect Shopify?

Get your first 100 connections free. Set up in minutes with our SDK.