Skip to main content

Documentation Index

Fetch the complete documentation index at: https://86d.app/docs/llms.txt

Use this file to discover all available pages before exploring further.

The returns module handles RMA workflows. Customers request a return from their order detail page; the request flows through 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

86d module add returns

Store endpoints

MethodPathDescription
POST/orders/me/:id/returns/createSubmit a return request
GET/orders/me/returnsList the customer’s returns

Admin endpoints

MethodPathDescription
GET/admin/returnsPending and processed returns
POST/admin/returns/:id/approveApprove
POST/admin/returns/:id/rejectReject with reason
POST/admin/returns/:id/receiveMark items received
POST/admin/returns/:id/refundIssue refund (full or partial)