CatalogModificationEvent

CatalogModificationEvent

This event is fired whenever the catalog is modified in some way, i.e. a Product or ProductVariant is modified is created, updated, or deleted.

Signature

class CatalogModificationEvent extends VendureEvent {
  constructor(ctx: RequestContext, entity: Product | ProductVariant)
}

Members

constructor

method
type:
(ctx: RequestContext, entity: Product | ProductVariant) => CatalogModificationEvent