DOCS
Facts by surface

Cart drawer

context.cart.* fields for Cart drawer Incentive Engine flows (prices in minor units).

Cart prices are typically in minor units (cents). Also includes customer facts.

Cart scalars

PathLabelTypeNotesExample
context.cart.tokenTokenstringabc123… (opaque cart token)
context.cart.noteNotestringLeave at door
context.cart.currencyCurrencystringPresentment codeEUR
context.cart.item_countItem countnumberTotal quantity4
context.cart.total_priceTotal pricenumberMinor units after discounts4999 (€49.99)
context.cart.original_total_priceOriginal total pricenumberMinor units before discounts5999 (€59.99)
context.cart.items_subtotal_priceItems subtotalnumberMinor units5500
context.cart.total_discountTotal discountnumberMinor units1000 (€10.00)
context.cart.total_weightTotal weightnumberGrams1200
context.cart.requires_shippingRequires shippingbooleantrue
context.cart.itemsLine itemsobject[]Tee + socks in the drawer
context.cart.cart_level_discount_applicationsCart-level discountsobject[]Code SUMMER10 applied

Cart line items

PathLabelTypeExample
context.cart.items.*.product_idProduct IDnumber1234567890
context.cart.items.*.variant_idVariant IDnumber9876543210
context.cart.items.*.quantityQuantitynumber2
context.cart.items.*.skuSKUstringTEE-BLK-M
context.cart.items.*.vendorVendorstringmemberr
context.cart.items.*.product_typeProduct typestringApparel
context.cart.items.*.handleHandlestringclassic-tee
context.cart.items.*.product_titleProduct titlestringClassic Tee
context.cart.items.*.variant_titleVariant titlestringBlack / M
context.cart.items.*.titleLine titlestringClassic Tee - Black / M
context.cart.items.*.priceUnit pricenumber2900 (€29.00)
context.cart.items.*.original_priceOriginal unit pricenumber2900
context.cart.items.*.final_priceFinal unit pricenumber2610 after line discount
context.cart.items.*.line_priceLine pricenumber5800 (2 × 2900)
context.cart.items.*.original_line_priceOriginal line pricenumber5800
context.cart.items.*.final_line_priceFinal line pricenumber5220
context.cart.items.*.total_discountLine total discountnumber580
context.cart.items.*.gift_cardIs gift cardbooleanfalse
context.cart.items.*.requires_shippingRequires shippingbooleantrue
context.cart.items.*.selling_plan_allocation.selling_plan.nameSelling plan namestringDeliver every month

Cart-level discounts

PathLabelTypeExample
context.cart.cart_level_discount_applications.*.typeTypestringdiscount_code
context.cart.cart_level_discount_applications.*.titleTitlestringSUMMER10
context.cart.cart_level_discount_applications.*.valueValuestring10.0
context.cart.cart_level_discount_applications.*.value_typeValue typestringpercentage; fixed_amount
context.cart.cart_level_discount_applications.*.total_allocated_amountAllocated amountnumber1000 (€10.00)

Not in picker: unstructured context.cart.attributes.

On this page