docs: fix events payloads (#14131)
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
"name": "customer.created",
|
||||
"parentName": "CustomerWorkflowEvents",
|
||||
"propertyName": "CREATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the customer\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the customer\n}\n```",
|
||||
"description": "Emitted when a customer is created.",
|
||||
"workflows": [
|
||||
"createCustomersWorkflow",
|
||||
@@ -63,7 +63,7 @@
|
||||
"name": "customer.updated",
|
||||
"parentName": "CustomerWorkflowEvents",
|
||||
"propertyName": "UPDATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the customer\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the customer\n}\n```",
|
||||
"description": "Emitted when a customer is updated.",
|
||||
"workflows": [
|
||||
"updateCustomersWorkflow"
|
||||
@@ -74,7 +74,7 @@
|
||||
"name": "customer.deleted",
|
||||
"parentName": "CustomerWorkflowEvents",
|
||||
"propertyName": "DELETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the customer\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the customer\n}\n```",
|
||||
"description": "Emitted when a customer is deleted.",
|
||||
"workflows": [
|
||||
"deleteCustomersWorkflow",
|
||||
@@ -121,7 +121,7 @@
|
||||
"name": "order.completed",
|
||||
"parentName": "OrderWorkflowEvents",
|
||||
"propertyName": "COMPLETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the order\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the order\n}\n```",
|
||||
"description": "Emitted when orders are completed.",
|
||||
"workflows": [
|
||||
"completeOrderWorkflow"
|
||||
@@ -132,7 +132,7 @@
|
||||
"name": "order.archived",
|
||||
"parentName": "OrderWorkflowEvents",
|
||||
"propertyName": "ARCHIVED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the order\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the order\n}\n```",
|
||||
"description": "Emitted when an order is archived.",
|
||||
"workflows": [
|
||||
"archiveOrderWorkflow"
|
||||
@@ -258,7 +258,7 @@
|
||||
"name": "user.created",
|
||||
"parentName": "UserWorkflowEvents",
|
||||
"propertyName": "CREATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the user\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the user\n}\n```",
|
||||
"description": "Emitted when users are created.",
|
||||
"workflows": [
|
||||
"createUsersWorkflow",
|
||||
@@ -271,7 +271,7 @@
|
||||
"name": "user.updated",
|
||||
"parentName": "UserWorkflowEvents",
|
||||
"propertyName": "UPDATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the user\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the user\n}\n```",
|
||||
"description": "Emitted when users are updated.",
|
||||
"workflows": [
|
||||
"updateUsersWorkflow"
|
||||
@@ -282,7 +282,7 @@
|
||||
"name": "user.deleted",
|
||||
"parentName": "UserWorkflowEvents",
|
||||
"propertyName": "DELETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the user\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the user\n}\n```",
|
||||
"description": "Emitted when users are deleted.",
|
||||
"workflows": [
|
||||
"deleteUsersWorkflow",
|
||||
@@ -305,7 +305,7 @@
|
||||
"name": "sales-channel.created",
|
||||
"parentName": "SalesChannelWorkflowEvents",
|
||||
"propertyName": "CREATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the sales channel\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the sales channel\n}\n```",
|
||||
"description": "Emitted when sales channels are created.",
|
||||
"workflows": [
|
||||
"createSalesChannelsWorkflow"
|
||||
@@ -316,7 +316,7 @@
|
||||
"name": "sales-channel.updated",
|
||||
"parentName": "SalesChannelWorkflowEvents",
|
||||
"propertyName": "UPDATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the sales channel\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the sales channel\n}\n```",
|
||||
"description": "Emitted when sales channels are updated.",
|
||||
"workflows": [
|
||||
"updateSalesChannelsWorkflow"
|
||||
@@ -327,7 +327,7 @@
|
||||
"name": "sales-channel.deleted",
|
||||
"parentName": "SalesChannelWorkflowEvents",
|
||||
"propertyName": "DELETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the sales channel\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the sales channel\n}\n```",
|
||||
"description": "Emitted when sales channels are deleted.",
|
||||
"workflows": [
|
||||
"deleteSalesChannelsWorkflow"
|
||||
@@ -338,7 +338,7 @@
|
||||
"name": "product-category.created",
|
||||
"parentName": "ProductCategoryWorkflowEvents",
|
||||
"propertyName": "CREATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product category\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product category\n}\n```",
|
||||
"description": "Emitted when product categories are created.",
|
||||
"workflows": [
|
||||
"createProductCategoriesWorkflow"
|
||||
@@ -349,7 +349,7 @@
|
||||
"name": "product-category.updated",
|
||||
"parentName": "ProductCategoryWorkflowEvents",
|
||||
"propertyName": "UPDATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product category\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product category\n}\n```",
|
||||
"description": "Emitted when product categories are updated.",
|
||||
"workflows": [
|
||||
"updateProductCategoriesWorkflow"
|
||||
@@ -360,7 +360,7 @@
|
||||
"name": "product-category.deleted",
|
||||
"parentName": "ProductCategoryWorkflowEvents",
|
||||
"propertyName": "DELETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product category\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product category\n}\n```",
|
||||
"description": "Emitted when product categories are deleted.",
|
||||
"workflows": [
|
||||
"deleteProductCategoriesWorkflow"
|
||||
@@ -371,7 +371,7 @@
|
||||
"name": "product-collection.created",
|
||||
"parentName": "ProductCollectionWorkflowEvents",
|
||||
"propertyName": "CREATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product collection\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product collection\n}\n```",
|
||||
"description": "Emitted when product collections are created.",
|
||||
"workflows": [
|
||||
"createCollectionsWorkflow"
|
||||
@@ -382,7 +382,7 @@
|
||||
"name": "product-collection.updated",
|
||||
"parentName": "ProductCollectionWorkflowEvents",
|
||||
"propertyName": "UPDATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product collection\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product collection\n}\n```",
|
||||
"description": "Emitted when product collections are updated.",
|
||||
"workflows": [
|
||||
"updateCollectionsWorkflow"
|
||||
@@ -393,7 +393,7 @@
|
||||
"name": "product-collection.deleted",
|
||||
"parentName": "ProductCollectionWorkflowEvents",
|
||||
"propertyName": "DELETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product collection\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product collection\n}\n```",
|
||||
"description": "Emitted when product collections are deleted.",
|
||||
"workflows": [
|
||||
"deleteCollectionsWorkflow"
|
||||
@@ -404,7 +404,7 @@
|
||||
"name": "product-variant.updated",
|
||||
"parentName": "ProductVariantWorkflowEvents",
|
||||
"propertyName": "UPDATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product variant\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product variant\n}\n```",
|
||||
"description": "Emitted when product variants are updated.",
|
||||
"workflows": [
|
||||
"updateProductVariantsWorkflow",
|
||||
@@ -416,7 +416,7 @@
|
||||
"name": "product-variant.created",
|
||||
"parentName": "ProductVariantWorkflowEvents",
|
||||
"propertyName": "CREATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product variant\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product variant\n}\n```",
|
||||
"description": "Emitted when product variants are created.",
|
||||
"workflows": [
|
||||
"createProductVariantsWorkflow",
|
||||
@@ -431,7 +431,7 @@
|
||||
"name": "product-variant.deleted",
|
||||
"parentName": "ProductVariantWorkflowEvents",
|
||||
"propertyName": "DELETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product variant\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product variant\n}\n```",
|
||||
"description": "Emitted when product variants are deleted.",
|
||||
"workflows": [
|
||||
"deleteProductVariantsWorkflow",
|
||||
@@ -443,7 +443,7 @@
|
||||
"name": "product.updated",
|
||||
"parentName": "ProductWorkflowEvents",
|
||||
"propertyName": "UPDATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product\n}\n```",
|
||||
"description": "Emitted when products are updated.",
|
||||
"workflows": [
|
||||
"updateProductsWorkflow",
|
||||
@@ -456,7 +456,7 @@
|
||||
"name": "product.created",
|
||||
"parentName": "ProductWorkflowEvents",
|
||||
"propertyName": "CREATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product\n}\n```",
|
||||
"description": "Emitted when products are created.",
|
||||
"workflows": [
|
||||
"createProductsWorkflow",
|
||||
@@ -469,7 +469,7 @@
|
||||
"name": "product.deleted",
|
||||
"parentName": "ProductWorkflowEvents",
|
||||
"propertyName": "DELETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product\n}\n```",
|
||||
"description": "Emitted when products are deleted.",
|
||||
"workflows": [
|
||||
"deleteProductsWorkflow",
|
||||
@@ -482,7 +482,7 @@
|
||||
"name": "product-type.updated",
|
||||
"parentName": "ProductTypeWorkflowEvents",
|
||||
"propertyName": "UPDATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product type\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product type\n}\n```",
|
||||
"description": "Emitted when product types are updated.",
|
||||
"workflows": [
|
||||
"updateProductTypesWorkflow"
|
||||
@@ -493,7 +493,7 @@
|
||||
"name": "product-type.created",
|
||||
"parentName": "ProductTypeWorkflowEvents",
|
||||
"propertyName": "CREATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product type\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product type\n}\n```",
|
||||
"description": "Emitted when product types are created.",
|
||||
"workflows": [
|
||||
"createProductTypesWorkflow"
|
||||
@@ -504,7 +504,7 @@
|
||||
"name": "product-type.deleted",
|
||||
"parentName": "ProductTypeWorkflowEvents",
|
||||
"propertyName": "DELETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product type\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product type\n}\n```",
|
||||
"description": "Emitted when product types are deleted.",
|
||||
"workflows": [
|
||||
"deleteProductTypesWorkflow"
|
||||
@@ -515,7 +515,7 @@
|
||||
"name": "product-tag.updated",
|
||||
"parentName": "ProductTagWorkflowEvents",
|
||||
"propertyName": "UPDATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product tag\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product tag\n}\n```",
|
||||
"description": "Emitted when product tags are updated.",
|
||||
"workflows": [
|
||||
"updateProductTagsWorkflow"
|
||||
@@ -526,7 +526,7 @@
|
||||
"name": "product-tag.created",
|
||||
"parentName": "ProductTagWorkflowEvents",
|
||||
"propertyName": "CREATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product tag\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product tag\n}\n```",
|
||||
"description": "Emitted when product tags are created.",
|
||||
"workflows": [
|
||||
"createProductTagsWorkflow"
|
||||
@@ -537,7 +537,7 @@
|
||||
"name": "product-tag.deleted",
|
||||
"parentName": "ProductTagWorkflowEvents",
|
||||
"propertyName": "DELETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product tag\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product tag\n}\n```",
|
||||
"description": "Emitted when product tags are deleted.",
|
||||
"workflows": [
|
||||
"deleteProductTagsWorkflow"
|
||||
@@ -548,7 +548,7 @@
|
||||
"name": "product-option.updated",
|
||||
"parentName": "ProductOptionWorkflowEvents",
|
||||
"propertyName": "UPDATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product option\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product option\n}\n```",
|
||||
"description": "Emitted when product options are updated.",
|
||||
"workflows": [
|
||||
"updateProductOptionsWorkflow"
|
||||
@@ -559,7 +559,7 @@
|
||||
"name": "product-option.created",
|
||||
"parentName": "ProductOptionWorkflowEvents",
|
||||
"propertyName": "CREATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product option\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product option\n}\n```",
|
||||
"description": "Emitted when product options are created.",
|
||||
"workflows": [
|
||||
"createProductOptionsWorkflow"
|
||||
@@ -570,7 +570,7 @@
|
||||
"name": "product-option.deleted",
|
||||
"parentName": "ProductOptionWorkflowEvents",
|
||||
"propertyName": "DELETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the product option\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the product option\n}\n```",
|
||||
"description": "Emitted when product options are deleted.",
|
||||
"workflows": [
|
||||
"deleteProductOptionsWorkflow"
|
||||
@@ -592,7 +592,7 @@
|
||||
"name": "invite.created",
|
||||
"parentName": "InviteWorkflowEvents",
|
||||
"propertyName": "CREATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the invite\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the invite\n}\n```",
|
||||
"description": "Emitted when invites are created. You can listen to this event\nto send an email to the invited users, for example.",
|
||||
"workflows": [
|
||||
"createInvitesWorkflow"
|
||||
@@ -603,7 +603,7 @@
|
||||
"name": "invite.deleted",
|
||||
"parentName": "InviteWorkflowEvents",
|
||||
"propertyName": "DELETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the invite\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the invite\n}\n```",
|
||||
"description": "Emitted when invites are deleted.",
|
||||
"workflows": [
|
||||
"deleteInvitesWorkflow"
|
||||
@@ -614,7 +614,7 @@
|
||||
"name": "invite.resent",
|
||||
"parentName": "InviteWorkflowEvents",
|
||||
"propertyName": "RESENT",
|
||||
"payload": "```ts\n[{\n id, // The ID of the invite\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the invite\n}\n```",
|
||||
"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.",
|
||||
"workflows": [
|
||||
"refreshInviteTokensWorkflow"
|
||||
@@ -625,7 +625,7 @@
|
||||
"name": "region.updated",
|
||||
"parentName": "RegionWorkflowEvents",
|
||||
"propertyName": "UPDATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the region\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the region\n}\n```",
|
||||
"description": "Emitted when regions are updated.",
|
||||
"workflows": [
|
||||
"updateRegionsWorkflow"
|
||||
@@ -636,7 +636,7 @@
|
||||
"name": "region.created",
|
||||
"parentName": "RegionWorkflowEvents",
|
||||
"propertyName": "CREATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the region\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the region\n}\n```",
|
||||
"description": "Emitted when regions are created.",
|
||||
"workflows": [
|
||||
"createRegionsWorkflow"
|
||||
@@ -647,7 +647,7 @@
|
||||
"name": "region.deleted",
|
||||
"parentName": "RegionWorkflowEvents",
|
||||
"propertyName": "DELETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the region\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the region\n}\n```",
|
||||
"description": "Emitted when regions are deleted.",
|
||||
"workflows": [
|
||||
"deleteRegionsWorkflow"
|
||||
@@ -680,7 +680,7 @@
|
||||
"name": "shipping-option-type.updated",
|
||||
"parentName": "ShippingOptionTypeWorkflowEvents",
|
||||
"propertyName": "UPDATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the shipping option type\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the shipping option type\n}\n```",
|
||||
"description": "Emitted when shipping option types are updated.",
|
||||
"workflows": [
|
||||
"updateShippingOptionTypesWorkflow"
|
||||
@@ -692,7 +692,7 @@
|
||||
"name": "shipping-option-type.created",
|
||||
"parentName": "ShippingOptionTypeWorkflowEvents",
|
||||
"propertyName": "CREATED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the shipping option type\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the shipping option type\n}\n```",
|
||||
"description": "Emitted when shipping option types are created.",
|
||||
"workflows": [
|
||||
"createShippingOptionTypesWorkflow"
|
||||
@@ -704,7 +704,7 @@
|
||||
"name": "shipping-option-type.deleted",
|
||||
"parentName": "ShippingOptionTypeWorkflowEvents",
|
||||
"propertyName": "DELETED",
|
||||
"payload": "```ts\n[{\n id, // The ID of the shipping option type\n}]\n```",
|
||||
"payload": "```ts\n{\n id, // The ID of the shipping option type\n}\n```",
|
||||
"description": "Emitted when shipping option types are deleted.",
|
||||
"workflows": [
|
||||
"deleteShippingOptionTypesWorkflow"
|
||||
|
||||
@@ -64,9 +64,9 @@
|
||||
* - name: product-collection.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product collection
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product collections are deleted.
|
||||
* deprecated: false
|
||||
|
||||
@@ -82,9 +82,9 @@
|
||||
* - name: customer.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the customer
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when a customer is deleted.
|
||||
* deprecated: false
|
||||
|
||||
@@ -81,9 +81,9 @@
|
||||
* - name: invite.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the invite
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when invites are deleted.
|
||||
* deprecated: false
|
||||
|
||||
+2
-2
@@ -64,9 +64,9 @@
|
||||
* - name: product-category.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product category
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product categories are deleted.
|
||||
* deprecated: false
|
||||
|
||||
@@ -64,9 +64,9 @@
|
||||
* - name: product-tag.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product tag
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product tags are deleted.
|
||||
* deprecated: false
|
||||
|
||||
@@ -64,9 +64,9 @@
|
||||
* - name: product-type.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product type
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product types are deleted.
|
||||
* deprecated: false
|
||||
|
||||
@@ -64,9 +64,9 @@
|
||||
* - name: product.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when products are deleted.
|
||||
* deprecated: false
|
||||
|
||||
+2
-2
@@ -86,9 +86,9 @@
|
||||
* - name: product-option.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product option
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product options are deleted.
|
||||
* deprecated: false
|
||||
|
||||
+2
-2
@@ -83,9 +83,9 @@
|
||||
* - name: product-variant.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product variant
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product variants are deleted.
|
||||
* deprecated: false
|
||||
|
||||
@@ -83,9 +83,9 @@
|
||||
* - name: region.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the region
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when regions are deleted.
|
||||
* deprecated: false
|
||||
|
||||
@@ -64,9 +64,9 @@
|
||||
* - name: sales-channel.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the sales channel
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when sales channels are deleted.
|
||||
* deprecated: false
|
||||
|
||||
+2
-2
@@ -65,9 +65,9 @@
|
||||
* - name: shipping-option-type.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the shipping option type
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when shipping option types are deleted.
|
||||
* deprecated: false
|
||||
|
||||
@@ -61,9 +61,9 @@
|
||||
* - name: user.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the user
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when users are deleted.
|
||||
* deprecated: false
|
||||
|
||||
@@ -105,9 +105,9 @@
|
||||
* - name: product-collection.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product collection
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product collections are created.
|
||||
* deprecated: false
|
||||
|
||||
@@ -108,9 +108,9 @@
|
||||
* - name: product-collection.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product collection
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product collections are updated.
|
||||
* deprecated: false
|
||||
|
||||
@@ -129,9 +129,9 @@
|
||||
* - name: customer.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the customer
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when a customer is created.
|
||||
* deprecated: false
|
||||
|
||||
@@ -135,9 +135,9 @@
|
||||
* - name: customer.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the customer
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when a customer is updated.
|
||||
* deprecated: false
|
||||
|
||||
@@ -92,9 +92,9 @@
|
||||
* - name: invite.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the invite
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: |-
|
||||
* Emitted when invites are created. You can listen to this event
|
||||
|
||||
@@ -74,9 +74,9 @@
|
||||
* - name: invite.resent
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the invite
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: |-
|
||||
* Emitted when invites should be resent because their token was
|
||||
|
||||
@@ -95,9 +95,9 @@
|
||||
* - name: user.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the user
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when users are created.
|
||||
* deprecated: false
|
||||
|
||||
@@ -80,9 +80,9 @@
|
||||
* - name: order.archived
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the order
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when an order is archived.
|
||||
* deprecated: false
|
||||
|
||||
@@ -90,9 +90,9 @@
|
||||
* - name: order.completed
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the order
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when orders are completed.
|
||||
* deprecated: false
|
||||
|
||||
@@ -107,9 +107,9 @@
|
||||
* - name: product-category.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product category
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product categories are created.
|
||||
* deprecated: false
|
||||
|
||||
+2
-2
@@ -112,9 +112,9 @@
|
||||
* - name: product-category.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product category
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product categories are updated.
|
||||
* deprecated: false
|
||||
|
||||
@@ -82,9 +82,9 @@
|
||||
* - name: product-tag.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product tag
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product tags are created.
|
||||
* deprecated: false
|
||||
|
||||
@@ -87,9 +87,9 @@
|
||||
* - name: product-tag.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product tag
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product tags are updated.
|
||||
* deprecated: false
|
||||
|
||||
@@ -82,9 +82,9 @@
|
||||
* - name: product-type.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product type
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product types are created.
|
||||
* deprecated: false
|
||||
|
||||
@@ -87,9 +87,9 @@
|
||||
* - name: product-type.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product type
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product types are updated.
|
||||
* deprecated: false
|
||||
|
||||
@@ -109,18 +109,18 @@
|
||||
* - name: product-variant.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product variant
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product variants are created.
|
||||
* deprecated: false
|
||||
* - name: product.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when products are created.
|
||||
* deprecated: false
|
||||
|
||||
@@ -91,9 +91,9 @@
|
||||
* - name: product.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when products are updated.
|
||||
* deprecated: false
|
||||
|
||||
@@ -103,9 +103,9 @@
|
||||
* - name: product-option.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product option
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product options are created.
|
||||
* deprecated: false
|
||||
|
||||
+2
-2
@@ -102,9 +102,9 @@
|
||||
* - name: product-option.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product option
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product options are updated.
|
||||
* deprecated: false
|
||||
|
||||
+2
-2
@@ -106,9 +106,9 @@
|
||||
* - name: product-variant.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product variant
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product variants are created.
|
||||
* deprecated: false
|
||||
|
||||
+2
-2
@@ -102,9 +102,9 @@
|
||||
* - name: product-variant.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product variant
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product variants are updated.
|
||||
* deprecated: false
|
||||
|
||||
+6
-6
@@ -99,27 +99,27 @@
|
||||
* - name: product-variant.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product variant
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product variants are updated.
|
||||
* deprecated: false
|
||||
* - name: product-variant.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product variant
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product variants are created.
|
||||
* deprecated: false
|
||||
* - name: product-variant.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product variant
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product variants are deleted.
|
||||
* deprecated: false
|
||||
|
||||
@@ -104,36 +104,36 @@
|
||||
* - name: product-variant.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product variant
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product variants are created.
|
||||
* deprecated: false
|
||||
* - name: product.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when products are updated.
|
||||
* deprecated: false
|
||||
* - name: product.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when products are created.
|
||||
* deprecated: false
|
||||
* - name: product.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when products are deleted.
|
||||
* deprecated: false
|
||||
|
||||
@@ -64,36 +64,36 @@
|
||||
* - name: product-variant.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product variant
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when product variants are created.
|
||||
* deprecated: false
|
||||
* - name: product.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when products are updated.
|
||||
* deprecated: false
|
||||
* - name: product.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when products are created.
|
||||
* deprecated: false
|
||||
* - name: product.deleted
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the product
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when products are deleted.
|
||||
* deprecated: false
|
||||
|
||||
@@ -84,9 +84,9 @@
|
||||
* - name: region.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the region
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when regions are created.
|
||||
* deprecated: false
|
||||
|
||||
@@ -87,9 +87,9 @@
|
||||
* - name: region.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the region
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when regions are updated.
|
||||
* deprecated: false
|
||||
|
||||
@@ -83,9 +83,9 @@
|
||||
* - name: sales-channel.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the sales channel
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when sales channels are created.
|
||||
* deprecated: false
|
||||
|
||||
@@ -91,9 +91,9 @@
|
||||
* - name: sales-channel.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the sales channel
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when sales channels are updated.
|
||||
* deprecated: false
|
||||
|
||||
@@ -86,9 +86,9 @@
|
||||
* - name: shipping-option-type.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the shipping option type
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when shipping option types are created.
|
||||
* deprecated: false
|
||||
|
||||
+2
-2
@@ -85,9 +85,9 @@
|
||||
* - name: shipping-option-type.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the shipping option type
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when shipping option types are updated.
|
||||
* deprecated: false
|
||||
|
||||
@@ -88,9 +88,9 @@
|
||||
* - name: user.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the user
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when users are updated.
|
||||
* deprecated: false
|
||||
|
||||
@@ -112,9 +112,9 @@
|
||||
* - name: customer.created
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the customer
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when a customer is created.
|
||||
* deprecated: false
|
||||
|
||||
@@ -101,9 +101,9 @@
|
||||
* - name: customer.updated
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* [{
|
||||
* {
|
||||
* id, // The ID of the customer
|
||||
* }]
|
||||
* }
|
||||
* ```
|
||||
* description: Emitted when a customer is updated.
|
||||
* deprecated: false
|
||||
|
||||
Reference in New Issue
Block a user