|
1
|
[ |
|
2
|
{ |
|
3
|
"name": "auth.mfa_enabled", |
|
4
|
"parentName": "AuthEvents", |
|
5
|
"propertyName": "MFA_ENABLED", |
|
6
|
"payload": "```ts\n{\n auth_identity_id, // The ID of the auth identity for which the MFA factor was enabled.\n mfa_id, // The ID of the MFA factor that was enabled.\n provider, // The provider of the MFA factor that was enabled.\n}\n```", |
|
7
|
"description": "Emitted when an MFA factor is enabled for an auth identity.", |
|
8
|
"workflows": [], |
|
9
|
"since": "2.15.5", |
|
10
|
"deprecated": false |
|
11
|
}, |
|
12
|
{ |
|
13
|
"name": "auth.mfa_disabled", |
|
14
|
"parentName": "AuthEvents", |
|
15
|
"propertyName": "MFA_DISABLED", |
|
16
|
"payload": "```ts\n{\n auth_identity_id, // The ID of the auth identity for which the MFA factor was disabled.\n mfa_id, // The ID of the MFA factor that was disabled.\n provider, // The provider of the MFA factor that was disabled.\n}\n```", |
|
17
|
"description": "Emitted when an MFA factor is disabled for an auth identity.", |
|
18
|
"workflows": [], |
|
19
|
"since": "2.15.5", |
|
20
|
"deprecated": false |
|
21
|
}, |
|
22
|
{ |
|
23
|
"name": "auth.mfa_recovery_codes_generated", |
|
24
|
"parentName": "AuthEvents", |
|
25
|
"propertyName": "MFA_RECOVERY_CODES_GENERATED", |
|
26
|
"payload": "```ts\n{\n auth_identity_id, // The ID of the auth identity for which the recovery codes were generated.\n count, // (number) The number of recovery codes that were generated.\n}\n```", |
|
27
|
"description": "Emitted when recovery codes are generated for an auth identity.", |
|
28
|
"workflows": [], |
|
29
|
"since": "2.15.5", |
|
30
|
"deprecated": false |
|
31
|
}, |
|
32
|
{ |
|
33
|
"name": "cart.created", |
|
34
|
"parentName": "CartWorkflowEvents", |
|
35
|
"propertyName": "CREATED", |
|
36
|
"payload": "```ts\n{\n id, // The ID of the cart\n}\n```", |
|
37
|
"description": "Emitted when a cart is created.", |
|
38
|
"workflows": [ |
|
39
|
"createCartWorkflow" |
|
40
|
], |
|
41
|
"deprecated": false |
|
42
|
}, |
|
43
|
{ |
|
44
|
"name": "cart.updated", |
|
45
|
"parentName": "CartWorkflowEvents", |
|
46
|
"propertyName": "UPDATED", |
|
47
|
"payload": "```ts\n{\n id, // The ID of the cart\n}\n```", |
|
48
|
"description": "Emitted when a cart's details are updated.", |
|
49
|
"workflows": [ |
|
50
|
"deleteLineItemsWorkflow", |
|
51
|
"updateLineItemInCartWorkflow", |
|
52
|
"updateCartWorkflow", |
|
53
|
"addToCartWorkflow", |
|
54
|
"addShippingMethodToCartWorkflow", |
|
55
|
"updateLineItemInCartWorkflow" |
|
56
|
], |
|
57
|
"deprecated": false |
|
58
|
}, |
|
59
|
{ |
|
60
|
"name": "cart.region_updated", |
|
61
|
"parentName": "CartWorkflowEvents", |
|
62
|
"propertyName": "REGION_UPDATED", |
|
63
|
"payload": "```ts\n{\n id, // The ID of the cart\n}\n```", |
|
64
|
"description": "Emitted when the cart's region is updated. This\nevent is emitted alongside the `cart.updated` event.", |
|
65
|
"workflows": [ |
|
66
|
"updateCartWorkflow" |
|
67
|
], |
|
68
|
"deprecated": false |
|
69
|
}, |
|
70
|
{ |
|
71
|
"name": "cart.customer_transferred", |
|
72
|
"parentName": "CartWorkflowEvents", |
|
73
|
"propertyName": "CUSTOMER_TRANSFERRED", |
|
74
|
"payload": "```ts\n{\n id, // The ID of the cart\n customer_id, // The ID of the customer\n}\n```", |
|
75
|
"description": "Emitted when the customer in the cart is transferred.", |
|
76
|
"workflows": [ |
|
77
|
"transferCartCustomerWorkflow" |
|
78
|
], |
|
79
|
"since": "2.8.0", |
|
80
|
"deprecated": false |
|
81
|
}, |
|
82
|
{ |
|
83
|
"name": "customer.created", |
|
84
|
"parentName": "CustomerWorkflowEvents", |
|
85
|
"propertyName": "CREATED", |
|
86
|
"payload": "```ts\n{\n id, // The ID of the customer\n}\n```", |
|
87
|
"description": "Emitted when a customer is created.", |
|
88
|
"workflows": [ |
|
89
|
"createCustomersWorkflow", |
|
90
|
"createCustomerAccountWorkflow" |
|
91
|
], |
|
92
|
"deprecated": false |
|
93
|
}, |
|
94
|
{ |
|
95
|
"name": "customer.updated", |
|
96
|
"parentName": "CustomerWorkflowEvents", |
|
97
|
"propertyName": "UPDATED", |
|
98
|
"payload": "```ts\n{\n id, // The ID of the customer\n}\n```", |
|
99
|
"description": "Emitted when a customer is updated.", |
|
100
|
"workflows": [ |
|
101
|
"updateCustomersWorkflow" |
|
102
|
], |
|
103
|
"deprecated": false |
|
104
|
}, |
|
105
|
{ |
|
106
|
"name": "customer.deleted", |
|
107
|
"parentName": "CustomerWorkflowEvents", |
|
108
|
"propertyName": "DELETED", |
|
109
|
"payload": "```ts\n{\n id, // The ID of the customer\n}\n```", |
|
110
|
"description": "Emitted when a customer is deleted.", |
|
111
|
"workflows": [ |
|
112
|
"deleteCustomersWorkflow", |
|
113
|
"removeCustomerAccountWorkflow" |
|
114
|
], |
|
115
|
"deprecated": false |
|
116
|
}, |
|
117
|
{ |
|
118
|
"name": "order.updated", |
|
119
|
"parentName": "OrderWorkflowEvents", |
|
120
|
"propertyName": "UPDATED", |
|
121
|
"payload": "```ts\n{\n id, // The ID of the order\n}\n```", |
|
122
|
"description": "Emitted when the details of an order or draft order is updated. This\ndoesn't include updates made by an edit.", |
|
123
|
"workflows": [ |
|
124
|
"updateOrderWorkflow", |
|
125
|
"updateDraftOrderWorkflow" |
|
126
|
], |
|
127
|
"deprecated": false |
|
128
|
}, |
|
129
|
{ |
|
130
|
"name": "order.placed", |
|
131
|
"parentName": "OrderWorkflowEvents", |
|
132
|
"propertyName": "PLACED", |
|
133
|
"payload": "```ts\n{\n id, // The ID of the order\n}\n```", |
|
134
|
"description": "Emitted when an order is placed, or when a draft order is converted to an\norder.", |
|
135
|
"workflows": [ |
|
136
|
"convertDraftOrderWorkflow", |
|
137
|
"completeCartWorkflow" |
|
138
|
], |
|
139
|
"deprecated": false |
|
140
|
}, |
|
141
|
{ |
|
142
|
"name": "order.canceled", |
|
143
|
"parentName": "OrderWorkflowEvents", |
|
144
|
"propertyName": "CANCELED", |
|
145
|
"payload": "```ts\n{\n id, // The ID of the order\n}\n```", |
|
146
|
"description": "Emitted when an order is canceld.", |
|
147
|
"workflows": [ |
|
148
|
"cancelOrderWorkflow" |
|
149
|
], |
|
150
|
"deprecated": false |
|
151
|
}, |
|
152
|
{ |
|
153
|
"name": "order.completed", |
|
154
|
"parentName": "OrderWorkflowEvents", |
|
155
|
"propertyName": "COMPLETED", |
|
156
|
"payload": "```ts\n{\n id, // The ID of the order\n}\n```", |
|
157
|
"description": "Emitted when orders are completed.", |
|
158
|
"workflows": [ |
|
159
|
"completeOrderWorkflow" |
|
160
|
], |
|
161
|
"deprecated": false |
|
162
|
}, |
|
163
|
{ |
|
164
|
"name": "order.archived", |
|
165
|
"parentName": "OrderWorkflowEvents", |
|
166
|
"propertyName": "ARCHIVED", |
|
167
|
"payload": "```ts\n{\n id, // The ID of the order\n}\n```", |
|
168
|
"description": "Emitted when an order is archived.", |
|
169
|
"workflows": [ |
|
170
|
"archiveOrderWorkflow" |
|
171
|
], |
|
172
|
"deprecated": false |
|
173
|
}, |
|
174
|
{ |
|
175
|
"name": "order.fulfillment_created", |
|
176
|
"parentName": "OrderWorkflowEvents", |
|
177
|
"propertyName": "FULFILLMENT_CREATED", |
|
178
|
"payload": "```ts\n{\n order_id, // The ID of the order\n fulfillment_id, // The ID of the fulfillment\n no_notification, // (boolean) Whether to notify the customer\n}\n```", |
|
179
|
"description": "Emitted when a fulfillment is created for an order.", |
|
180
|
"workflows": [ |
|
181
|
"createOrderFulfillmentWorkflow" |
|
182
|
], |
|
183
|
"deprecated": false |
|
184
|
}, |
|
185
|
{ |
|
186
|
"name": "order.fulfillment_canceled", |
|
187
|
"parentName": "OrderWorkflowEvents", |
|
188
|
"propertyName": "FULFILLMENT_CANCELED", |
|
189
|
"payload": "```ts\n{\n order_id, // The ID of the order\n fulfillment_id, // The ID of the fulfillment\n no_notification, // (boolean) Whether to notify the customer\n}\n```", |
|
190
|
"description": "Emitted when an order's fulfillment is canceled.", |
|
191
|
"workflows": [ |
|
192
|
"cancelOrderFulfillmentWorkflow" |
|
193
|
], |
|
194
|
"deprecated": false |
|
195
|
}, |
|
196
|
{ |
|
197
|
"name": "order.return_requested", |
|
198
|
"parentName": "OrderWorkflowEvents", |
|
199
|
"propertyName": "RETURN_REQUESTED", |
|
200
|
"payload": "```ts\n{\n order_id, // The ID of the order\n return_id, // The ID of the return\n}\n```", |
|
201
|
"description": "Emitted when a return request is confirmed.", |
|
202
|
"workflows": [ |
|
203
|
"createAndCompleteReturnOrderWorkflow", |
|
204
|
"confirmReturnRequestWorkflow" |
|
205
|
], |
|
206
|
"deprecated": false |
|
207
|
}, |
|
208
|
{ |
|
209
|
"name": "order.return_received", |
|
210
|
"parentName": "OrderWorkflowEvents", |
|
211
|
"propertyName": "RETURN_RECEIVED", |
|
212
|
"payload": "```ts\n{\n order_id, // The ID of the order\n return_id, // The ID of the return\n}\n```", |
|
213
|
"description": "Emitted when a return is marked as received.", |
|
214
|
"workflows": [ |
|
215
|
"createAndCompleteReturnOrderWorkflow", |
|
216
|
"confirmReturnReceiveWorkflow" |
|
217
|
], |
|
218
|
"deprecated": false |
|
219
|
}, |
|
220
|
{ |
|
221
|
"name": "order.claim_created", |
|
222
|
"parentName": "OrderWorkflowEvents", |
|
223
|
"propertyName": "CLAIM_CREATED", |
|
224
|
"payload": "```ts\n{\n order_id, // The ID of the order\n claim_id, // The ID of the claim\n}\n```", |
|
225
|
"description": "Emitted when a claim is created for an order.", |
|
226
|
"workflows": [ |
|
227
|
"confirmClaimRequestWorkflow" |
|
228
|
], |
|
229
|
"deprecated": false |
|
230
|
}, |
|
231
|
{ |
|
232
|
"name": "order.exchange_created", |
|
233
|
"parentName": "OrderWorkflowEvents", |
|
234
|
"propertyName": "EXCHANGE_CREATED", |
|
235
|
"payload": "```ts\n{\n order_id, // The ID of the order\n exchange_id, // The ID of the exchange\n}\n```", |
|
236
|
"description": "Emitted when an exchange is created for an order.", |
|
237
|
"workflows": [ |
|
238
|
"confirmExchangeRequestWorkflow" |
|
239
|
], |
|
240
|
"deprecated": false |
|
241
|
}, |
|
242
|
{ |
|
243
|
"name": "order.transfer_requested", |
|
244
|
"parentName": "OrderWorkflowEvents", |
|
245
|
"propertyName": "TRANSFER_REQUESTED", |
|
246
|
"payload": "```ts\n{\n id, // The ID of the order\n order_change_id, // The ID of the order change created for the transfer\n}\n```", |
|
247
|
"description": "Emitted when an order is requested to be transferred to\nanother customer.", |
|
248
|
"workflows": [ |
|
249
|
"requestOrderTransferWorkflow" |
|
250
|
], |
|
251
|
"deprecated": false |
|
252
|
}, |
|
253
|
{ |
|
254
|
"name": "order-edit.requested", |
|
255
|
"parentName": "OrderEditWorkflowEvents", |
|
256
|
"propertyName": "REQUESTED", |
|
257
|
"payload": "```ts\n{\n order_id, // The ID of the order\n actions, // (array) The [actions](https://docs.medusajs.com/resources/references/fulfillment/interfaces/fulfillment.OrderChangeActionDTO) to edit the order\n no_notification, // (boolean) Whether the customer shouldn't be notified of the requested order edit. Available since v2.19.0.\n}\n```", |
|
258
|
"description": "Emitted when an order edit is requested.", |
|
259
|
"workflows": [ |
|
260
|
"requestOrderEditRequestWorkflow" |
|
261
|
], |
|
262
|
"since": "2.8.0", |
|
263
|
"deprecated": false |
|
264
|
}, |
|
265
|
{ |
|
266
|
"name": "order-edit.confirmed", |
|
267
|
"parentName": "OrderEditWorkflowEvents", |
|
268
|
"propertyName": "CONFIRMED", |
|
269
|
"payload": "```ts\n{\n order_id, // The ID of the order\n actions, // (array) The [actions](https://docs.medusajs.com/resources/references/fulfillment/interfaces/fulfillment.OrderChangeActionDTO) to edit the order\n no_notification, // (boolean) Whether the customer shouldn't be notified of the order edit, as stored on the order change when the edit was requested. Available since v2.19.0.\n}\n```", |
|
270
|
"description": "Emitted when an order edit request is confirmed.", |
|
271
|
"workflows": [ |
|
272
|
"confirmOrderEditRequestWorkflow" |
|
273
|
], |
|
274
|
"since": "2.8.0", |
|
275
|
"deprecated": false |
|
276
|
}, |
|
277
|
{ |
|
278
|
"name": "order-edit.canceled", |
|
279
|
"parentName": "OrderEditWorkflowEvents", |
|
280
|
"propertyName": "CANCELED", |
|
281
|
"payload": "```ts\n{\n order_id, // The ID of the order\n actions, // (array) The [actions](https://docs.medusajs.com/resources/references/fulfillment/interfaces/fulfillment.OrderChangeActionDTO) to edit the order\n}\n```", |
|
282
|
"description": "Emitted when an order edit request is canceled.", |
|
283
|
"workflows": [ |
|
284
|
"cancelBeginOrderEditWorkflow" |
|
285
|
], |
|
286
|
"since": "2.8.0", |
|
287
|
"deprecated": false |
|
288
|
}, |
|
289
|
{ |
|
290
|
"name": "user.created", |
|
291
|
"parentName": "UserWorkflowEvents", |
|
292
|
"propertyName": "CREATED", |
|
293
|
"payload": "```ts\n{\n id, // The ID of the user\n}\n```", |
|
294
|
"description": "Emitted when users are created.", |
|
295
|
"workflows": [ |
|
296
|
"createUsersWorkflow", |
|
297
|
"createUserAccountWorkflow", |
|
298
|
"acceptInviteWorkflow" |
|
299
|
], |
|
300
|
"deprecated": false |
|
301
|
}, |
|
302
|
{ |
|
303
|
"name": "user.updated", |
|
304
|
"parentName": "UserWorkflowEvents", |
|
305
|
"propertyName": "UPDATED", |
|
306
|
"payload": "```ts\n{\n id, // The ID of the user\n}\n```", |
|
307
|
"description": "Emitted when users are updated.", |
|
308
|
"workflows": [ |
|
309
|
"updateUsersWorkflow" |
|
310
|
], |
|
311
|
"deprecated": false |
|
312
|
}, |
|
313
|
{ |
|
314
|
"name": "user.deleted", |
|
315
|
"parentName": "UserWorkflowEvents", |
|
316
|
"propertyName": "DELETED", |
|
317
|
"payload": "```ts\n{\n id, // The ID of the user\n}\n```", |
|
318
|
"description": "Emitted when users are deleted.", |
|
319
|
"workflows": [ |
|
320
|
"deleteUsersWorkflow", |
|
321
|
"removeUserAccountWorkflow" |
|
322
|
], |
|
323
|
"deprecated": false |
|
324
|
}, |
|
325
|
{ |
|
326
|
"name": "auth.password_reset", |
|
327
|
"parentName": "AuthWorkflowEvents", |
|
328
|
"propertyName": "PASSWORD_RESET", |
|
329
|
"payload": "```ts\n{\n entity_id, // The identifier of the user or customer. For example, an email address.\n actor_type, // The type of actor. For example, \"customer\", \"user\", or custom.\n token, // The generated token.\n metadata, // Optional custom metadata passed from the request.\n}\n```", |
|
330
|
"description": "Emitted when a reset password token is generated. You can listen to this event\nto send a reset password email to the user or customer, for example.", |
|
331
|
"workflows": [ |
|
332
|
"generateResetPasswordTokenWorkflow" |
|
333
|
], |
|
334
|
"deprecated": false |
|
335
|
}, |
|
336
|
{ |
|
337
|
"name": "auth.verification_requested", |
|
338
|
"parentName": "AuthWorkflowEvents", |
|
339
|
"propertyName": "VERIFICATION_REQUESTED", |
|
340
|
"payload": "```ts\n{\n entity_id, // The identifier of the entity being verified. For example, an email address.\n entity_type, // The kind of entity being verified. For example, \"email\".\n code_provider, // The verification provider that generated the code. For example, \"token\".\n auth_identity_id, // The ID of the auth identity being verified.\n code, // The generated verification code.\n expires_at, // (Date) The code expiry date.\n metadata, // (object) Optional custom metadata passed from the request.\n}\n```", |
|
341
|
"description": "Emitted when a verification code is generated. You can listen to\nthis event and decide how to deliver the code to the user or customer.\nThe payload changed in v2.17.0:\n`actor_type` and `provider_identity_id` were removed,\n`provider` was renamed to `code_provider`, and `entity_type` was added.\nSubscribers written before v2.17.0 must be updated to use the payload below.", |
|
342
|
"workflows": [ |
|
343
|
"requestVerificationWorkflow" |
|
344
|
], |
|
345
|
"since": "2.15.5", |
|
346
|
"deprecated": false |
|
347
|
}, |
|
348
|
{ |
|
349
|
"name": "sales-channel.created", |
|
350
|
"parentName": "SalesChannelWorkflowEvents", |
|
351
|
"propertyName": "CREATED", |
|
352
|
"payload": "```ts\n{\n id, // The ID of the sales channel\n}\n```", |
|
353
|
"description": "Emitted when sales channels are created.", |
|
354
|
"workflows": [ |
|
355
|
"createSalesChannelsWorkflow" |
|
356
|
], |
|
357
|
"deprecated": false |
|
358
|
}, |
|
359
|
{ |
|
360
|
"name": "sales-channel.updated", |
|
361
|
"parentName": "SalesChannelWorkflowEvents", |
|
362
|
"propertyName": "UPDATED", |
|
363
|
"payload": "```ts\n{\n id, // The ID of the sales channel\n}\n```", |
|
364
|
"description": "Emitted when sales channels are updated.", |
|
365
|
"workflows": [ |
|
366
|
"updateSalesChannelsWorkflow" |
|
367
|
], |
|
368
|
"deprecated": false |
|
369
|
}, |
|
370
|
{ |
|
371
|
"name": "sales-channel.deleted", |
|
372
|
"parentName": "SalesChannelWorkflowEvents", |
|
373
|
"propertyName": "DELETED", |
|
374
|
"payload": "```ts\n{\n id, // The ID of the sales channel\n}\n```", |
|
375
|
"description": "Emitted when sales channels are deleted.", |
|
376
|
"workflows": [ |
|
377
|
"deleteSalesChannelsWorkflow" |
|
378
|
], |
|
379
|
"deprecated": false |
|
380
|
}, |
|
381
|
{ |
|
382
|
"name": "product-category.created", |
|
383
|
"parentName": "ProductCategoryWorkflowEvents", |
|
384
|
"propertyName": "CREATED", |
|
385
|
"payload": "```ts\n{\n id, // The ID of the product category\n}\n```", |
|
386
|
"description": "Emitted when product categories are created.", |
|
387
|
"workflows": [ |
|
388
|
"createProductCategoriesWorkflow" |
|
389
|
], |
|
390
|
"deprecated": false |
|
391
|
}, |
|
392
|
{ |
|
393
|
"name": "product-category.updated", |
|
394
|
"parentName": "ProductCategoryWorkflowEvents", |
|
395
|
"propertyName": "UPDATED", |
|
396
|
"payload": "```ts\n{\n id, // The ID of the product category\n}\n```", |
|
397
|
"description": "Emitted when product categories are updated.", |
|
398
|
"workflows": [ |
|
399
|
"updateProductCategoriesWorkflow" |
|
400
|
], |
|
401
|
"deprecated": false |
|
402
|
}, |
|
403
|
{ |
|
404
|
"name": "product-category.deleted", |
|
405
|
"parentName": "ProductCategoryWorkflowEvents", |
|
406
|
"propertyName": "DELETED", |
|
407
|
"payload": "```ts\n{\n id, // The ID of the product category\n}\n```", |
|
408
|
"description": "Emitted when product categories are deleted.", |
|
409
|
"workflows": [ |
|
410
|
"deleteProductCategoriesWorkflow" |
|
411
|
], |
|
412
|
"deprecated": false |
|
413
|
}, |
|
414
|
{ |
|
415
|
"name": "product-collection.created", |
|
416
|
"parentName": "ProductCollectionWorkflowEvents", |
|
417
|
"propertyName": "CREATED", |
|
418
|
"payload": "```ts\n{\n id, // The ID of the product collection\n}\n```", |
|
419
|
"description": "Emitted when product collections are created.", |
|
420
|
"workflows": [ |
|
421
|
"createCollectionsWorkflow" |
|
422
|
], |
|
423
|
"deprecated": false |
|
424
|
}, |
|
425
|
{ |
|
426
|
"name": "product-collection.updated", |
|
427
|
"parentName": "ProductCollectionWorkflowEvents", |
|
428
|
"propertyName": "UPDATED", |
|
429
|
"payload": "```ts\n{\n id, // The ID of the product collection\n}\n```", |
|
430
|
"description": "Emitted when product collections are updated.", |
|
431
|
"workflows": [ |
|
432
|
"updateCollectionsWorkflow" |
|
433
|
], |
|
434
|
"deprecated": false |
|
435
|
}, |
|
436
|
{ |
|
437
|
"name": "product-collection.deleted", |
|
438
|
"parentName": "ProductCollectionWorkflowEvents", |
|
439
|
"propertyName": "DELETED", |
|
440
|
"payload": "```ts\n{\n id, // The ID of the product collection\n}\n```", |
|
441
|
"description": "Emitted when product collections are deleted.", |
|
442
|
"workflows": [ |
|
443
|
"deleteCollectionsWorkflow" |
|
444
|
], |
|
445
|
"deprecated": false |
|
446
|
}, |
|
447
|
{ |
|
448
|
"name": "product-variant.updated", |
|
449
|
"parentName": "ProductVariantWorkflowEvents", |
|
450
|
"propertyName": "UPDATED", |
|
451
|
"payload": "```ts\n{\n id, // The ID of the product variant\n}\n```", |
|
452
|
"description": "Emitted when product variants are updated.", |
|
453
|
"workflows": [ |
|
454
|
"updateProductVariantsWorkflow", |
|
455
|
"batchProductVariantsWorkflow" |
|
456
|
], |
|
457
|
"deprecated": false |
|
458
|
}, |
|
459
|
{ |
|
460
|
"name": "product-variant.created", |
|
461
|
"parentName": "ProductVariantWorkflowEvents", |
|
462
|
"propertyName": "CREATED", |
|
463
|
"payload": "```ts\n{\n id, // The ID of the product variant\n}\n```", |
|
464
|
"description": "Emitted when product variants are created.", |
|
465
|
"workflows": [ |
|
466
|
"createProductVariantsWorkflow", |
|
467
|
"createProductsWorkflow", |
|
468
|
"batchProductVariantsWorkflow", |
|
469
|
"batchProductsWorkflow", |
|
470
|
"importProductsWorkflow" |
|
471
|
], |
|
472
|
"deprecated": false |
|
473
|
}, |
|
474
|
{ |
|
475
|
"name": "product-variant.deleted", |
|
476
|
"parentName": "ProductVariantWorkflowEvents", |
|
477
|
"propertyName": "DELETED", |
|
478
|
"payload": "```ts\n{\n id, // The ID of the product variant\n}\n```", |
|
479
|
"description": "Emitted when product variants are deleted.", |
|
480
|
"workflows": [ |
|
481
|
"deleteProductVariantsWorkflow", |
|
482
|
"batchProductVariantsWorkflow" |
|
483
|
], |
|
484
|
"deprecated": false |
|
485
|
}, |
|
486
|
{ |
|
487
|
"name": "product.updated", |
|
488
|
"parentName": "ProductWorkflowEvents", |
|
489
|
"propertyName": "UPDATED", |
|
490
|
"payload": "```ts\n{\n id, // The ID of the product\n}\n```", |
|
491
|
"description": "Emitted when products are updated.", |
|
492
|
"workflows": [ |
|
493
|
"updateProductsWorkflow", |
|
494
|
"createAndLinkProductOptionsToProductWorkflow", |
|
495
|
"batchProductsWorkflow", |
|
496
|
"importProductsWorkflow" |
|
497
|
], |
|
498
|
"deprecated": false |
|
499
|
}, |
|
500
|
{ |
|
501
|
"name": "product.created", |
|
502
|
"parentName": "ProductWorkflowEvents", |
|
503
|
"propertyName": "CREATED", |
|
504
|
"payload": "```ts\n{\n id, // The ID of the product\n}\n```", |
|
505
|
"description": "Emitted when products are created.", |
|
506
|
"workflows": [ |
|
507
|
"createProductsWorkflow", |
|
508
|
"batchProductsWorkflow", |
|
509
|
"importProductsWorkflow" |
|
510
|
], |
|
511
|
"deprecated": false |
|
512
|
}, |
|
513
|
{ |
|
514
|
"name": "product.deleted", |
|
515
|
"parentName": "ProductWorkflowEvents", |
|
516
|
"propertyName": "DELETED", |
|
517
|
"payload": "```ts\n{\n id, // The ID of the product\n}\n```", |
|
518
|
"description": "Emitted when products are deleted.", |
|
519
|
"workflows": [ |
|
520
|
"deleteProductsWorkflow", |
|
521
|
"batchProductsWorkflow", |
|
522
|
"importProductsWorkflow" |
|
523
|
], |
|
524
|
"deprecated": false |
|
525
|
}, |
|
526
|
{ |
|
527
|
"name": "product-type.updated", |
|
528
|
"parentName": "ProductTypeWorkflowEvents", |
|
529
|
"propertyName": "UPDATED", |
|
530
|
"payload": "```ts\n{\n id, // The ID of the product type\n}\n```", |
|
531
|
"description": "Emitted when product types are updated.", |
|
532
|
"workflows": [ |
|
533
|
"updateProductTypesWorkflow" |
|
534
|
], |
|
535
|
"deprecated": false |
|
536
|
}, |
|
537
|
{ |
|
538
|
"name": "product-type.created", |
|
539
|
"parentName": "ProductTypeWorkflowEvents", |
|
540
|
"propertyName": "CREATED", |
|
541
|
"payload": "```ts\n{\n id, // The ID of the product type\n}\n```", |
|
542
|
"description": "Emitted when product types are created.", |
|
543
|
"workflows": [ |
|
544
|
"createProductTypesWorkflow" |
|
545
|
], |
|
546
|
"deprecated": false |
|
547
|
}, |
|
548
|
{ |
|
549
|
"name": "product-type.deleted", |
|
550
|
"parentName": "ProductTypeWorkflowEvents", |
|
551
|
"propertyName": "DELETED", |
|
552
|
"payload": "```ts\n{\n id, // The ID of the product type\n}\n```", |
|
553
|
"description": "Emitted when product types are deleted.", |
|
554
|
"workflows": [ |
|
555
|
"deleteProductTypesWorkflow" |
|
556
|
], |
|
557
|
"deprecated": false |
|
558
|
}, |
|
559
|
{ |
|
560
|
"name": "product-tag.updated", |
|
561
|
"parentName": "ProductTagWorkflowEvents", |
|
562
|
"propertyName": "UPDATED", |
|
563
|
"payload": "```ts\n{\n id, // The ID of the product tag\n}\n```", |
|
564
|
"description": "Emitted when product tags are updated.", |
|
565
|
"workflows": [ |
|
566
|
"updateProductTagsWorkflow" |
|
567
|
], |
|
568
|
"deprecated": false |
|
569
|
}, |
|
570
|
{ |
|
571
|
"name": "product-tag.created", |
|
572
|
"parentName": "ProductTagWorkflowEvents", |
|
573
|
"propertyName": "CREATED", |
|
574
|
"payload": "```ts\n{\n id, // The ID of the product tag\n}\n```", |
|
575
|
"description": "Emitted when product tags are created.", |
|
576
|
"workflows": [ |
|
577
|
"createProductTagsWorkflow" |
|
578
|
], |
|
579
|
"deprecated": false |
|
580
|
}, |
|
581
|
{ |
|
582
|
"name": "product-tag.deleted", |
|
583
|
"parentName": "ProductTagWorkflowEvents", |
|
584
|
"propertyName": "DELETED", |
|
585
|
"payload": "```ts\n{\n id, // The ID of the product tag\n}\n```", |
|
586
|
"description": "Emitted when product tags are deleted.", |
|
587
|
"workflows": [ |
|
588
|
"deleteProductTagsWorkflow" |
|
589
|
], |
|
590
|
"deprecated": false |
|
591
|
}, |
|
592
|
{ |
|
593
|
"name": "product-option.updated", |
|
594
|
"parentName": "ProductOptionWorkflowEvents", |
|
595
|
"propertyName": "UPDATED", |
|
596
|
"payload": "```ts\n{\n id, // The ID of the product option\n}\n```", |
|
597
|
"description": "Emitted when product options are updated.", |
|
598
|
"workflows": [ |
|
599
|
"updateProductOptionsWorkflow" |
|
600
|
], |
|
601
|
"deprecated": false |
|
602
|
}, |
|
603
|
{ |
|
604
|
"name": "product-option.created", |
|
605
|
"parentName": "ProductOptionWorkflowEvents", |
|
606
|
"propertyName": "CREATED", |
|
607
|
"payload": "```ts\n{\n id, // The ID of the product option\n}\n```", |
|
608
|
"description": "Emitted when product options are created.", |
|
609
|
"workflows": [ |
|
610
|
"createProductOptionsWorkflow" |
|
611
|
], |
|
612
|
"deprecated": false |
|
613
|
}, |
|
614
|
{ |
|
615
|
"name": "product-option.deleted", |
|
616
|
"parentName": "ProductOptionWorkflowEvents", |
|
617
|
"propertyName": "DELETED", |
|
618
|
"payload": "```ts\n{\n id, // The ID of the product option\n}\n```", |
|
619
|
"description": "Emitted when product options are deleted.", |
|
620
|
"workflows": [ |
|
621
|
"deleteProductOptionsWorkflow", |
|
622
|
"deleteProductsWorkflow", |
|
623
|
"batchProductsWorkflow", |
|
624
|
"importProductsWorkflow" |
|
625
|
], |
|
626
|
"deprecated": false |
|
627
|
}, |
|
628
|
{ |
|
629
|
"name": "product-option-value.updated", |
|
630
|
"parentName": "ProductOptionValueWorkflowEvents", |
|
631
|
"propertyName": "UPDATED", |
|
632
|
"payload": "```ts\n{\n id, // The ID of the product option value\n}\n```", |
|
633
|
"description": "Emitted when product option values are updated.", |
|
634
|
"workflows": [ |
|
635
|
"updateProductOptionValuesWorkflow" |
|
636
|
], |
|
637
|
"since": "2.20.0", |
|
638
|
"deprecated": false |
|
639
|
}, |
|
640
|
{ |
|
641
|
"name": "product-option-value.deleted", |
|
642
|
"parentName": "ProductOptionValueWorkflowEvents", |
|
643
|
"propertyName": "DELETED", |
|
644
|
"payload": "```ts\n{\n id, // The ID of the product option value\n}\n```", |
|
645
|
"description": "Emitted when product option values are deleted.", |
|
646
|
"workflows": [ |
|
647
|
"deleteProductOptionValuesWorkflow" |
|
648
|
], |
|
649
|
"since": "2.20.0", |
|
650
|
"deprecated": false |
|
651
|
}, |
|
652
|
{ |
|
653
|
"name": "invite.accepted", |
|
654
|
"parentName": "InviteWorkflowEvents", |
|
655
|
"propertyName": "ACCEPTED", |
|
656
|
"payload": "```ts\n{\n id, // The ID of the invite\n}\n```", |
|
657
|
"description": "Emitted when an invite is accepted.", |
|
658
|
"workflows": [ |
|
659
|
"acceptInviteWorkflow" |
|
660
|
], |
|
661
|
"deprecated": false |
|
662
|
}, |
|
663
|
{ |
|
664
|
"name": "invite.created", |
|
665
|
"parentName": "InviteWorkflowEvents", |
|
666
|
"propertyName": "CREATED", |
|
667
|
"payload": "```ts\n{\n id, // The ID of the invite\n}\n```", |
|
668
|
"description": "Emitted when invites are created. You can listen to this event\nto send an email to the invited users, for example.", |
|
669
|
"workflows": [ |
|
670
|
"createInvitesWorkflow" |
|
671
|
], |
|
672
|
"deprecated": false |
|
673
|
}, |
|
674
|
{ |
|
675
|
"name": "invite.deleted", |
|
676
|
"parentName": "InviteWorkflowEvents", |
|
677
|
"propertyName": "DELETED", |
|
678
|
"payload": "```ts\n{\n id, // The ID of the invite\n}\n```", |
|
679
|
"description": "Emitted when invites are deleted.", |
|
680
|
"workflows": [ |
|
681
|
"deleteInvitesWorkflow" |
|
682
|
], |
|
683
|
"deprecated": false |
|
684
|
}, |
|
685
|
{ |
|
686
|
"name": "invite.resent", |
|
687
|
"parentName": "InviteWorkflowEvents", |
|
688
|
"propertyName": "RESENT", |
|
689
|
"payload": "```ts\n{\n id, // The ID of the invite\n}\n```", |
|
690
|
"description": "Emitted when invites should be resent because their token was\nrefreshed. You can listen to this event to send an email to the invited users,\nfor example.", |
|
691
|
"workflows": [ |
|
692
|
"refreshInviteTokensWorkflow" |
|
693
|
], |
|
694
|
"deprecated": false |
|
695
|
}, |
|
696
|
{ |
|
697
|
"name": "region.updated", |
|
698
|
"parentName": "RegionWorkflowEvents", |
|
699
|
"propertyName": "UPDATED", |
|
700
|
"payload": "```ts\n{\n id, // The ID of the region\n}\n```", |
|
701
|
"description": "Emitted when regions are updated.", |
|
702
|
"workflows": [ |
|
703
|
"updateRegionsWorkflow" |
|
704
|
], |
|
705
|
"deprecated": false |
|
706
|
}, |
|
707
|
{ |
|
708
|
"name": "region.created", |
|
709
|
"parentName": "RegionWorkflowEvents", |
|
710
|
"propertyName": "CREATED", |
|
711
|
"payload": "```ts\n{\n id, // The ID of the region\n}\n```", |
|
712
|
"description": "Emitted when regions are created.", |
|
713
|
"workflows": [ |
|
714
|
"createRegionsWorkflow" |
|
715
|
], |
|
716
|
"deprecated": false |
|
717
|
}, |
|
718
|
{ |
|
719
|
"name": "region.deleted", |
|
720
|
"parentName": "RegionWorkflowEvents", |
|
721
|
"propertyName": "DELETED", |
|
722
|
"payload": "```ts\n{\n id, // The ID of the region\n}\n```", |
|
723
|
"description": "Emitted when regions are deleted.", |
|
724
|
"workflows": [ |
|
725
|
"deleteRegionsWorkflow" |
|
726
|
], |
|
727
|
"deprecated": false |
|
728
|
}, |
|
729
|
{ |
|
730
|
"name": "shipment.created", |
|
731
|
"parentName": "FulfillmentWorkflowEvents", |
|
732
|
"propertyName": "SHIPMENT_CREATED", |
|
733
|
"payload": "```ts\n{\n id, // the ID of the fulfillment\n no_notification, // (boolean) whether to notify the customer\n}\n```", |
|
734
|
"description": "Emitted when a shipment is created for an order.", |
|
735
|
"workflows": [ |
|
736
|
"createOrderShipmentWorkflow" |
|
737
|
], |
|
738
|
"deprecated": false |
|
739
|
}, |
|
740
|
{ |
|
741
|
"name": "delivery.created", |
|
742
|
"parentName": "FulfillmentWorkflowEvents", |
|
743
|
"propertyName": "DELIVERY_CREATED", |
|
744
|
"payload": "```ts\n{\n id, // the ID of the fulfillment\n}\n```", |
|
745
|
"description": "Emitted when a fulfillment is marked as delivered.", |
|
746
|
"workflows": [ |
|
747
|
"markOrderFulfillmentAsDeliveredWorkflow" |
|
748
|
], |
|
749
|
"deprecated": false |
|
750
|
}, |
|
751
|
{ |
|
752
|
"name": "shipping-option-type.updated", |
|
753
|
"parentName": "ShippingOptionTypeWorkflowEvents", |
|
754
|
"propertyName": "UPDATED", |
|
755
|
"payload": "```ts\n{\n id, // The ID of the shipping option type\n}\n```", |
|
756
|
"description": "Emitted when shipping option types are updated.", |
|
757
|
"workflows": [ |
|
758
|
"updateShippingOptionTypesWorkflow" |
|
759
|
], |
|
760
|
"since": "2.10.0", |
|
761
|
"deprecated": false |
|
762
|
}, |
|
763
|
{ |
|
764
|
"name": "shipping-option-type.created", |
|
765
|
"parentName": "ShippingOptionTypeWorkflowEvents", |
|
766
|
"propertyName": "CREATED", |
|
767
|
"payload": "```ts\n{\n id, // The ID of the shipping option type\n}\n```", |
|
768
|
"description": "Emitted when shipping option types are created.", |
|
769
|
"workflows": [ |
|
770
|
"createShippingOptionTypesWorkflow" |
|
771
|
], |
|
772
|
"since": "2.10.0", |
|
773
|
"deprecated": false |
|
774
|
}, |
|
775
|
{ |
|
776
|
"name": "shipping-option-type.deleted", |
|
777
|
"parentName": "ShippingOptionTypeWorkflowEvents", |
|
778
|
"propertyName": "DELETED", |
|
779
|
"payload": "```ts\n{\n id, // The ID of the shipping option type\n}\n```", |
|
780
|
"description": "Emitted when shipping option types are deleted.", |
|
781
|
"workflows": [ |
|
782
|
"deleteShippingOptionTypesWorkflow" |
|
783
|
], |
|
784
|
"since": "2.10.0", |
|
785
|
"deprecated": false |
|
786
|
}, |
|
787
|
{ |
|
788
|
"name": "shipping-option.created", |
|
789
|
"parentName": "ShippingOptionWorkflowEvents", |
|
790
|
"propertyName": "CREATED", |
|
791
|
"payload": "```ts\n{\n id, // The ID of the shipping option\n}\n```", |
|
792
|
"description": "Emitted when shipping options are created.", |
|
793
|
"workflows": [ |
|
794
|
"createShippingOptionsWorkflow" |
|
795
|
], |
|
796
|
"since": "2.12.4", |
|
797
|
"deprecated": false |
|
798
|
}, |
|
799
|
{ |
|
800
|
"name": "shipping-option.updated", |
|
801
|
"parentName": "ShippingOptionWorkflowEvents", |
|
802
|
"propertyName": "UPDATED", |
|
803
|
"payload": "```ts\n{\n id, // The ID of the shipping option\n}\n```", |
|
804
|
"description": "Emitted when shipping options are updated.", |
|
805
|
"workflows": [ |
|
806
|
"updateShippingOptionsWorkflow" |
|
807
|
], |
|
808
|
"since": "2.12.4", |
|
809
|
"deprecated": false |
|
810
|
}, |
|
811
|
{ |
|
812
|
"name": "shipping-option.deleted", |
|
813
|
"parentName": "ShippingOptionWorkflowEvents", |
|
814
|
"propertyName": "DELETED", |
|
815
|
"payload": "```ts\n{\n id, // The ID of the shipping option\n}\n```", |
|
816
|
"description": "Emitted when shipping options are deleted.", |
|
817
|
"workflows": [ |
|
818
|
"deleteShippingOptionsWorkflow" |
|
819
|
], |
|
820
|
"since": "2.12.4", |
|
821
|
"deprecated": false |
|
822
|
}, |
|
823
|
{ |
|
824
|
"name": "payment.captured", |
|
825
|
"parentName": "PaymentEvents", |
|
826
|
"propertyName": "CAPTURED", |
|
827
|
"payload": "```ts\n{\n id, // the ID of the payment\n}\n```", |
|
828
|
"description": "Emitted when a payment is captured.", |
|
829
|
"workflows": [ |
|
830
|
"capturePaymentWorkflow", |
|
831
|
"processPaymentWorkflow", |
|
832
|
"markPaymentCollectionAsPaid" |
|
833
|
], |
|
834
|
"deprecated": false |
|
835
|
}, |
|
836
|
{ |
|
837
|
"name": "payment.refunded", |
|
838
|
"parentName": "PaymentEvents", |
|
839
|
"propertyName": "REFUNDED", |
|
840
|
"payload": "```ts\n{\n id, // the ID of the payment\n}\n```", |
|
841
|
"description": "Emitted when a payment is refunded.", |
|
842
|
"workflows": [ |
|
843
|
"refundPaymentWorkflow" |
|
844
|
], |
|
845
|
"deprecated": false |
|
846
|
}, |
|
847
|
{ |
|
848
|
"name": "translation.created", |
|
849
|
"parentName": "TranslationWorkflowEvents", |
|
850
|
"propertyName": "CREATED", |
|
851
|
"payload": "```ts\n{\n id, // The ID of the translation\n}\n```", |
|
852
|
"description": "Emitted when translations are created.", |
|
853
|
"workflows": [ |
|
854
|
"createTranslationsWorkflow", |
|
855
|
"batchTranslationsWorkflow" |
|
856
|
], |
|
857
|
"since": "2.12.3", |
|
858
|
"deprecated": false |
|
859
|
}, |
|
860
|
{ |
|
861
|
"name": "translation.updated", |
|
862
|
"parentName": "TranslationWorkflowEvents", |
|
863
|
"propertyName": "UPDATED", |
|
864
|
"payload": "```ts\n{\n id, // The ID of the translation\n}\n```", |
|
865
|
"description": "Emitted when translations are updated.", |
|
866
|
"workflows": [ |
|
867
|
"updateTranslationsWorkflow", |
|
868
|
"batchTranslationsWorkflow" |
|
869
|
], |
|
870
|
"since": "2.12.3", |
|
871
|
"deprecated": false |
|
872
|
}, |
|
873
|
{ |
|
874
|
"name": "translation.deleted", |
|
875
|
"parentName": "TranslationWorkflowEvents", |
|
876
|
"propertyName": "DELETED", |
|
877
|
"payload": "```ts\n{\n id, // The ID of the translation\n}\n```", |
|
878
|
"description": "Emitted when translations are deleted.", |
|
879
|
"workflows": [ |
|
880
|
"deleteTranslationsWorkflow", |
|
881
|
"batchTranslationsWorkflow" |
|
882
|
], |
|
883
|
"since": "2.12.3", |
|
884
|
"deprecated": false |
|
885
|
}, |
|
886
|
{ |
|
887
|
"name": "inventory-item.created", |
|
888
|
"parentName": "InventoryItemWorkflowEvents", |
|
889
|
"propertyName": "CREATED", |
|
890
|
"payload": "```ts\n{\n id, // The ID of the inventory item\n}\n```", |
|
891
|
"description": "Emitted when inventory items are created.", |
|
892
|
"workflows": [ |
|
893
|
"createInventoryItemsWorkflow", |
|
894
|
"createProductVariantsWorkflow", |
|
895
|
"createProductsWorkflow", |
|
896
|
"batchProductVariantsWorkflow", |
|
897
|
"batchProductsWorkflow", |
|
898
|
"importProductsWorkflow" |
|
899
|
], |
|
900
|
"since": "2.18.0", |
|
901
|
"deprecated": false |
|
902
|
}, |
|
903
|
{ |
|
904
|
"name": "inventory-item.updated", |
|
905
|
"parentName": "InventoryItemWorkflowEvents", |
|
906
|
"propertyName": "UPDATED", |
|
907
|
"payload": "```ts\n{\n id, // The ID of the inventory item\n}\n```", |
|
908
|
"description": "Emitted when inventory items are updated.", |
|
909
|
"workflows": [ |
|
910
|
"updateInventoryItemsWorkflow" |
|
911
|
], |
|
912
|
"since": "2.18.0", |
|
913
|
"deprecated": false |
|
914
|
}, |
|
915
|
{ |
|
916
|
"name": "inventory-item.deleted", |
|
917
|
"parentName": "InventoryItemWorkflowEvents", |
|
918
|
"propertyName": "DELETED", |
|
919
|
"payload": "```ts\n{\n id, // The ID of the inventory item\n}\n```", |
|
920
|
"description": "Emitted when inventory items are deleted.", |
|
921
|
"workflows": [ |
|
922
|
"deleteInventoryItemWorkflow", |
|
923
|
"deleteProductsWorkflow", |
|
924
|
"deleteProductVariantsWorkflow", |
|
925
|
"batchProductsWorkflow", |
|
926
|
"batchProductVariantsWorkflow", |
|
927
|
"importProductsWorkflow" |
|
928
|
], |
|
929
|
"since": "2.18.0", |
|
930
|
"deprecated": false |
|
931
|
}, |
|
932
|
{ |
|
933
|
"name": "inventory-level.created", |
|
934
|
"parentName": "InventoryLevelWorkflowEvents", |
|
935
|
"propertyName": "CREATED", |
|
936
|
"payload": "```ts\n{\n id, // The ID of the inventory level\n}\n```", |
|
937
|
"description": "Emitted when inventory levels are created.", |
|
938
|
"workflows": [ |
|
939
|
"createInventoryLevelsWorkflow", |
|
940
|
"bulkCreateDeleteLevelsWorkflow", |
|
941
|
"batchInventoryItemLevelsWorkflow", |
|
942
|
"createInventoryItemsWorkflow", |
|
943
|
"createProductVariantsWorkflow", |
|
944
|
"createProductsWorkflow", |
|
945
|
"batchProductVariantsWorkflow", |
|
946
|
"batchProductsWorkflow", |
|
947
|
"importProductsWorkflow" |
|
948
|
], |
|
949
|
"since": "2.18.0", |
|
950
|
"deprecated": false |
|
951
|
}, |
|
952
|
{ |
|
953
|
"name": "inventory-level.updated", |
|
954
|
"parentName": "InventoryLevelWorkflowEvents", |
|
955
|
"propertyName": "UPDATED", |
|
956
|
"payload": "```ts\n{\n id, // The ID of the inventory level\n order_id, // (optional) The ID of the order, if the update was triggered by an order flow\n}\n```", |
|
957
|
"description": "Emitted when inventory levels are updated. This includes adjustments to\nthe stocked or reserved quantity, such as during order fulfillment.", |
|
958
|
"workflows": [ |
|
959
|
"createOrderFulfillmentWorkflow", |
|
960
|
"cancelOrderFulfillmentWorkflow", |
|
961
|
"updateInventoryLevelsWorkflow", |
|
962
|
"batchInventoryItemLevelsWorkflow", |
|
963
|
"confirmReturnReceiveWorkflow" |
|
964
|
], |
|
965
|
"since": "2.18.0", |
|
966
|
"deprecated": false |
|
967
|
}, |
|
968
|
{ |
|
969
|
"name": "inventory-level.deleted", |
|
970
|
"parentName": "InventoryLevelWorkflowEvents", |
|
971
|
"propertyName": "DELETED", |
|
972
|
"payload": "```ts\n{\n id, // The ID of the inventory level\n}\n```", |
|
973
|
"description": "Emitted when inventory levels are deleted.", |
|
974
|
"workflows": [ |
|
975
|
"deleteInventoryLevelsWorkflow", |
|
976
|
"bulkCreateDeleteLevelsWorkflow", |
|
977
|
"batchInventoryItemLevelsWorkflow" |
|
978
|
], |
|
979
|
"since": "2.18.0", |
|
980
|
"deprecated": false |
|
981
|
}, |
|
982
|
{ |
|
983
|
"name": "reservation-item.created", |
|
984
|
"parentName": "ReservationItemWorkflowEvents", |
|
985
|
"propertyName": "CREATED", |
|
986
|
"payload": "```ts\n{\n id, // The ID of the reservation\n order_id, // (optional) The ID of the order, if the reservation was created by an order flow\n}\n```", |
|
987
|
"description": "Emitted when reservations are created.", |
|
988
|
"workflows": [ |
|
989
|
"createReservationsWorkflow", |
|
990
|
"cancelOrderFulfillmentWorkflow", |
|
991
|
"convertDraftOrderWorkflow", |
|
992
|
"completeCartWorkflow", |
|
993
|
"confirmOrderEditRequestWorkflow", |
|
994
|
"confirmExchangeRequestWorkflow", |
|
995
|
"confirmClaimRequestWorkflow" |
|
996
|
], |
|
997
|
"since": "2.18.0", |
|
998
|
"deprecated": false |
|
999
|
}, |
|
1000
|
{ |
|
1001
|
"name": "reservation-item.updated", |
|
1002
|
"parentName": "ReservationItemWorkflowEvents", |
|
1003
|
"propertyName": "UPDATED", |
|
1004
|
"payload": "```ts\n{\n id, // The ID of the reservation\n order_id, // (optional) The ID of the order, if the reservation was updated by an order flow\n}\n```", |
|
1005
|
"description": "Emitted when reservations are updated.", |
|
1006
|
"workflows": [ |
|
1007
|
"updateReservationsWorkflow", |
|
1008
|
"createOrderFulfillmentWorkflow", |
|
1009
|
"cancelOrderFulfillmentWorkflow" |
|
1010
|
], |
|
1011
|
"since": "2.18.0", |
|
1012
|
"deprecated": false |
|
1013
|
}, |
|
1014
|
{ |
|
1015
|
"name": "reservation-item.deleted", |
|
1016
|
"parentName": "ReservationItemWorkflowEvents", |
|
1017
|
"propertyName": "DELETED", |
|
1018
|
"payload": "```ts\n{\n id, // The ID of the reservation\n order_id, // (optional) The ID of the order, if the reservation was deleted by an order flow\n}\n```", |
|
1019
|
"description": "Emitted when reservations are deleted.", |
|
1020
|
"workflows": [ |
|
1021
|
"deleteReservationsWorkflow", |
|
1022
|
"deleteReservationsByLineItemsWorkflow", |
|
1023
|
"createOrderFulfillmentWorkflow", |
|
1024
|
"cancelOrderWorkflow", |
|
1025
|
"confirmOrderEditRequestWorkflow", |
|
1026
|
"cancelOrderExchangeWorkflow", |
|
1027
|
"cancelOrderClaimWorkflow" |
|
1028
|
], |
|
1029
|
"since": "2.18.0", |
|
1030
|
"deprecated": false |
|
1031
|
} |
|
1032
|
] |