- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
confirmExchangeRequestValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the confirmExchangeRequestValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a requested exchange can be confirmed. If the order or exchange is canceled, or the order change is not active, the step will throw an error.
Note: You can retrieve an order, order exchange, and order change details using Query,
or useQueryGraphStep.
Example#
Input#
ConfirmExchangeRequestValidationStepInput
ConfirmExchangeRequestValidationStepInputThe data to validate that a requested exchange can be confirmed.
ConfirmExchangeRequestValidationStepInput
ConfirmExchangeRequestValidationStepInputorder
OrderDTOThe order's details.
order
OrderDTOorderExchange
OrderExchangeDTOThe order exchange's details.
orderExchange
OrderExchangeDTOorderChange
OrderChangeDTOThe order change's details.
orderChange
OrderChangeDTOWas this page helpful?