- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
cancelBeginOrderClaimValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the cancelBeginOrderClaimValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that the requested claim can be canceled by checking that it's not canceled, its order isn't canceled, and it hasn't been confirmed. If not valid, the step will throw an error.
Note: You can retrieve an order, order claim, and order change details using Query,
or useQueryGraphStep.
Example#
Input#
CancelBeginOrderClaimValidationStepInput
CancelBeginOrderClaimValidationStepInputThe data to validate the cancelation of a requested order claim.
CancelBeginOrderClaimValidationStepInput
CancelBeginOrderClaimValidationStepInputorder
OrderDTOThe order's details.
order
OrderDTOorderClaim
OrderClaimDTOThe order claim's details.
orderClaim
OrderClaimDTOorderChange
OrderChangeDTOThe order change's details.
orderChange
OrderChangeDTOWas this page helpful?