From 5af39e7beba1eecff4750aa470d9aa4135112923 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Thu, 26 Jan 2023 16:54:27 +0200 Subject: [PATCH] docs: added product category events to reference (#3118) --- .../backend/subscribers/events-list.md | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/docs/content/advanced/backend/subscribers/events-list.md b/docs/content/advanced/backend/subscribers/events-list.md index ad60827158..db9f845be5 100644 --- a/docs/content/advanced/backend/subscribers/events-list.md +++ b/docs/content/advanced/backend/subscribers/events-list.md @@ -2072,6 +2072,102 @@ Object of the following format: --- +## Product Category Events + +This section holds all events related to product categories. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Event Name + +Description + +Event Data Payload +
+ +`product-category.created` + + + +Triggered when a product category is created. + + + +Object of the following format: + +```js noReport noCopy +{ + id, // string ID of category +} +``` + +
+ +`product-category.updated` + + + +Triggered when a product category is updated. + + + +Object of the following format: + +```js noReport noCopy +{ + id, // string ID of category +} +``` + +
+ +`product-category.deleted` + + + +Triggered when a product category is deleted. + + + +Object of the following format: + +```js noReport noCopy +{ + id, // string ID of category +} +``` + +
+ +--- + ## Product Variant Events This section holds all events related to product variants.