product-updated
A product-updated event is triggered when:
- Product is created/updated
- Product simple/advanced attribute is created/updated
- Product category is created/updated
- Product Variant is created/updated
- Product Variant simple/advanced attribute is created/updated
- Product Image is created/updated
- Product Image simple attribute is created/updated
Any changes to master level entities won't trigger this event. The ID of the created/updated product 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 60 sec, and then a product-updated webhook is triggered.
Filters applicable for Webhook.
| Filter Type | Field used in payload for filter |
|---|---|
| Merchant includes/excludes | merchantReferenceKey |
Example:
Properties:
keystringoccurredAtstring (date-timeISO 8601)versionintegermetaobjecttenantKeystring
typestringpayloadobjectidintegerreferenceKeystringmerchantReferenceKeyarray<string>nameobjectstateenum (live,problem,inApproval,blocked,draft)isCompositebooleanmasterobjectreferenceKeystringcategoriesobjectisLockedbooleanpathsarray
attributesarray<object> (optional)namestringtypestringvaluearrayisLockedbooleanshopCountrySpecificarray<object>valueobjectisLockedbooleanshopKeystringcountryCodestring
attributesarray<object> (optional)namestringtypestringvaluearrayisLockedbooleanshopCountrySpecificarray<object>valueobjectisLockedbooleanshopKeystringcountryCodestring
problemsarray<string>imagesarrayidintegerreferenceKeystringnamestring (optional)assertUrlstringmimeTypestringpositionintegerattributesarray (optional)
variantsarrayidintegereanstringreferenceKeystringmerchantReferenceKeyarrayisCompositebooleanattributesarray<object> (optional)namestringtypestringvaluearrayisLockedbooleanshopCountrySpecificarray<object>valueobjectisLockedbooleanshopKeystringcountryCodestring
relatedVariantsarray<object> (optional)variantReferenceKeystringisMainVariantboolean
customDataobject (optional)
sellableTimeframesobjectshopKeystringcountryCodestringsellableFromstring (date-timeISO 8601)sellableTostring (date-timeISO 8601)
customDataobject (optional)