WrCartItem
webround-docs / WrCartItem
Interface: WrCartItem
Defined in: wr.d.ts:690
A fully resolved cart item with pricing, shipping, and tax details
Properties
allowBackorder
allowBackorder:
boolean
Defined in: wr.d.ts:734
allowFreeShipping
allowFreeShipping:
boolean
Defined in: wr.d.ts:736
available
available:
number
Defined in: wr.d.ts:732
Available stock quantity
cadence
cadence:
string
Defined in: wr.d.ts:718
Billing cadence
comparePrice
comparePrice:
number
Defined in: wr.d.ts:703
Compare-at (strikethrough) price
coverUrl
coverUrl:
string
Defined in: wr.d.ts:720
Cover image URL
currencyCode
currencyCode:
string
Defined in: wr.d.ts:715
ISO 4217 currency code
defaultTaxRate
defaultTaxRate:
number
Defined in: wr.d.ts:716
deliveryMethods
deliveryMethods:
string[]
Defined in: wr.d.ts:725
Supported delivery methods
forceFreeShipping
forceFreeShipping:
boolean
Defined in: wr.d.ts:737
grossAmount
grossAmount:
number
Defined in: wr.d.ts:709
Gross unit amount (with tax)
id
id:
string
Defined in: wr.d.ts:692
Cart item ID
isAvailable
isAvailable:
boolean
Defined in: wr.d.ts:733
netAmount
netAmount:
number
Defined in: wr.d.ts:705
Net unit amount
options
options:
any[]
Defined in: wr.d.ts:723
originalPrice
originalPrice:
number
Defined in: wr.d.ts:701
Unit price before tax
packageHeight?
optionalpackageHeight?:number
Defined in: wr.d.ts:741
packageLength?
optionalpackageLength?:number
Defined in: wr.d.ts:739
packageVolume?
optionalpackageVolume?:number
Defined in: wr.d.ts:742
packageWeight?
optionalpackageWeight?:number
Defined in: wr.d.ts:738
packageWidth?
optionalpackageWidth?:number
Defined in: wr.d.ts:740
priceId
priceId:
string
Defined in: wr.d.ts:698
productId
productId:
string
Defined in: wr.d.ts:696
productName
productName:
string
Defined in: wr.d.ts:697
purchaseRestock
purchaseRestock:
boolean
Defined in: wr.d.ts:735
quantity
quantity:
number
Defined in: wr.d.ts:699
resolvedZone
resolvedZone:
WrCartTaxZone
Defined in: wr.d.ts:730
The resolved tax zone for the customer's location
shippingMethods
shippingMethods:
WrCartShippingMethod[]
Defined in: wr.d.ts:727
shippingZones
shippingZones:
WrCartShippingZone[]
Defined in: wr.d.ts:726
skuCode
skuCode:
string
Defined in: wr.d.ts:722
SKU code
taxRate
taxRate:
number
Defined in: wr.d.ts:713
Applied tax rate as a percentage
taxZones
taxZones:
WrCartTaxZone[]
Defined in: wr.d.ts:728
totalAmount
totalAmount:
number
Defined in: wr.d.ts:707
Net total (netAmount × quantity)
totalGrossAmount
totalGrossAmount:
number
Defined in: wr.d.ts:711
Gross total (with tax)
variantId
variantId:
string
Defined in: wr.d.ts:693
variantName
variantName:
string
Defined in: wr.d.ts:694
variantSlug
variantSlug:
string
Defined in: wr.d.ts:695