product-variant-prices-updated
Get notified when:
- Active Product Variant Price is created/updated/deleted
- Future Merchant Variant Price is created/updated/deleted
Any changes to campaign prices won't trigger this event. The ID of the created/updated product variant is added to a debouncer set, the processor will take the ID out of the debouncer only after a configured timeout which is by default 30 sec, and then a product-variant-prices-updated
webhook is triggered.
{
"key": "string",
"meta": {
"tenantKey": "string",
"xRequestId": "string"
},
"occurredAt": "datetime",
"type": "product-variant-prices-updated",
"version": "integer",
"payload": {
"productVariant": {
"id": "integer",
"referenceKey": "string"
},
"product": {
"id": "integer",
"referenceKey": "string"
},
"prices": [
{
"key": "string",
"price": "integer",
"oldPrice": "object",
"recommendedRetailPrice": "integer",
"buyingPrice": "object",
"tax": "integer",
"countryCode": "string",
"currencyCode": "string",
"groupKey": "object",
"promotionKey": "object",
"validFrom": "string",
"validTo": "object",
"merchantReferenceKey": "string"
}
],
"merchantReferenceKey": "string"
}
}