- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
validateCartShippingOptionsPriceStep - Medusa Core Workflows Reference
This documentation provides a reference to the validateCartShippingOptionsPriceStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates shipping options to ensure they have a price. If not valid, the step throws an error.
Example#
Input#
ValidateCartShippingOptionsPriceInput
ValidateCartShippingOptionsPriceInputThe details of the shipping options to validate.
ValidateCartShippingOptionsPriceInput
ValidateCartShippingOptionsPriceInputshippingOptions
any[]The shipping option's details. Should have a calculated_price.calculated_amount
to be considered valid.
shippingOptions
any[]calculated_price.calculated_amount
to be considered valid.Was this page helpful?