Retry webhook
This endpoint lets you manually re-trigger a webhook event.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Body
channel
"WHBM"
tenantId
"5ef879t578f89"
name of the event that needs to be triggered
"ORDER_CREATED"
"{\n \"orderId\":\"4fr4g45frew-24f54vre-3fre\"\n }"
unique identifier of the request
"5ef879t5-78f89"
Order number
"oms_234322"
api version
"1.0.0"
Response
The response is of type object[]
.