Order submitted message
Custom payload definition of the following Delivery Configuration message namespaces:
- sitecore.ordercloud.messages.orders.submitted
Models
Order
| Name | Type | Description |
|---|---|---|
| UserContext | UserContext | The user context. |
| OrderID | string | The order identifier. |
| Currency | string | The order currency. |
| string | Email of the user that created the order. | |
| OrderDate | string | Date the order was created. |
| OrderStatus | string | Status of the order. |
| OrderTotal | decimal | Order total. |
| OrderSubtotal | decimal | Order sub total. |
| Payments | Payment[] | Payments applied to the order. |
| LineItems | LineItem[] | Line items that are part of this order. |
| xp | dynamic | Dynamic properties assigned by the marketplace developer. |
LineItem
| Name | Type | Description |
|---|---|---|
| LineID | string | The identifier of the line item. |
| Product | LineItemProduct | The product associated with the line item. |
| Quantity | decimal | The Quantity ordered. |
| Price | decimal | The price. |
| LineTotal | decimal | LineSubTotal - PromotionDiscount. |
| LineSubTotal | decimal | Unit price * Quantity. |
| xp | dynamic | Dynamic properties assigned by the marketplace developer. |
LineItemProduct
| Name | Type | Description |
|---|---|---|
| ProductID | string | The product identifier. |
| ProductName | string | The name of the product. |
| ProductDescription | string | The description of theproduct. |
| Price | decimal | The unit price of the product. |
| Variant | Variant | The variant is specified. |
| xp | dynamic | Dynamic properties assigned by the marketplace developer. |
Variant
| Name | Type | Description |
|---|---|---|
| VariantName | string | The variant name. |
| VariantDescription | string | The variant description. |
If you have suggestions for improving this article, let us know!