Entity int32Possible values: [0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ] Type of entity.
0 = NOT_SET
1 = Brand
2 = Capture
3 = Category
4 = Customer
5 = Order
6 = PageWidget
7 = Product
8 = Refund
9 = Supplier |
Name string |
Description string |
Actions stringComma separated list of actions to listen for.
Possible actions per entity are: - Product, Brand, Category, Supplier -
create , update , delete - Order -
create , update , cancel , activate , lock , complete , cancelrow - Capture, Refund -
create - PageWidget -
update , delete - Customer -
create , update , delete , passwordreset , obfuscate
|
Method string |
Url stringUrl to send the webhook to. Placeholders can be used to customize the URL. - Always available placeholders:
{{entity}} - Product, Brand, Category, etc{{action}} - create, update, delete, etc{{account}} - usually the name of your webshop{{environment}} - prod, dev, qa, etc{{id}} -(can be a comma separated list of ids.
- Partially available placeholders:
{{paymentName}} - name of payment method. Only applicable for capture and refund{{channelName}} - name of the channel (web site). Only applicable for capture and refund{{channelUrl}} - url of the channel (web site). Only applicable for password reset{{resetKey}} - key for password reset. Only applicable for password reset {{orderRowId}} - id of the order row. Only applicable for order row actions
Note: Not all placeholders are available for all combinations of entities and actions. Ensure that the placeholders you use are relevant to the webhook's entity and action.
|
Body stringBody of the webhook. Placeholders can be used to customize the body. - Always available placeholders:
{{entity}} - Product, Brand, Category, etc{{action}} - create, update, delete, etc{{account}} - usually the name of your webshop{{environment}} - prod, dev, qa, etc{{id}} -(can be a comma separated list of ids.
- Partially available placeholders:
{{paymentName}} - name of payment method. Only applicable for capture and refund{{channelName}} - name of the channel (web site). Only applicable for capture and refund{{channelUrl}} - url of the channel (web site). Only applicable for password reset{{resetKey}} - key for password reset. Only applicable for password reset {{orderRowId}} - id of the order row. Only applicable for order row actions
Note: Not all placeholders are available for all combinations of entities and actions. Ensure that the placeholders you use are relevant to the webhook's entity and action.
|
Headers stringHeaders to send with the webhook |
Retry booleanTrue if the webhook should be retried on failure. Retries are attempted up to 3 times with an interval of 10 minutes. - Each retry attempt will include a unique HTTP header called
x-Idempotency-Key and a timestamp for when the webhook event was initiated. This key serves as an identifier for each specific webhook event and remains the same for all retry attempts of the same webhook event. - The primary purpose of the
x-Idempotency-Key is to enable the receiving system to identify and handle duplicate webhook events, thus preventing duplicate processing of the same webhook event. - The timestamp header is called
x-timestamp .
|