For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 (active changes),

  • a product is archived or restored (is_archived changes). Archiving also changes the product's short_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

Products cannot be deleted. They can only be archived. To detect a product being taken out of use, handle product.updated where is_archived is true.

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.

Deleting a product feature also removes it from every license that has it. Those licenses do not emit license_product_feature.deleted.

Adding or removing a feature from every product license at once also does not emit license feature events.

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.

Deleting a product custom field also removes its values from every license. Those licenses do not emit license_custom_field.deleted.

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?