- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
declineTransferOrderRequestValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the declineTransferOrderRequestValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a requested order transfer can be declineed. If the provided token doesn't match the token of the transfer request, the step throws an error.
Example#
Input#
DeclineTransferOrderRequestValidationStepInput
DeclineTransferOrderRequestValidationStepInputThe details of the order transfer decline to validate.
DeclineTransferOrderRequestValidationStepInput
DeclineTransferOrderRequestValidationStepInputorder
OrderDTOThe order to decline the transfer request for.
order
OrderDTOorderChange
OrderChangeDTOThe order change made by the transfer request.
orderChange
OrderChangeDTOThe decline details.
Was this page helpful?