Create webhook
POST
/ admin/ v1/ stores/ {store_id}/ webhooks- webhooks:manage
- Idempotency-Key supported
Register a webhook endpoint. The response holds the signing secret — the only time it is shown.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
urlstringrequiredHTTPS endpoint on a public address.
topicsarray of stringsrequired1–50 entries from
GET /webhooks/topics, or<aggregate>.*.descriptionstring · or nullUp to 255 characters, for your own reference.
sourcestring · or nullWho's making it, if it's a no-code tool (
zapier,make), so the admin can say so.
Returns
201 Webhook created, with its signing secret.
Errors
- 403
forbiddenMissing permission. - 409The store already has 50 webhooks.
- 422
validation_failedInvalid URL (not HTTPS, private address…) or topics.