Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / CreateOrderItemInput

Interface: CreateOrderItemInput

One basket line in a create-order body.

Properties

offerId?

optional offerId?: string

Explicit offer tier the shopper selected.


pricePerUnit?

optional pricePerUnit?: number

Display-only continuity value. The server re-prices every line from the catalog row; a price sent from the browser is never charged.


productId

productId: string


productName

productName: string


quantity

quantity: number


variantId?

optional variantId?: string


variantLabel?

optional variantLabel?: string