/shopify-commerce:shopify-webhooksfrom shopify-commerce
Implements Shopify webhooks including subscription methods (HTTP, EventBridge, Pub/Sub, SQS), HMAC verification, mandatory GDPR webhooks, retry policy, and idempotency for event-driven Shopify integrations.
Ships in shopify-commerce. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fetch live docs:
site:shopify.dev webhooks for webhook overviewsite:shopify.dev webhook topics for available event topicssite:shopify.dev gdpr mandatory webhooks for GDPR requirementsShopify POSTs JSON to your endpoint:
webhookSubscriptionCreateFor AWS-based architectures:
For GCP-based architectures:
For queue-based processing:
Every HTTP webhook includes X-Shopify-Hmac-SHA256 header:
import crypto from 'crypto';
function verifyWebhook(body: string, hmacHeader: string, secret: string): boolean {
const hash = crypto
.createHmac('sha256', secret)
.update(body, 'utf8')
.digest('base64');
return crypto.timingSafeEqual(
Buffer.from(hash),
Buffer.from(hmacHeader),
);
}
Always verify HMAC before processing — reject unverified webhooks with 401.
orders/create, orders/updated, orders/paid, orders/fulfilled, orders/cancelled, orders/delete
products/create, products/update, products/delete
customers/create, customers/update, customers/delete
carts/create, carts/update
checkouts/create, checkouts/update
inventory_levels/update, inventory_items/update
fulfillments/create, fulfillments/update
refunds/create
Every Shopify app MUST implement these three webhooks:
customers/data_request — customer requests their data (data portability)customers/redact — customer requests data deletionshop/redact — store uninstalls your app, delete all store data within 48 hoursFailure to implement these can result in app rejection or removal from the App Store.
X-Shopify-Triggered-At header to detect stale payloadswebhookSubscriptions querymutation WebhookSubscriptionCreate {
webhookSubscriptionCreate(
topic: ORDERS_CREATE
webhookSubscription: {
callbackUrl: "https://your-app.com/webhooks/orders"
format: JSON
}
) {
webhookSubscription {
id
topic
endpoint {
... on WebhookHttpEndpoint {
callbackUrl
}
}
}
userErrors { field message }
}
}
X-Shopify-Webhook-Id header) for deduplicationFetch the Shopify webhook documentation for exact topic names, payload schemas, and subscription patterns before implementing.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin shopify-commerce23 skills in this plugin
/js-modernWrite modern JavaScript and TypeScript — ES6+ features, async/await, modules, destructuring, optional chaining, TypeScript types, and modern tooling. Use when writing JavaScript/TypeScript for Shopify themes, apps, Functions, or Hydrogen storefronts./node-backendBuild Node.js backends for Shopify apps — Remix server, @shopify/shopify-app-remix, session storage, OAuth handling, API proxy, webhook processing, and deployment. Use when building the server-side component of Shopify apps./react-patternsBuild React applications with Remix — loaders, actions, hooks, Server/Client Components, nested routes, error boundaries, form handling, and streaming SSR. Use when building Shopify Hydrogen storefronts or Remix-based apps./shopify-agentic-ucpIntegrate Shopify UCP discovery, agent profiles, catalog/cart tools, and checkout handoff using the merchant's current schemas and trust tier./shopify-api-graphqlUse Shopify GraphQL APIs — Admin API for server-side CRUD, Storefront API for client-side queries, versioning, cost-based rate limiting, bulk operations, pagination. Use when integrating with Shopify data./shopify-api-restMIGRATION SKILL: Shopify REST Admin API — endpoint patterns, authentication, rate limits, and REST-to-GraphQL migration guide. The REST Admin API is deprecated (October 2024). Use this skill only for maintaining legacy integrations or planning migration to GraphQL.Other plugins' skills for the same job