Create a webhook
shop_id is required when creating via this flat endpoint. Alternatively, use POST /sellers/{seller_id}/webhooks.
/webhooksAuthorizationBearer token (JWT) · headerrequiredshop_idintegerrequiredapplication/jsontopicstringrequiredSupported topics: orders.created, orders.updated,
orders.updated.closed, orders.updated.shipped,
contacts.created, contacts.updated, products.created,
products.updated, products.deleted
urlstringrequirednotify_originbooleanIf false, does not notify the request-originating host
authobjectShow propertiesHide properties
typestringnonebasicusernamestringpasswordstringWebhook created
_linksHalLinksidintegerchannel_idintegertopicstringurlstringstatusstringactive — receiving deliveries normally.
failed_activation — the initial activation handshake failed.
failed — disabled automatically after 100 consecutive non-2xx delivery
responses (see error_count); can be re-enabled via
PUT /webhooks/{id}/reactivate.
disabled — the target URL returned 410 Gone; disabled immediately,
with no retry threshold. Also reactivatable via the same endpoint.
activefailed_activationfaileddisabledauthobjectnotify_originbooleanapp_idintegererror_countintegerlast_errorstringlast_error_onstring<date-time>created_onstring<date-time>updated_onstring<date-time>Token lacks the scope required to subscribe to this topic