- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
addShippingMethodToCartStep - Medusa Core Workflows Reference
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.
Example#
Input#
AddShippingMethodToCartStepInput
AddShippingMethodToCartStepInputThe details of the shipping methods to add.
AddShippingMethodToCartStepInput
AddShippingMethodToCartStepInputshipping_methods
CreateShippingMethodDTO[]The shipping methods to add.
shipping_methods
CreateShippingMethodDTO[]Output#
CartShippingMethodDTO[]
CartShippingMethodDTO[]
CartShippingMethodDTO[]
CartShippingMethodDTO[]CartShippingMethodDTO
CartShippingMethodDTOThe cart shipping method details.
CartShippingMethodDTO
CartShippingMethodDTOWas this page helpful?