@wocart/storefront / index / CreateOrderItemInput
Interface: CreateOrderItemInput
One basket line in a create-order body.
Properties
offerId?
optionalofferId?:string
Explicit offer tier the shopper selected.
pricePerUnit?
optionalpricePerUnit?: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?
optionalvariantId?:string
variantLabel?
optionalvariantLabel?:string