- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
orderClaimAddNewItemValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the orderClaimAddNewItemValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that new items can be added to the claim. If the order or claim is canceled, or the order change is not active, the step will throw an error.
Note: You can retrieve an order, order claim, and order change details using Query,
or useQueryGraphStep.
Example#
Input#
OrderClaimAddNewItemValidationStepInput
OrderClaimAddNewItemValidationStepInputThe data to validate adding new items to a claim.
OrderClaimAddNewItemValidationStepInput
OrderClaimAddNewItemValidationStepInputorder
OrderDTOThe order's details.
order
OrderDTOorderClaim
OrderClaimDTOThe order claim's details.
orderClaim
OrderClaimDTOorderChange
OrderChangeDTOThe order change's details.
orderChange
OrderChangeDTOWas this page helpful?