@deploybaseline/shopify
v0.14.0
Published
Shopify emulator for local development and tests: the GraphQL Admin API (2026-10) with products, inventory, customers, orders, and fulfillment, app installation over OAuth, and HMAC-signed webhooks.
Readme
@deploybaseline/shopify
Shopify emulator for local development and tests: the GraphQL Admin API (2026-10) with products, inventory, customers, orders, and fulfillment, app installation over OAuth, and HMAC-signed webhooks.
Part of Baseline: local drop-in replacement services for CI and no-network sandboxes.
Usage
npx @deploybaseline/cli start --service shopifyShopify starts only when named in config or with --service. In tests, start it from code:
import { createEmulator } from "@deploybaseline/cli";
const shopify = await createEmulator({ service: "shopify" });
// Point your client at shopify.url
await shopify.close();Shopify's SDKs always call https://<shop>.myshopify.com, so give them a fetch that swaps the origin for shopify.url; the docs show it for @shopify/admin-api-client and @shopify/shopify-api.
Documentation
- Shopify docs: SDK setup, API versions, GraphQL coverage, search syntax, query cost, OAuth, webhooks, and seed config
- API reference:
http://localhost:3999/docs/shopifywhile the CLI runs (how it works)
License
Apache-2.0
