879 B
879 B
POST /v1/order
Protected. Requires a valid session cookie (credentials: 'include').
JTL-POS order upload
Imports orders from JTL-POS, creating order manifests, payments, and shipments with stock deductions.
Query parameters
| Param | Required | Type | Description |
|---|---|---|---|
mandantId |
no | string |
Body (JSON)
| Field | Required | Type | Description |
|---|---|---|---|
orders |
no | object[] |
{
"orders": [
{}
]
}
Response 200
Array of sync results per order
[
{
"status": "OK",
"externalOrderId": "2",
"message": ""
}
]
Errors
| Status | Description |
|---|---|
| 401 | Unauthorized |
| 500 | Internal server error |
Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.