capabilities.work

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.

  1. List webhook subscriptions filtered by the topic, returning at most one candidate match.
  2. Update the matched subscription's callback address and format. The topic cannot be changed on an existing subscription.
  3. 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.