This commit is contained in:
seb
2026-10-09 21:43:17 +02:00
parent ac10840fb6
commit d4e2b05cb0
6 changed files with 132 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# Dash API Routes Overview
Overview of all 159 API endpoints across all modules.
Overview of all 160 API endpoints across all modules.
### Notation
@@ -478,6 +478,9 @@ _none_
#### Create package for a shipping — `POST /shipping/{id}/package`
- Params: `id: int, body: { entityaddressId: int, type: str, state: str, details?: str }`
- Returns: `201 { package: { id: int, shippingId: int, entityaddressId: int, number: str, type: str, state: str, details?: str|null } }`
#### Small thumb image by hash — `GET /smallthumb/{fullHash}`
- Params: `fullHash: str`
- Returns: `200 avif`
#### Adjust stock manually — `POST /stock/adjust`
- Params: `body: { sku?: str, warehouseId?: int, amount?: num, text?: str|null, lines?: { sku: str, amount: num, warehouseId?: int, text?: str }[] }`
- Returns: `201 { manifest: { id: int, number: str, type: str, date: str, createdAt: str }, lines: { manifestarticle_id: int, sku: str, name: str, warehouse_id: int, amount: num, text: str }[], ledger: T14[] }`