A line item inside a cart, an addToCart or an order.

productId, sku, quantity and price are required; everything else is omitted from the wire envelope when absent. properties and recoveryProperties are free-form maps passed through as-is — use them for attributes the typed fields do not cover.

interface FlowbizCartItem {
    brand?: string;
    category?: string;
    imageUrl?: string;
    name?: string;
    price: number;
    priceFrom?: number;
    productId: string;
    properties?: object;
    quantity: number;
    recoveryProperties?: object;
    sku: string;
    url?: string;
}

Properties

brand?: string
category?: string
imageUrl?: string
name?: string
price: number
priceFrom?: number
productId: string
properties?: object
quantity: number
recoveryProperties?: object
sku: string
url?: string