This commit is contained in:
seb
2026-10-12 13:11:28 +02:00
parent 4429294d8b
commit 1f09e620e3
8 changed files with 233 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
# Dash API Routes Overview
Overview of all 162 API endpoints across all modules.
Overview of all 163 API endpoints across all modules.
### Notation
@@ -464,7 +464,7 @@ _none_
- Params: `id: int`
- Returns: `200 { shippings: T35[] }`
#### Create shipping for an order — `POST /order/{id}/shipping`
- Params: `id: int, body: { type: str, state: str }`
- Params: `id: int, body: { type: str, state: str, warehouseId?: int }`
- Returns: `201 { shipping: T35 }`
### Section: /package
@@ -544,6 +544,9 @@ _none_
#### Delete shipping — `DELETE /shipping/{id}`
- Params: `id: int`
- Returns: `204 void`
#### Update shipping — `PATCH /shipping/{id}`
- Params: `id: int, body: { type?: str, state?: str, warehouseId?: int }`
- Returns: `200 { shipping: T35 }`
#### List packages of a shipping — `GET /shipping/{id}/package`
- Params: `id: int`
- Returns: `200 { packages: { id: int, shippingId: int, entityaddressId: int, number: str, type: str, state: str, details?: str|null }[] }`