Loading...
Was this page helpful?
This documentation provides a reference to the validateShippingOptionPricesStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that shipping options can be created based on provided price configuration.
For flat rate prices, it validates that regions exist for the shipping option prices. For calculated prices, it validates with the fulfillment provider if the price can be calculated.
If not valid, the step throws an error.
ValidateShippingOptionPricesStepInput
ValidateShippingOptionPricesStepInputValidateShippingOptionPricesStepInput
(CreateShippingOptionsWorkflowInput | UpdateShippingOptionsWorkflowInput)[]