Upsert a Webhook by Topic
A 3-step recipe with Shopify. We can help you get access.
Recipe · 3 steps
Upsert a Webhook by Topic
with Shopify · Webhook & Event Subscription Management
Upsert a single webhook subscription keyed on its topic.
- List webhook subscriptions filtered by the topic, returning at most one candidate match.
- Update the matched subscription's callback address and format. The topic cannot be changed on an existing subscription.
- Create a new webhook subscription for the topic when none existed.
What you'll need to have ready
- topic: The event topic used as the upsert key (e.g. "orders/create").
- address: The HTTPS callback URL Shopify will POST events to.
- format: Payload format, json or xml.
For your developer
Arazzo workflow shopify:upsert-webhook-by-topic, 3 operations: listWebhookSubscriptions → updateWebhookSubscription → createWebhookSubscription. Specs on APIs.io.