Order Notifications
You can receive notifications whenever your order status changes. See the details of the order processing here.
Event list
Below is a list of order-related notifications which you can subscribe to:
- Order Created
type=created - Order Payment Failed
type=paymentFailedUsually caused by an internal technical issue - Order Payment Refused
type=paymentRefusedBy a payment gateway or bank - Order Completed
type=completed - Order Completed With Error
type=partiallyCompleted - Order Fulfillment Failed
type=fulfillmentFailed - Order Cancelled
type=canceled - Order Aborted
type=aborted - Subscription Order Renew Completed
type=renewCompleted - Prebilling Order Created
type=prebillingStarted - Offer Prebilling Started
type=prebillingStartedSame as Prebilling Order Created, but triggered if a prebilling order with sourceOFFERalready exists
note
Order related notifications listed above don't include subscription details.
The following notifications include details about the subscription. Although, subscriptions are a separate domain with their own set of events.:
- Order Completed With Content Including Subscription Data
type=completed - Order Canceled With Content Including Subscription Data
type=canceled
List of fields
| Field | Type | Description | R/O |
|---|---|---|---|
| subject | string | order | R |
| type | string | Event type — see Event list | R |
| objectId | string | Order identifier | R |
| eventDate | string (date-time) | ISO 8601 timestamp | R |
| order | order.Order | R | |
| → cancellationDate | string (date-time) | Cancellation timestamp in ISO 8601 format | O |
| → cancellationReason | string | Reason for order cancellation | O |
| → cartId | string | Associated cart identifier | O |
| → consentFlags | order.ConsentFlags | R | |
| — → newsletterOptin | boolean | Marketing newsletter consent indicator | R |
| → creationDate | string (date-time) | Order creation date in ISO 8601 format | R |
| → currency | string | Currency code, e.g. EUR, USD | R |
| → customer | order.Customer | R | |
| — → customerAccount | string | Realm/account name | R |
| — → id | string | Customer identifier | R |
| — → name | string | O | |
| — → serveur | string | O | |
| → decodedExternalContext | object | Decoded cart parameters | O |
| → externalContext | string | Base64 encoded string of cart parameters | O |
| → id | string | Order identifier | R |
| → items | order.LineItem[] | Order line items | R |
| — → activationCode | string | Product activation code | O |
| — → discountPlan | order.DiscountPlan | O | |