- Get Started
- Product
- Build
- User Guide
- Cloud
- Get Started
- Product
- Build
- Tools
- Reference
- User Guide
- Cloud
This documentation provides a reference to the listShippingOptionsForCartWithPricingWorkflow. It belongs to the @medusajs/medusa/core-flows package.
This workflow lists shipping options that can be used during checkout for a cart. It also retrieves the prices of these shipping options, including calculated prices that may be retrieved from third-party providers.
This workflow is executed in other cart-related workflows, such as addShippingMethodToCartWorkflow to retrieve the price of the shipping method being added to the cart.
You can use this workflow within your own customizations or custom workflows, allowing you to retrieve the shipping options of a cart and their prices in your custom flows.
Source CodeWorkflow hook
Step conditioned by when
View step details
ListShippingOptionsForCartWithPricingWorkflowInputListShippingOptionsForCartWithPricingWorkflowInputcart_idstringoptionsobject[]Optionalis_returnbooleanOptionalDefault: false
enabled_in_storebooleanOptionalDefault: true
any[]any[]anyany