Order events
Every event has the common fields and a data object, the snapshot of the entity at the moment of the event. This page lists what data holds, for the version 2026-01 of the format.
Events
| Event | When |
|---|---|
order-item.created | An order item is created. |
order-item.deleted | An order item is deleted. |
order-item.updated | An order item is updated. |
order.canceled | An order is canceled. |
order.created | An order is created. |
order.deleted | An order is deleted. |
order.dispute.updated | A dispute on a payment changes. |
order.paid | The payment of an order is completed. |
order.payment-authorized | A payment is authorized and not yet captured. |
order.payment-canceled | A payment is canceled. |
order.payment-failed | A payment fails. |
order.payment-partially-funded | A payment is only partly funded. |
order.promotion-usage.replaced | The promotions used by an order are replaced. |
order.refund.updated | A refund changes. |
order.updated | An order is updated. |
Payloads
Payload of order-item.created
| Field | Type | Notes |
|---|---|---|
data.id | uuid | |
data.orderId | uuid | |
data.productId | uuid | |
data.variantId | uuid | |
data.coverUrl | string | optional, can be null |
data.skuCode | string | |
data.quantity | integer | |
data.deliveryMethod | string | |
data.unitNet | string | |
data.unitGross | string | |
data.unitTax | string | |
data.totalNet | string | |
data.totalGross | string | |
data.totalTax | string | |
data.appliedTaxRate | number | |
data.taxBehavior | string | |
data.stripePriceId | string | optional, can be null |
data.stripeProductId | string | optional, can be null |
data.stripeTaxCodeId | string | optional, can be null |
data.additionalData | any | optional, can be null |
data.createdAt | datetime | |
data.updatedAt | datetime |
Payload of order-item.deleted
| Field | Type | Notes |
|---|---|---|
data.orderId | uuid | |
data.orderItemId | uuid |
Payload of order-item.updated
| Field | Type | Notes |
|---|---|---|
data.id | uuid | |
data.orderId | uuid | |
data.productId | uuid | |
data.variantId | uuid | |
data.coverUrl | string | optional, can be null |
data.skuCode | string | |
data.quantity | integer | |
data.deliveryMethod | string | |
data.unitNet | string | |
data.unitGross | string | |
data.unitTax | string | |
data.totalNet | string | |
data.totalGross | string | |
data.totalTax | string | |
data.appliedTaxRate | number | |
data.taxBehavior | string | |
data.additionalData | any | optional, can be null |
data.updatedAt | datetime |
Payload of order.canceled
Also sent for: order.created, order.dispute.updated, order.paid, order.payment-authorized, order.payment-canceled, order.payment-failed, order.payment-partially-funded, order.refund.updated, order.updated.
| Field | Type | Notes |
|---|---|---|
data.id | uuid | |
data.storeId | uuid | |
data.customerId | uuid | |
data.reference | integer | optional, can be null |
data.customerEmail | ||
data.paymentStatus | string | |
data.shippingStatus | string | |
data.amount | string | |
data.currencyCode | string | |
data.shippingCost | string | optional, can be null |
data.billingAddress | object | optional, can be null |
data.billingAddress.fullName | string | optional, can be null |
data.billingAddress.company | string | optional, can be null |
data.billingAddress.vatCode | string | optional, can be null |
data.billingAddress.addressLine1 | string | |
data.billingAddress.addressLine2 | string | optional, can be null |
data.billingAddress.city | string | |
data.billingAddress.postalCode | string | |
data.billingAddress.countryCode | string | |
data.billingAddress.phone | string | optional, can be null |
data.billingAddress.province | string | optional, can be null |
data.billingAddress.additionalInfo | string | optional, can be null |
data.shippingAddress | object | optional, can be null |
data.shippingAddress.fullName | string | optional, can be null |
data.shippingAddress.company | string | optional, can be null |
data.shippingAddress.vatCode | string | optional, can be null |
data.shippingAddress.addressLine1 | string | |
data.shippingAddress.addressLine2 | string | optional, can be null |
data.shippingAddress.city | string | |
data.shippingAddress.postalCode | string | |
data.shippingAddress.countryCode | string | |
data.shippingAddress.phone | string | optional, can be null |
data.shippingAddress.province | string | optional, can be null |
data.shippingAddress.additionalInfo | string | optional, can be null |
data.shippingTrackingUrl | string | optional, can be null |
data.stripePaymentIntentId | string | optional, can be null |
data.stripeSubscriptionId | string | optional, can be null |
data.stripeCheckoutSessionId | string | optional, can be null |
data.stripeInvoiceId | string | optional, can be null |
data.stripeInvoiceUrl | string | optional, can be null |
data.stripeAccountId | string | optional, can be null |
data.amountCapturable | string | optional, can be null |
data.partialFundingAmount | string | optional, can be null |
data.disputeStatus | string | |
data.refundStatus | string | |
data.stripeDisputeId | string | optional, can be null |
data.lastRefundId | string | optional, can be null |
data.refundAmount | string | optional, can be null |
data.checkoutCountryCode | string | optional, can be null |
data.checkoutLangCode | string | optional, can be null |
data.checkoutSource | string | optional, can be null |
data.promotionSnapshot | any[] | |
data.requestsInvoice | boolean | |
data.invoiceVatCode | string | optional, can be null |
data.invoiceRecipientCode | string | optional, can be null |
data.additionalData | any | optional, can be null |
data.createdAt | datetime | optional |
data.updatedAt | datetime | optional |
Payload of order.deleted
| Field | Type | Notes |
|---|---|---|
data.orderId | uuid |
Payload of order.promotion-usage.replaced
| Field | Type | Notes |
|---|---|---|
data.orderId | uuid | |
data.promotionCodeIds | uuid[] |