- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateOrderValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the updateOrderValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that an order can be updated with provided input. If the order is cancelled, the email is invalid, or the country code is being changed in the shipping or billing addresses, the step will throw an error.
Example#
Input#
UpdateOrderValidationStepInput
UpdateOrderValidationStepInputThe data to validate the order update.
UpdateOrderValidationStepInput
UpdateOrderValidationStepInputorder
OrderDTOThe order to validate the update for.
order
OrderDTOThe order update details.
Was this page helpful?