Webhooks
Event types
The full list of webhook topics Emfas can send, one per entity type and lifecycle action.
Each webhook endpoint subscribes to one or more topics. A topic is {entity}.{action} — for example product.updated.
Actions
| Action | When it fires |
|---|---|
created | A new entity is created. |
updated | An existing entity's data changes. |
deleted | An entity is removed (including cascade deletes). |
Topics
Every entity type emits all three actions:
| Entity | Topics |
|---|---|
| Product | product.created, product.updated, product.deleted |
| Variant | variant.created, variant.updated, variant.deleted |
| SKU | sku.created, sku.updated, sku.deleted |
| Bundle | bundle.created, bundle.updated, bundle.deleted |
| Metaobject | metaobject.created, metaobject.updated, metaobject.deleted |
| Category | category.created, category.updated, category.deleted |
| Asset | asset.created, asset.updated, asset.deleted |
Deleting a parent cascades to its children — deleting a product emits product.deleted and a variant.deleted / sku.deleted for each descendant. Each cascaded delete carries its own identifier.
Choosing topics
Subscribe only to what you need — fewer topics means fewer deliveries to handle. You can change an endpoint's topics at any time in Settings → Emfas API → Webhooks.