# Drop-ship orders: by warehouse + date range, or look one up by client_order_number / serial_number

`GET /api/v1/dropship-orders` — Token required · df:read · 1 pt

Drop-ship orders

## Query parameters

| Name | Type | Description |
| --- | --- | --- |
| `warehouse_code` | string | Warehouse code: AU (Australia, all warehouses — aggregate view), AUSYD2 (Sydney main, Rosehill), AUSYD1 (Sydney accessories), CN (China, all warehouses — aggregate view), CHNZJ1 (Zhenjiang). Full list: GET /api/v1/warehouses. |
| `start_date` | string | Start date, YYYY-MM-DD (inclusive). (max length 10 · format ^[0-9]{4}-[0-9]{2}-[0-9]{2}$) |
| `end_date` | string | End date, YYYY-MM-DD (inclusive). (max length 10 · format ^[0-9]{4}-[0-9]{2}-[0-9]{2}$) |
| `shipped` | boolean | Only shipped (true) or unshipped (false) orders (optional). |
| `client_order_number` | string | The order number in your own system (the one you sent when creating the drop-ship order). (max length 64) |
| `serial_number` | string | Drop-ship serial number, from the drop-ship order list. Own channel only. (max length 64) |

## Response

The envelope is decided by the HTTP status alone: 2xx with `{ data: … }` (lists also carry `page / page_size / has_more` or `total_count`); 4xx / 5xx with `{ error: { code, message, hint, request_id, doc_url } }`.

```json
{
  "data": [ … ],
  "total_count": 12
}
```

A success response carries no human-readable text — no `code / result / msg`. `error.code` is the only field your code should branch on; `message` follows `Accept-Language`.

## Examples

### curl

```bash
curl "https://connect.everugg.net.au/api/v1/dropship-orders?warehouse_code=AU&start_date=2026-09-01" \
  -H "Authorization: Bearer $TOKEN"
```

### Python

```python
import requests

r = requests.get(
    "https://connect.everugg.net.au/api/v1/dropship-orders?warehouse_code=AU&start_date=2026-09-01",
    headers={"Authorization": "Bearer " + TOKEN},
)
data = r.json()
r.raise_for_status()  # 4xx/5xx: data["error"]["code"] / ["hint"]
```

### Node

```js
const res = await fetch("https://connect.everugg.net.au/api/v1/dropship-orders?warehouse_code=AU&start_date=2026-09-01", {
  headers: { Authorization: `Bearer ${TOKEN}` },
})
const data = await res.json()
if (!res.ok) throw new Error(`${data.error?.code}: ${data.error?.message}`)
```

### Java

```java
HttpRequest req = HttpRequest.newBuilder()
    .uri(URI.create("https://connect.everugg.net.au/api/v1/dropship-orders?warehouse_code=AU&start_date=2026-09-01"))
    .header("Authorization", "Bearer " + token)
    .GET()
    .build();
HttpResponse<String> res = HttpClient.newHttpClient().send(req, HttpResponse.BodyHandlers.ofString());
```

---
Markdown source: https://connect.everugg.net.au/reference/get-api-v1-dropship-orders.md?lang=en · Web page: https://connect.everugg.net.au/reference?op=get-api-v1-dropship-orders&lang=en
