Product list item data type

Product list item is a standard XDM data type that describes a product selected by a customer with specific options, pricing, and usage context for a specific point of time.

The values captured in this data type may differ from the product record. For example, the product record contains details from the product information system that are consistent for all customers, where the product list item has the actual price offered to the customer at the time of purchase, which may vary due to sales campaigns or seasonal pricing.

Property
Data type
Description
selectedOptions
Array of objects

Contains custom options chosen for a configurable product. Each list item is an object with the following properties:

  • attribute: A name for the configurable attribute.
  • value: The value of the attribute.
SKU
String
Stock keeping unit (SKU), the unique identifier for a product defined by the vendor.
_id
String
The line item identifier for this product entry. The product itself is identified through product.
currencyCode
String
The ISO 4217 alphabetic currency code used for pricing the product.
discountAmount
Double
If the product is discounted, this represents the difference between the regular price and the special price for the product.
name
String
The display name for the product as presented to the user for this product view.
priceTotal
Double
The total price for the product line item.
product
String (URI)
The URI $id of the XDM schema that captures the product itself.
productAddMethod
String
The method that was used to add a product item to the list by the visitor.
productImageUrl
String
A URL for the main image of the product.
quantity
Integer
The number of units the customer has indicated they require of the product.
unitOfMeasureCode
String
The standard unit of measure code for the product as related to the quantity property.

For more details on the postal address data type, refer to the public XDM repository:

recommendation-more-help
62e9ffd9-1c74-4cef-8f47-0d00af32fc07