Optional
Readonly
isAppears in response to Get ShippingMethods for a Cart if the shipping rate matches the search query.
Optional
Readonly
priceDefines a fixed price for the score
.
Optional
Readonly
priceDynamically calculates a Price for a range of scores.
Readonly
scoreAbstract value for categorizing a Cart. The range starts at 0
. The default price covers 0
, tiers start at 1
. See Tiered shipping rates for details and examples.
Readonly
type
Used when the ShippingRate maps to an abstract Cart categorization expressed by integers (such as shipping scores or weight ranges). Either
price
orpriceFunction
is required.