Webhooks
Webhook
How to setup webhooks
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How to setup webhooks
POST {REGISTERED ENDPOINT} HTTP/1.1
x-priceedge-webhook-signature: {SHA512 Signature}
content-type: application/json
{
"eventType": "change",
"eventTime": "2023-06-14 15:54:10",
"eventId": "3DD64E28-4455-40C9-BE02-DEB7D5E39B76",
"source": "table",
"sourceObject": "Extension_Factors"
}
OR
{
"eventType": "change",
"eventTime": "2023-06-14 15:54:10",
"eventId": "3DD64E28-4455-40C9-BE02-DEB7D5E39B76",
"source": "pepe",
"sourceObject": "NextRRP"
}
OR
{
"eventType": "change",
"eventTime": "2023-06-22 16:59:14",
"eventId": "13069F5C-EC73-437F-9842-F51C77CA01C4",
"source": "pepe",
"sourceObject": "Suggested_Price",
"pageNumber": 1,
"data": [
{
"cd_ItemNumber": "100011",
"cd_PriceList": "SE",
"Value": 127
},
{
"cd_ItemNumber": "100012",
"cd_PriceList": "NO",
"Value": 209.25
}
]
}
includeData and includeDataCacheKey are mutually exclusive. Use one or the other, not both.PUT {api_url}/api/system/webhooks
Content-Type: application/json
{
"externalUrl": "https://webhook.site/3431a3c0-a123-4e24-9bbc-5ae0acf780d9",
"sharedSecret": "bamboo", //any text, it will be used in the signature
"eventType":"change",
"eventSource":"table", //pepe, table
"eventSourceObject":"Item_Extension", //pepe(price)column or table name
"includeData": false, //optional; true/false if expeted alot of data then false
}
GET {api_url}/api/system/webhooks
DELETE {api_url}/api/system/webhooks/{ID}
POST {api_url}/api/system/webhooks/{ID}