- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
validateLineItemPricesStep - Medusa Core Workflows Reference
This documentation provides a reference to the validateLineItemPricesStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates the specified line item objects to ensure they have prices. If an item doesn't have a price, the step throws an error.
Example#
Input#
ValidateLineItemPricesStepInput
ValidateLineItemPricesStepInputThe details of the line items to validate.
ValidateLineItemPricesStepInput
ValidateLineItemPricesStepInputitems
object[]The line items to validate.
items
object[]Was this page helpful?