API referenceWebhook endpoints
Update a webhook endpoint
Update a webhook endpoint. Set `status` to `enabled` to switch on an endpoint that was disabled after failing.
PATCH
Update a webhook endpoint. Set status to enabled to switch on an
endpoint that was disabled after failing.
httpheader
AuthorizationBearer <token>id*stringapplication/json- body
Create (POST) or update (PATCH) a webhook endpoint.
url*stringFormat
uriLength
length <= 2048events*array<>Items
1 <= itemsdescription?|Length
length <= 255include_personal_data?booleanstatus?stringValue in
"enabled""disabled"WebhookEndpointResource
application/json- response
id*stringobject*stringurl*stringdescription*string|nullevents*array<string>include_personal_data*booleanstatus*stringValue in
"enabled""disabled"disabled_reason*string|nullsecret?stringcreated_at*string|nullupdated_at*string|nullcurl -X PATCH 'https://api.tixxy.nl/v1/webhook-endpoints/string' \ -H 'Content-Type: application/json' \ -d '{ "url": "http://example.com", "events": [ "order.created" ]}'Example Response
{ "id": "string", "object": "webhook_endpoint", "url": "string", "description": "string", "events": [ "string" ], "include_personal_data": true, "status": "enabled", "disabled_reason": "string", "secret": "string", "created_at": "string", "updated_at": "string"}