- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateShippingMethodsStep - Medusa Core Workflows Reference
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.
Example#
Input#
UpdateShippingMethodsStepInput
UpdateShippingMethodsStepInputThe details of the shipping methods to update.
UpdateShippingMethodsStepInput
UpdateShippingMethodsStepInputid
stringThe ID of the shipping method.
id
stringname
stringOptionalThe name of the shipping method.
name
stringOptionalThe amount of the shipping method.
is_tax_inclusive
booleanOptionalThe tax inclusivity setting of the shipping method.
is_tax_inclusive
booleanOptionaldata
Record<string, unknown>OptionalThe data of the shipping method.
data
Record<string, unknown>OptionalThe tax lines of the shipping method.
The adjustments of the shipping method.
Output#
CartShippingMethodDTO[]
CartShippingMethodDTO[]
CartShippingMethodDTO[]
CartShippingMethodDTO[]CartShippingMethodDTO
CartShippingMethodDTOThe cart shipping method details.
CartShippingMethodDTO
CartShippingMethodDTOWas this page helpful?