> For the complete documentation index, see [llms.txt](https://drophub.gitbook.io/drophub-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://drophub.gitbook.io/drophub-docs/api/order-status-endpoint.md).

# 🚚 Order Status Endpoint

#### 🔗 Endpoint

```
GET https://api.drop-hub.com/api/custom-integration/orders/all-status
```

#### 📄 Description

This endpoint returns a full list of all possible order statuses in the DropHub system. It’s useful for filtering orders, displaying status in the dashboard, or syncing status options with external platforms.

***

### 🔐 Headers

| Header Name | Type   | Required | Description         |
| ----------- | ------ | -------- | ------------------- |
| `x-api-key` | String | ✅ Yes    | Your API access key |

***

### ✅ Example Successful Response

```json
{
  "timestamp": 1755779003655,
  "message": "تمت العملية بنجاح",
  "data": [
    "PENDING",
    "ACCEPTED",
    "REJECTED",
    "PICKED_UP",
    "DELIVERED"
  ],
  "status": "success",
  "statusCode": 200
}
```

***

### 🗂️ Available Statuses

| Status      | Description                        |
| ----------- | ---------------------------------- |
| `PENDING`   | Order is waiting to be assigned    |
| `ACCEPTED`  | Driver has accepted the order      |
| `REJECTED`  | Order was rejected by the driver   |
| `PICKED_UP` | Driver picked up the order         |
| `DELIVERED` | Order has been delivered to client |
