u
This commit is contained in:
36
docs/api/routes/retoure.get.md
Normal file
36
docs/api/routes/retoure.get.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# `GET /retoure`
|
||||
|
||||
Protected. Requires a valid session cookie (`credentials: 'include'`).
|
||||
|
||||
List retoures
|
||||
|
||||
Lists customer return manifests (`manifest` rows with `type = 'retoure'`)
|
||||
for the authenticated user's selected company.
|
||||
|
||||
|
||||
## Query parameters
|
||||
|
||||
| Param | Required | Type | Description |
|
||||
|-------|----------|------|-------------|
|
||||
| `offset` | no | integer | |
|
||||
| `limit` | no | integer | |
|
||||
| `search` | no | string | |
|
||||
| `onlyUnpaid` | no | boolean | |
|
||||
| `onlyUndelivered` | no | boolean | |
|
||||
| `entityId` | no | integer | |
|
||||
| `seekMonths` | no | integer | |
|
||||
|
||||
## Response `200`
|
||||
|
||||
List of retoures
|
||||
|
||||
## Errors
|
||||
|
||||
| Status | Description |
|
||||
|--------|-------------|
|
||||
| 400 | Validation error |
|
||||
| 403 | Not authorized |
|
||||
|
||||
---
|
||||
|
||||
_Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._
|
||||
Reference in New Issue
Block a user