Skip to main content

ShippingLine

A ShippingLine is created when a ShippingMethod is applied to an Order. It contains information about the price of the shipping method, any discounts that were applied, and the resulting tax on the shipping method.

Signature

constructor

method(input?: DeepPartial<ShippingLine>) => ShippingLine

shippingMethodId

propertyID | null

shippingMethod

order

propertyOrder

listPrice

propertynumber

listPriceIncludesTax

propertyboolean

adjustments

propertyAdjustment[]

taxLines

propertyTaxLine[]

orderLines

propertyOrderLine[]

customFields

propertyCustomShippingLineFields

price

propertynumber

priceWithTax

propertynumber

discountedPrice

propertynumber

discountedPriceWithTax

propertynumber

taxRate

propertynumber

discounts

propertyDiscount[]

addAdjustment

method(adjustment: Adjustment) =>

clearAdjustments

method() =>
Was this chapter helpful?
Report Issue
Edited Feb 10, 2026ยทEdit this page