Loading...
Was this page helpful?
This documentation provides a reference to the addShippingMethodToCartStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step adds shipping methods to a cart.
AddShippingMethodToCartStepInput
AddShippingMethodToCartStepInputshipping_methods
CreateShippingMethodDTO[]CartShippingMethodDTO[]
CartShippingMethodDTO[]id
stringcart_id
stringname
stringamount
BigNumberValueis_tax_inclusive
booleancreated_at
string | Dateupdated_at
string | Dateoriginal_total
BigNumberValueoriginal_subtotal
BigNumberValueoriginal_tax_total
BigNumberValuetotal
BigNumberValuesubtotal
BigNumberValuetax_total
BigNumberValuediscount_total
BigNumberValuediscount_tax_total
BigNumberValueraw_original_total
BigNumberRawValueraw_original_subtotal
BigNumberRawValueraw_original_tax_total
BigNumberRawValueraw_total
BigNumberRawValueraw_subtotal
BigNumberRawValueraw_tax_total
BigNumberRawValueraw_discount_total
BigNumberRawValueraw_discount_tax_total
BigNumberRawValuedescription
stringOptionalshipping_option_id
stringOptionaldata
Record<string, unknown>Optionalmetadata
null | Record<string, unknown>Optional