37 lines
807 B
Markdown
37 lines
807 B
Markdown
# `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`._
|