Back to Medusa

{metadata.title}

www/apps/resources/app/commerce-modules/order/claim/page.mdx

2.14.22.0 KB
Original Source

export const metadata = { title: Order Claim, }

{metadata.title}

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>

What is a Claim?

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.


Claim Type

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.

Old and Replacement 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.


Claim Shipping Methods

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.


Claim Refund

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.


How Claims Impact an Order's Version

When you confirm a claim, the order's version increases.

Learn more about order versions in the Order Versioning guide.