601 B
601 B
POST /retoure
Protected. Requires a valid session cookie (credentials: 'include').
Create retoure
Body (JSON)
| Field | Required | Type | Description |
|---|---|---|---|
number |
no | string | |
date |
yes | string | |
entityId |
no | integer | |
externalNumber |
no | string | |
lines |
no | any[] |
{
"number": "…",
"date": "…",
"entityId": 1,
"externalNumber": "…",
"lines": []
}
Response 201
Retoure created
Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.