Skip to main content

Variant events

Every event has the common fields and a data object, the snapshot of the entity at the moment of the event. This page lists what data holds, for the version 2026-01 of the format.

Events​

EventWhen
product-variant.assets.replacedThe images and videos of a variant are replaced: the new full list is sent.
product-variant.attributes.replacedThe attribute values of a variant are replaced: the new full list is sent.
product-variant.createdA variant is created.
product-variant.deletedA variant is deleted.
product-variant.option-values.replacedThe option values of a variant are replaced: the new full list is sent.
product-variant.prices.replacedThe prices of a variant are replaced: the new full list is sent.
product-variant.shipping-methods.replacedThe shipping methods of a variant are replaced: the new full list is sent.
product-variant.shipping-zones.replacedThe shipping zones of a variant are replaced: the new full list is sent.
product-variant.stock.updatedThe stock of a variant changes.
product-variant.tags.replacedThe tag values of a variant are replaced: the new full list is sent.
product-variant.tax-zones.replacedThe tax zones of a variant are replaced: the new full list is sent.
product-variant.updatedA variant is updated.

Payloads​

Payload of product-variant.assets.replaced​

FieldTypeNotes
data.productIduuid
data.variantIduuid
data.assetsobject[]
data.assets[].iduuid
data.assets[].urlstring
data.assets[].typestring
data.assets[].fileNamestringcan be null
data.assets[].sizenumbercan be null
data.assets[].altstringcan be null
data.assets[].thumbnailstringcan be null
data.assets[].externalIdstringcan be null
data.assets[].createdAtdatetimeoptional
data.assets[].updatedAtdatetimeoptional

Payload of product-variant.attributes.replaced​

FieldTypeNotes
data.productIduuid
data.variantIduuid
data.attributesobject[]
data.attributes[].attributeIduuid
data.attributes[].valuestring

Payload of product-variant.created​

Also sent for: product-variant.updated.

FieldTypeNotes
data.productIduuid
data.variantIduuid
data.namestring
data.slugstring
data.visibleboolean
data.isFavouriteboolean
data.inheritAssetsboolean
data.inheritTagValuesboolean
data.inheritAttributesboolean
data.inheritPackageDimensionsboolean
data.inheritShippingMethodsboolean
data.inheritShippingZonesboolean
data.inheritTaxZonesboolean
data.inheritDisableCouponsboolean
data.disableCouponsboolean
data.packageWeightnumbercan be null
data.packageLengthnumbercan be null
data.packageWidthnumbercan be null
data.packageHeightnumbercan be null
data.skustringcan be null
data.eanstringcan be null
data.mpnstringcan be null
data.upcstringcan be null
data.gtinstringcan be null
data.isbnstringcan be null
data.asinstringcan be null
data.hsCodestringcan be null
data.supplierCodestringcan be null
data.externalIdstringcan be null
data.useStripeTaxboolean
data.taxCodeExternalIdstringcan be null
data.allowBackorderboolean
data.purchaseRestockboolean
data.allowFreeShippingboolean
data.forceFreeShippingboolean
data.backorderDaysinteger
data.maxOrderQuantityinteger
data.createdAtdatetime
data.updatedAtdatetime
data.metadataanyoptional
data.translationsanyoptional

Payload of product-variant.deleted​

FieldTypeNotes
data.productIduuid
data.variantIduuid

Payload of product-variant.option-values.replaced​

FieldTypeNotes
data.productIduuid
data.variantIduuid
data.optionsobject[]
data.options[].optionIduuid
data.options[].productOptionValueIduuid

Payload of product-variant.prices.replaced​

FieldTypeNotes
data.productIduuid
data.variantIduuid
data.pricesobject[]
data.prices[].currencyCodestring
data.prices[].cadencestring
data.prices[].amountstring
data.prices[].comparePricestringcan be null
data.prices[].externalIdstringcan be null
data.prices[].isDefaultboolean
data.prices[].quantityTableanycan be null

Payload of product-variant.shipping-methods.replaced​

FieldTypeNotes
data.productIduuid
data.variantIduuid
data.shippingMethodsobject[]
data.shippingMethods[].iduuid
data.shippingMethods[].labelstring
data.shippingMethods[].providerstringcan be null
data.shippingMethods[].availableCountriesstring[]
data.shippingMethods[].etaMinnumbercan be null
data.shippingMethods[].etaMaxnumbercan be null
data.shippingMethods[].pricingany
data.shippingMethods[].enabledboolean
data.shippingMethods[].maxWeightnumbercan be null
data.shippingMethods[].maxVolumenumbercan be null
data.shippingMethods[].assetIdstringcan be null
data.shippingMethods[].createdAtdatetimeoptional
data.shippingMethods[].updatedAtdatetimeoptional

Payload of product-variant.shipping-zones.replaced​

FieldTypeNotes
data.productIduuid
data.variantIduuid
data.shippingZonesobject[]
data.shippingZones[].iduuid
data.shippingZones[].labelstring
data.shippingZones[].countryCodestring
data.shippingZones[].surchargePricingany
data.shippingZones[].taxRatenumber
data.shippingZones[].stripeTaxRateIdstringcan be null
data.shippingZones[].createdAtdatetimeoptional
data.shippingZones[].updatedAtdatetimeoptional

Payload of product-variant.stock.updated​

FieldTypeNotes
data.productIduuid
data.variantIduuid
data.stock.warehouseIduuid
data.stock.quantityinteger

Payload of product-variant.tags.replaced​

FieldTypeNotes
data.productIduuid
data.variantIduuid
data.tagValuesobject[]
data.tagValues[].iduuid
data.tagValues[].tagIdstring
data.tagValues[].storeIdstring
data.tagValues[].valuestring
data.tagValues[].aliasstringcan be null
data.tagValues[].visibleboolean
data.tagValues[].createdAtdatetimeoptional
data.tagValues[].updatedAtdatetimeoptional

Payload of product-variant.tax-zones.replaced​

FieldTypeNotes
data.productIduuid
data.variantIduuid
data.taxZonesobject[]
data.taxZones[].iduuid
data.taxZones[].labelstring
data.taxZones[].ratenumber
data.taxZones[].stripeIdstringcan be null
data.taxZones[].countryCodestringcan be null
data.taxZones[].isDefaultboolean
data.taxZones[].createdAtdatetimeoptional
data.taxZones[].updatedAtdatetimeoptional