@ecommy/connector-shopify
v0.2.0
Published
Shopify connector (full-code) — GraphQL Admin bulk backfill + paginated incremental (orders/products/customers) + webhook HMAC + refund→return. Phase-A reference connector, READ-ONLY ingest. Depends on @ecommy/connector-core.
Readme
@ecommy/connector-shopify
The Shopify connector, built on @ecommy/connector-core.
GraphQL Admin bulk backfill + paginated incremental (orders / products /
customers) + webhook HMAC + refund→return. Phase-A reference connector,
READ-ONLY ingest.
Install
npm install @ecommy/connector-shopify # pulls in @ecommy/connector-coreUse
import { ShopifyConnector, SHOPIFY_CATALOG } from "@ecommy/connector-shopify";
import type { ConnectorContext } from "@ecommy/connector-core";
const connector = new ShopifyConnector();
const catalog = connector.discover(); // the self-describing seam
await connector.start(ctx); // you inject ctx (oauth/secrets/state/sink)The connector reads nothing ambient (no process.env, no fs) — everything is
injected via ctx. Full guide:
docs/connectors/CONSUMER.md.
