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
ListShippingOptionsForCartWithPricingWorkflowInput
ListShippingOptionsForCartWithPricingWorkflowInputcart_id
stringoptions
object[]Optionalis_return
booleanOptionalDefault: false
enabled_in_store
booleanOptionalDefault: true
any[]
any[]any
any