Update an existing webhook.
API endpoint example
https://eu.api.capillarytech.com/v3/webHooks/69254f46749e644bc0132
Prerequisites
- Authentication - Basic or OAuth authentication details
- Access group resource - Read and write permission on webhook resource group.
Resource information
| URL | /v3/webHooks/{webHookId} |
| HTTP method | PUT |
| Pagination supported? | NA |
| Rate limit | NA |
| Batch support | NA |
Request path parameters
| (Parameters marked with * are mandatory) | Type | Description |
|---|---|---|
| webHookId* | String | Identifier for the webhook. You can retrieve this value from the webHookId parameter in the Add Webhook response. |
Request body parameters
(Parameters marked with * are mandatory) | Type | Description |
|---|---|---|
active | Boolean | Indicates if the webhook is active. |
customerIdentifiersToBeEnriched | Array | List of customer identifiers enrichment available in the payload. |
eventNames | Array | List of event names that trigger the webhook. At least one event name is required. |
maxAllowedConnections | Integer | Maximum allowed concurrent connections for this webhook. |
methodType | String | HTTP method used by the webhook. Example: |
name | String | Name of the webhook. |
slaInSeconds | Integer | Expected delivery time of the event notification in seconds. This is used to track notifications that took more time than the SLA set. |
webHookHeaders | Array | Headers sent with the webhook request. |
| String | Authorization header for authentication. |
| String | Specifies the content, Example: |
webHookType | String | Type of webhook, Example: |
webHookUrl | String | URL where the webhook sends its requests. |
curl --location --request PUT 'https://eu.api.capillarytech.com/v3/webHooks/69254f46749e644bc01328c1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic *******' \
--header 'Cookie: _cfuvid=yYsH7ns18uvZ6yJ8YEDgIPw.ZjqHMYsSsHCnY00XLAM-1764052824812-0.0.1.1-604800000' \
--data ' {
"active": true,
"customerIdentifiersToBeEnriched": [],
"eventNames": [
"loyaltyCustomerMerge",
"partnerProgramLinked",
"pointsExpired",
"customerAdded",
"transactionUpdated",
"groupUpdated",
"promisedToCurrentPointsConversion",
"pointsTransferredReceived",
"groupMemberRemoved",
"groupCreated",
"partnerProgramUpdated",
"pointsIssued",
"tierDowngradeReminder",
"pointsContributionToGroup",
"CouponRedeem",
"pointsExpiryReminder",
"partnerProgramDelinked",
"CouponIssue",
"tierRenewed",
"tierDowngraded",
"pointsTransferredInitiated",
"customerUpdated",
"tierUpgraded",
"rewardIssued",
"pointsExpiryChange",
"rewardUpdated",
"supplementaryMembershipExpiryReminder",
"singlePointsExpiryUpdated",
"issuedPointsReversed",
"redeemedPointsReversed"
],
"maxAllowedConnections": 15,
"methodType": "PUT",
"name": "All_Events_v3",
"slaInSeconds": 150,
"webHookHeaders": {
"Authorization": "Basic Q2FwaWxsYXJ5OklVTmhjR2xzYkdGeWVVQTROekl5",
"Content-Type": "application/json"
},
"webHookType": "HTTP",
"webHookUrl" : "https://eo4qiclzg50n2q8.m.pipedream.net"
}'Response parameters
Parameter | Description |
|---|---|
data | Contains the main data for the webhook configuration. |
| Metadata about the creation and last update of the webhook. |
-- createdOn | Timestamp when the webhook was created. It is in the local time zone of the org and in ISO 8601 format. |
-- lastUpdatedOn | Timestamp when the webhook was last updated. It is in the local time zone of the org and in ISO 8601 format. |
-- lastUpdatedBy | Information about the user who last updated the webhook. |
--- id | Unique identifier of the user. |
--- code | Code of the user. |
--- description | Description of the user. |
--- name | Name of the user. |
--- type | Type of user. **Example: ** |
-- createdBy | Information about the user who created the webhook. |
--- id | Unique identifier of the user. |
--- code | Code of the user. |
--- description | Description of the user. |
--- name | Name of the user. |
--- type | Type of user. **Example: ** |
webHookId | Unique identifier of the webhook. |
name | Name of the webhook. |
eventNames | List of event names that trigger the webhook. |
webHookUrl | URL where the webhook sends its requests. |
webHookType | Type of webhook, Example: |
methodType | HTTP method used by the webhook. Example: |
webHookHeaders | Headers sent with the webhook request. |
| Authorization header for basic authentication. |
| Specifies the content, Example: |
noOfRetryAttempts | Number of retry attempts configured. |
maxAllowedConnections | Maximum allowed concurrent connections for this webhook. |
Note: Minimum one concurrent connection is required. | |
active | Indicates if the webhook is active. |
slaInSeconds | Expected delivery time of the event notification in seconds. This is used to track notifications that took more time than the SLA set. |
consumerGroupId | Identifier for the consumer group. |
tillDetailsEnrichmentEnabled | Indicates if the event payload is enriched with till details. |
storeDetailsEnrichmentEnabled | Indicates if the event payload is enriched with store details |
customerIdentifiersToBeEnriched | List of customer identifiers enrichment available in the payload. |
awardedReferenceEnrichmentEnabled | Indicates if the event payload is enriched with awarded reference ID . It is a unique identifier associated with each issued point or redemption transaction within the system. |
availablePointsBalanceEnrichmentEnabled | Indicates if the event payload is enriched with available points balance. |
errors | Array containing errors, if any. |
warnings | Array containing warnings, if any. |
{
"data": {
"attribution": {
"createdOn": "2025-11-25T06:40:06.036+0000",
"createdOnISO": "2025-11-25T06:40:06Z",
"lastUpdatedOn": "2025-11-25T08:51:42.158+0000",
"lastUpdatedOnISO": "2025-11-25T08:51:42Z",
"lastUpdatedBy": {
"id": 75152722,
"code": "divya_doc",
"description": "",
"name": "divya_doc",
"type": "TILL"
},
"createdBy": {
"id": 75152722,
"code": "divya_doc",
"description": "",
"name": "divya_doc",
"type": "TILL"
}
},
"webHookId": "69254f46749e644bc01328c1",
"name": "All_Events_v3",
"eventNames": [
"loyaltyCustomerMerge",
"partnerProgramLinked",
"pointsExpired",
"customerAdded",
"transactionUpdated",
"groupUpdated",
"promisedToCurrentPointsConversion",
"pointsTransferredReceived",
"groupMemberRemoved",
"groupCreated",
"partnerProgramUpdated",
"pointsIssued",
"tierDowngradeReminder",
"pointsContributionToGroup",
"CouponRedeem",
"pointsExpiryReminder",
"partnerProgramDelinked",
"CouponIssue",
"tierRenewed",
"tierDowngraded",
"pointsTransferredInitiated",
"customerUpdated",
"tierUpgraded",
"rewardIssued",
"pointsExpiryChange",
"rewardUpdated",
"supplementaryMembershipExpiryReminder",
"singlePointsExpiryUpdated",
"issuedPointsReversed",
"redeemedPointsReversed"
],
"webHookUrl": "https://eo4qiclzg50n2q8.m.pipedream.net",
"webHookType": "HTTP",
"methodType": "POST",
"webHookHeaders": {
"Authorization": "Basic Q2FwaWxsYXJ5OklVTmhjR2xzYkdGeWVVQTROekl5",
"Content-Type": "application/json"
},
"noOfRetryAttempts": 0,
"maxAllowedConnections": 15,
"active": true,
"slaInSeconds": 150,
"consumerGroupId": "b3bd2ff7-1525-46d0-b855-08bee77209fc",
"listenToChildEvents": false,
"tillDetailsEnrichmentEnabled": false,
"storeDetailsEnrichmentEnabled": false,
"customerIdentifiersToBeEnriched": [],
"awardedReferenceEnrichmentEnabled": false,
"availablePointsBalanceEnrichmentEnabled": false
},
"errors": null,
"warnings": null
}API error codes
| Error Code | Description |
|---|---|
| 51003 | eventNames can not be null |
| 51007 | maxAllowedConnections must be greater than zero |
| 300004 | maxAllowedConnections is missing from the body parameter |
| 400 | webHookId is invalid |
