https://ns.adobe.com/xdm/context/experienceevent-commerce
This mixin is used to capture information regarding commerce activities related to an ExperienceEvent such as standard cart operations (order, checkout, abandon) and product details (SKU, product name, quantity).
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Stabilizing | No | Forbidden | Permitted | context/experienceevent-commerce.schema.json |
- ExperienceEvent commerce details
https://ns.adobe.com/xdm/context/experienceevent-commerce
- Extensibility base schema
https://ns.adobe.com/xdm/common/extensible
- Commerce
https://ns.adobe.com/xdm/context/commerce
- Extensibility base schema
{
"xdm:productListItems": [
{
"xdm:SKU": "1002352692",
"xdm:lineItemId": "12345678",
"xdm:name": "24-Watt 8-Light Chrome Integrated LED Bath Light",
"xdm:currencyCode": "USD",
"xdm:quantity": 1,
"xdm:priceTotal": 159
}
],
"xdm:commerce": {
"xdm:order": {
"xdm:purchaseID": "a8g784hjq1mnp3",
"xdm:purchaseOrderNumber": "123456",
"xdm:payments": [
{
"xdm:transactionID": "transactid-a111",
"xdm:paymentAmount": 59,
"xdm:paymentType": "credit_card",
"xdm:currencyCode": "USD"
},
{
"xdm:transactionId": "transactid-a222",
"xdm:paymentAmount": 100,
"xdm:paymentType": "gift_card",
"xdm:currencyCode": "USD"
}
],
"xdm:currencyCode": "USD",
"xdm:priceTotal": 159
},
"xdm:purchases": {
"xdm:value": 1
}
}
}
Property | Type | Required | Defined by |
---|---|---|---|
xdm:commerce | Commerce | Optional | ExperienceEvent commerce details (this schema) |
xdm:productListItems | Product list item | Optional | ExperienceEvent commerce details (this schema) |
* |
any | Additional | this schema allows additional properties |
Commerce specific data related to this event.
xdm:commerce
- is optional
- type: Commerce
- defined in this schema
- Commerce –
https://ns.adobe.com/xdm/context/commerce
A list of items representing a product selected by a customer with specific options and pricing that are for that usage context at a specific point of time and may differ from the product record.
xdm:productListItems
-
is optional
-
type: Product list item
-
defined in this schema
Array type: Product list item
All items must be of the type:
- Product list item –
https://ns.adobe.com/xdm/content/productlistitem