Loading...
Was this page helpful?
This documentation provides a reference to the updateShippingMethodsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step updates a cart's shipping methods.
UpdateShippingMethodsStepInput
UpdateShippingMethodsStepInputid
stringname
stringOptionalis_tax_inclusive
booleanOptionaldata
Record<string, unknown>OptionalCartShippingMethodDTO[]
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