Skip to main content

Errors

The webhooks subscriptions API uses HTTP status codes:

StatusMeaning
400 Bad RequestThe body is invalid: a missing field, a wrong type, an unknown field (except at the top level of a PATCH), an unknown kind in settings, or an invalid URL. The response text says which
401 UnauthorizedNo key, an invalid key, or no access to this shop or subscription
404 Not FoundNo subscription with this id
500 Internal Server ErrorThe body isn't valid JSON, the id isn't a subscription id (a UUID), or url or clientState is longer than 255 characters. Otherwise, try again later