v2
OpenAPI 3.1.02026-07-3139137119.0 KBwebhooks
Update Webhook (partial)
patch/webhooks/{webhook_id}
Path parameters
webhook_idstring required
Headers
Authorization-Signaturestring required
HMAC-SHA256 signature header: 'APIKey=<api_key>,signature=<hex>,timestamp=<unix_timestamp>'. The signature is computed over METHOD + path (with the /v3 prefix stripped) + timestamp.
Request body
Example request
{
"active": true,
"subscription_events": [
"ORDER_CREATED",
"ORDER_COMPLETED"
],
"url": "https://example.com/webhook"
}Response
Webhook updated
Example response
{
"active": true,
"id": "cuidjkhg3e289y74u5t6v",
"subscription_events": [
"ORDER_CREATED",
"ORDER_COMPLETED"
],
"url": "https://example.com/webhook",
"webhook_secret": "whsec_xxxxx"
}