www/apps/resources/app/commerce-modules/order/claim/page.mdx
export const metadata = {
title: Order Claim,
}
In this guide, you'll learn about order claims.
<Note title="Looking for no-code docs?">Refer to this Medusa Admin User Guide to learn how to manage an order's claims using the dashboard.
</Note>When a customer receives a defective or incorrect item, the merchant can create a claim to refund or replace that item.
A claim is represented by the OrderClaim data model.
The Claim data model has a type property that indicates the type of claim:
refund: The items are returned and the customer receives a refund.replace: The items are returned and the customer receives new items.When you create a claim, a return is also created to handle receiving the old items from the customer. The return is represented by the Return data model.
<Note>Refer to the Returns guide to learn more about returns.
</Note>If the claim's type is replace, the replacement items are represented by the ClaimItem data model.
A claim uses shipping methods to send replacement items to the customer. These methods are represented by the OrderShippingMethod data model.
The shipping methods for returned items are linked to the claim's return, as explained in the Returns guide.
If the claim's type is refund, the refund amount is stored in the refund_amount property.
The Transaction data model represents the refunds made for the claim.
When you confirm a claim, the order's version increases.
Learn more about order versions in the Order Versioning guide.