product-variant-availability-updated
A product-variant-availability-updated
event is triggered when availability of a variant change due to:
- Product state changes
- Out of stock / back in stock
- Blocking/unblocking of variants
- Product updates (e.g. attributes, master categories) affecting the availability
- Product deletion/restoration
- Price updates that may result in activating/deactivating the variant
Assortment (base query) changes are only reflected via full availability calculation (once a day).
Filters applicable for Webhook.
Filter Type | Field used in payload for filter |
---|---|
Merchant includes/excludes | merchantReferenceKey |
Example:
Properties:
key
stringoccurredAt
datetimemeta
objecttenantKey
string
version
integerpayload
objectproductVariant
objectid
integerreferenceKey
string
product
objectid
integerreferenceKey
string
availabilities
objectshopCountry
objectid
integershopKey
stringcountryCode
string
available
boolean
createdAt
datetimemerchantReferenceKey
string
type
enum (product-variant-availability-updated
)