https://ns.adobe.com/xdm/data/order
The order placed for a product list.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Experimental | No | Forbidden | Permitted | data/order.schema.json |
{
"xdm:purchaseID": "a8g784hjq1mnp3",
"xdm:purchaseOrderNumber": "123456",
"xdm:payments": [
{
"xdm:transactionID": "transactid-a111",
"xdm:paymentAmount": 899.99,
"xdm:paymentType": "credit_card",
"xdm:currencyCode": "USD"
},
{
"xdm:transactionID": "transactid-a222",
"xdm:paymentAmount": 99.99,
"xdm:paymentType": "gift_card",
"xdm:currencyCode": "USD"
}
],
"xdm:currencyCode": "USD",
"xdm:priceTotal": 999.98
}
Property | Type | Required | Defined by |
---|---|---|---|
xdm:currencyCode | string |
Optional | Order (this schema) |
xdm:payments | Payment Item | Optional | Order (this schema) |
xdm:priceTotal | number |
Optional | Order (this schema) |
xdm:purchaseID | string |
Optional | Order (this schema) |
xdm:purchaseOrderNumber | string |
Optional | Order (this schema) |
* |
any | Additional | this schema allows additional properties |
The ISO 4217 currency code used for the order totals.
xdm:currencyCode
- is optional
- type:
string
- defined in this schema
string
All instances must conform to this regular expression
^[A-Z]{3}$
"USD"
"EUR"
The list of payments for this order.
xdm:payments
-
is optional
-
type: Payment Item
-
defined in this schema
Array type: Payment Item
All items must be of the type:
- Payment Item –
https://ns.adobe.com/xdm/data/paymentitem
The total price of this order after all discounts and taxes have been applied.
xdm:priceTotal
- is optional
- type:
number
- defined in this schema
number
Unique identifier assigned by the seller for this purchase or contract. There is no guarantee that the ID is unique.
xdm:purchaseID
- is optional
- type:
string
- defined in this schema
string
Unique identifier assigned by the purchaser for this purchase or contract.
xdm:purchaseOrderNumber
- is optional
- type:
string
- defined in this schema
string