Skip to content

Commit

Permalink
docs: added product category events to reference (#3118)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser committed Jan 26, 2023
1 parent 589cb18 commit 5af39e7
Showing 1 changed file with 96 additions and 0 deletions.
96 changes: 96 additions & 0 deletions docs/content/advanced/backend/subscribers/events-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -2072,6 +2072,102 @@ Object of the following format:

---

## Product Category Events

This section holds all events related to product categories.

<table class="reference-table">
<thead>
<tr>
<th>
Event Name
</th>
<th>
Description
</th>
<th>
Event Data Payload
</th>
</tr>
</thead>
<tbody>
<tr>
<td>

`product-category.created`

</td>
<td>

Triggered when a product category is created.

</td>
<td>

Object of the following format:

```js noReport noCopy
{
id, // string ID of category
}
```

</td>
</tr>

<tr>
<td>

`product-category.updated`

</td>
<td>

Triggered when a product category is updated.

</td>
<td>

Object of the following format:

```js noReport noCopy
{
id, // string ID of category
}
```

</td>
</tr>

<tr>
<td>

`product-category.deleted`

</td>
<td>

Triggered when a product category is deleted.

</td>
<td>

Object of the following format:

```js noReport noCopy
{
id, // string ID of category
}
```

</td>
</tr>

</tbody>
</table>

---

## Product Variant Events

This section holds all events related to product variants.
Expand Down

0 comments on commit 5af39e7

Please sign in to comment.