Webhook
Update webhook
Update a webhook.
patch/api/v1/webhooks/{id}
Request
- Base URLhttps://xentral.xentral.biz
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Resource identifier.
Example:17
The resource's identifier.
Request body
Example request
{
"name": "My example application",
"url": "https://example.com/receive-xentral-webhook-endpoint",
"signatureKey": "rf5ecjtvnWQ4mTDfzOTZXgQuuCSFfR66",
"events": [
{
"id": "com.xentral.salesOrder.created.v1"
},
{
"id": "com.xentral.salesOrder.updated.v1"
}
]
}Response
Operation completed successfully, no response body
Changes
No recorded changes to this operation across all 2 revisions of this API.