- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
cancelTransferOrderRequestValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the cancelTransferOrderRequestValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a requested order transfer can be canceled. If the customer canceling the order transfer isn't the one that requested the transfer, the step throws an error. Admin users can cancel any order transfer.
Example#
Input#
CancelTransferOrderRequestValidationStep
CancelTransferOrderRequestValidationStepThe details of the order transfer cancellation to validate.
CancelTransferOrderRequestValidationStep
CancelTransferOrderRequestValidationSteporder
OrderDTOThe order to cancel the transfer request for.
order
OrderDTOorderChange
OrderChangeDTOThe order change made by the transfer request.
orderChange
OrderChangeDTOThe cancelation details.
Was this page helpful?