validateDraftOrderStep - Medusa Core Workflows Reference
This documentation provides a reference to the validateDraftOrderStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that an order is a draft order. It throws an error otherwise.
Example#
Input#
ValidateDraftOrderStepInput
ValidateDraftOrderStepInputThe details of the draft order to validate.
ValidateDraftOrderStepInput
ValidateDraftOrderStepInputorder
OrderDTOThe draft order to validate.
order
OrderDTOWas this page helpful?