u
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Dash API Routes Overview (All)
|
||||
|
||||
Overview of all 209 API endpoints across all modules.
|
||||
Overview of all 210 API endpoints across all modules.
|
||||
|
||||
### Notation
|
||||
|
||||
@@ -563,7 +563,7 @@ _none_
|
||||
- Params: `id: int`
|
||||
- Returns: `200 { shippings: T39[] }`
|
||||
#### 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: T39 }`
|
||||
|
||||
### Section: /package
|
||||
@@ -700,6 +700,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: T39 }`
|
||||
#### 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 }[] }`
|
||||
|
||||
Reference in New Issue
Block a user