The returns module handles RMA workflows. Customers request a return from their order detail page; the request flows throughDocumentation Index
Fetch the complete documentation index at: https://86d.app/docs/llms.txt
Use this file to discover all available pages before exploring further.
requested -> approved -> shipped_back -> received -> refunded -> completed, with rejected as a terminal alternate path. Refunds dispatch through @86d-app/payments, and exchanges create a new order automatically.
Source: modules/returns · npm: @86d-app/returns
Installation
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) |

