- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
validateVariantPricesStep - Medusa Core Workflows Reference
This documentation provides a reference to the validateVariantPricesStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates the specified variant objects to ensure they have prices. If not valid, the step throws an error.
Example#
Input#
ValidateVariantPricesStepInput
ValidateVariantPricesStepInputThe details of the variants to validate.
ValidateVariantPricesStepInput
ValidateVariantPricesStepInputvariants
object[]The variants to validate.
variants
object[]Was this page helpful?