Product Events
Events emitted when products, features, custom fields, and installation files change.
Product events report changes to products and product-level resources made through the Vendor Platform or Management API.
Use the event data objects reference for field definitions.
Products
product.created
Sent when: a product is created.
Not emitted when: Products are imported from a CSV file.
Event data: product
product.updated
Sent when:
a product is edited,
a product is enabled or disabled (
activechanges),a product is archived or restored (
is_archivedchanges). Archiving also changes the product'sshort_code: it gets.archived.and a timestamp appended, and restoring puts the original back.
Not emitted when: Enabling, disabling, archiving, or restoring does not change the product because it already has that state. The event is also not emitted when products are added to or removed from a bundle, or imported from a CSV file.
Event data: product, after the change
Product features
product_feature.created, product_feature.updated and product_feature.deleted
Sent when: a feature is created, edited or deleted on a product.
Not emitted when: Features are imported from a CSV file.
Event data: product_feature. For deleted, it reflects the feature before deletion, so is_deleted remains false.
Product custom fields
product_custom_field.created, product_custom_field.updated and product_custom_field.deleted
Sent when: a custom field is created, edited or deleted on a product.
Event data: product_custom_field. For deleted, it reflects the custom field before deletion.
Installation files
installation_file.created, installation_file.updated and installation_file.deleted
Sent when: an installation file is added to, edited on or deleted from a product.
Event data: installation_file. For deleted, it reflects the installation file before deletion.
Last updated
Was this helpful?