- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
requestOrderTransferValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the requestOrderTransferValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that an order transfer can be requested. If the customer is a guest customer, or the order already belongs to a registered customer, the step throws an error.
Example#
Input#
RequestOrderTransferValidationStepInput
RequestOrderTransferValidationStepInputThe details of the order transfer request to validate.
RequestOrderTransferValidationStepInput
RequestOrderTransferValidationStepInputorder
OrderDTOThe order to transfer.
order
OrderDTOcustomer
CustomerDTOThe customer to transfer the order to.
customer
CustomerDTOWas this page helpful?