Skip to content

Commit 2a92293

Browse files
committed
docs: fix events payloads
1 parent c1ede88 commit 2a92293

139 files changed

Lines changed: 1057 additions & 904 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

www/apps/api-reference/specs/admin/openapi.full.yaml

Lines changed: 106 additions & 106 deletions
Large diffs are not rendered by default.

www/apps/api-reference/specs/admin/paths/admin_collections.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,9 +1078,9 @@ post:
10781078
- name: product-collection.created
10791079
payload: |-
10801080
```ts
1081-
[{
1081+
{
10821082
id, // The ID of the product collection
1083-
}]
1083+
}
10841084
```
10851085
description: Emitted when product collections are created.
10861086
deprecated: false

www/apps/api-reference/specs/admin/paths/admin_collections_{id}.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ post:
162162
- name: product-collection.updated
163163
payload: |-
164164
```ts
165-
[{
165+
{
166166
id, // The ID of the product collection
167-
}]
167+
}
168168
```
169169
description: Emitted when product collections are updated.
170170
deprecated: false
@@ -219,9 +219,9 @@ delete:
219219
- name: product-collection.deleted
220220
payload: |-
221221
```ts
222-
[{
222+
{
223223
id, // The ID of the product collection
224-
}]
224+
}
225225
```
226226
description: Emitted when product collections are deleted.
227227
deprecated: false

www/apps/api-reference/specs/admin/paths/admin_customers.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4349,9 +4349,9 @@ post:
43494349
- name: customer.created
43504350
payload: |-
43514351
```ts
4352-
[{
4352+
{
43534353
id, // The ID of the customer
4354-
}]
4354+
}
43554355
```
43564356
description: Emitted when a customer is created.
43574357
deprecated: false

www/apps/api-reference/specs/admin/paths/admin_customers_{id}.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ post:
198198
- name: customer.updated
199199
payload: |-
200200
```ts
201-
[{
201+
{
202202
id, // The ID of the customer
203-
}]
203+
}
204204
```
205205
description: Emitted when a customer is updated.
206206
deprecated: false
@@ -273,9 +273,9 @@ delete:
273273
- name: customer.deleted
274274
payload: |-
275275
```ts
276-
[{
276+
{
277277
id, // The ID of the customer
278-
}]
278+
}
279279
```
280280
description: Emitted when a customer is deleted.
281281
deprecated: false

www/apps/api-reference/specs/admin/paths/admin_invites.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,9 +685,9 @@ post:
685685
- name: invite.created
686686
payload: |-
687687
```ts
688-
[{
688+
{
689689
id, // The ID of the invite
690-
}]
690+
}
691691
```
692692
description: |-
693693
Emitted when invites are created. You can listen to this event

www/apps/api-reference/specs/admin/paths/admin_invites_accept.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ post:
6868
- name: user.created
6969
payload: |-
7070
```ts
71-
[{
71+
{
7272
id, // The ID of the user
73-
}]
73+
}
7474
```
7575
description: Emitted when users are created.
7676
deprecated: false

www/apps/api-reference/specs/admin/paths/admin_invites_{id}.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ delete:
134134
- name: invite.deleted
135135
payload: |-
136136
```ts
137-
[{
137+
{
138138
id, // The ID of the invite
139-
}]
139+
}
140140
```
141141
description: Emitted when invites are deleted.
142142
deprecated: false

www/apps/api-reference/specs/admin/paths/admin_invites_{id}_resend.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ post:
6767
- name: invite.resent
6868
payload: |-
6969
```ts
70-
[{
70+
{
7171
id, // The ID of the invite
72-
}]
72+
}
7373
```
7474
description: >-
7575
Emitted when invites should be resent because their token was

www/apps/api-reference/specs/admin/paths/admin_orders_{id}_archive.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ post:
6767
- name: order.archived
6868
payload: |-
6969
```ts
70-
[{
70+
{
7171
id, // The ID of the order
72-
}]
72+
}
7373
```
7474
description: Emitted when an order is archived.
7575
deprecated: false

0 commit comments

Comments
 (0)