v1
latestOpenAPI 3.0.12026-07-24501176.6 MBUpdate Webhook
Update an existing webhook.
put/webHooks/{webHookId}
Path parameters
webHookIdstring required
Identifier for the webhook.
Request body
Response
200
Example response
{
"data": {
"attribution": {
"createdOn": "2024-10-25T11:43:34.087+0000",
"lastUpdatedOn": "2024-10-28T06:44:05.025+0000",
"lastUpdatedBy": {
"id": 75121810,
"code": "test_123",
"name": "test_123",
"type": "TILL"
},
"createdBy": {
"id": 75121810,
"code": "test_123",
"name": "test_123",
"type": "TILL"
}
},
"webHookId": "671b8466760af0000761b640",
"name": "test_post_webhook_1234",
"eventNames": [
"loyaltyCustomerMerge"
],
"webHookUrl": "http://eu.api.capillarytech.com",
"webHookType": "HTTP",
"methodType": "PUT",
"webHookHeaders": {
"Authorization": "Basic Q2FwaWxsYXJ5OklVTmhWVVQTROekl5",
"Content-Type": "application/json"
},
"maxAllowedConnections": 10,
"active": true,
"slaInSeconds": 150,
"consumerGroupId": "8fb2fdec-53ba-44de-bce9-82eedcb29026"
}
}