> ## Documentation Index
> Fetch the complete documentation index at: https://86d.store/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Returns

> Customer return requests for 86d: refund, exchange, or store credit, approved and refunded through the Payments Module.

<Warning>
  **Experimental.** This Module has no test or production evidence recorded yet. Read it, run it locally, and hold off on real Orders. See [maturity levels](/docs/resources/versioning).
</Warning>

The Returns [Module](/docs/concepts/modules) is return merchandise authorization (RMA). A [Customer](/docs/resources/glossary#customer) requests a return from their [Order](/docs/concepts/commerce-model) detail page. The request then moves through `requested -> approved -> shipped_back -> received -> refunded -> completed`, or ends at `rejected`. Refunds run through the [Payments](/docs/modules/payments) Module (`@86d-store/payments`), and an exchange creates a new Order automatically.

**Source:** [`modules/returns`](https://github.com/86d-store/86d/tree/main/modules/returns) · **npm:** [`@86d-store/returns`](https://www.npmjs.com/package/@86d-store/returns)

## Installation

```sh theme={null}
86d module add returns
```

## Store endpoints

| Method | Path                            | Description                 |
| ------ | ------------------------------- | --------------------------- |
| `POST` | `/orders/me/:id/returns/create` | Submit a return request     |
| `GET`  | `/orders/me/returns`            | List the customer's returns |

## Admin endpoints

| Method | Path                         | Description                    |
| ------ | ---------------------------- | ------------------------------ |
| `GET`  | `/admin/returns`             | Pending and processed returns  |
| `POST` | `/admin/returns/:id/approve` | Approve                        |
| `POST` | `/admin/returns/:id/reject`  | Reject with reason             |
| `POST` | `/admin/returns/:id/receive` | Mark items received            |
| `POST` | `/admin/returns/:id/refund`  | Issue refund (full or partial) |

## Related pages

* [Orders](/docs/modules/orders)
* [Payments](/docs/modules/payments)
* [Store credits](/docs/modules/store-credits)
* [How commerce records relate](/docs/concepts/commerce-model)
* [Glossary](/docs/resources/glossary)
* [Versioning and maturity](/docs/resources/versioning)
