Direct API
Order Details
Get detailed information about a specific order
GET
/orders/{order_id}
Get detailed information about a specific order including status history and tracking details
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| order_id | integer | Yes | The unique identifier of the order (e.g., /orders/648) |
Response Codes
| Code | Status | Description |
|---|---|---|
| 200 | Success | Order details retrieved |
| 400 | Bad Request | Invalid order ID |
| 401 | Unauthorized | Invalid or missing API key |
| 403 | Forbidden | Customer does not own the order |
| 404 | Not Found | Order ID not found |
| 500 | Internal Server Error | Server error occurred |
Response Format
| Field | Type | Description |
|---|---|---|
| id | integer | Unique order identifier |
| order_status | string | Current order status (e.g., "refunded", "delivered") |
| carrier_id | integer | Carrier identifier - See carriers table |
| carrier_name | string | Carrier company name |
| service_id | integer | Service identifier - See services endpoint |
| service_name | string | Service name/description |
| subtotal | string | Order subtotal amount (before tax) |
| tax_amount | string | Tax amount |
| discount_amount | string | Applied discount amount |
| total_amount | string | Final total amount |
| currency | string | Currency code (e.g., "RON", "EUR") |
| repayment_currency | string | Repayment currency code |
| repayment_amount | string|null | Repayment amount (null if not applicable) |
| awb | string | Air Waybill tracking number |
| current_status_id | integer | Current status identifier - See statuses table |
| current_status | string | Current status name |
| current_status_description | string | Detailed status description |
| is_current_status_final | boolean | Whether current status is final |
| track_url | string | Public tracking URL |
| history | array | Order status history |
| history[].status_id | integer | Status identifier |
| history[].status | string | Status name |
| history[].status_description | string | Status description |
| history[].is_final_status | boolean | Whether this status is final |
| history[].timestamp | string | ISO 8601 timestamp |
| history[].location | string|null | Location where status occurred |
| created_at | string | Order creation timestamp |
| updated_at | string | Order last update timestamp |
Response Example
RESPONSEJSON
{
"id": 648,
"order_status": "refunded",
"carrier_id": 3,
"carrier_name": "FAN Courier",
"service_id": 3,
"service_name": "De la locker la ușă",
"subtotal": "12.38",
"tax_amount": "2.35",
"discount_amount": "0.00",
"total_amount": "14.73",
"currency": "RON",
"repayment_currency": "RON",
"repayment_amount": null,
"awb": "4170500028949",
"current_status_id": 106,
"current_status": "Anulat",
"current_status_description": "Expedierea este anulată de expeditor",
"is_current_status_final": true,
"track_url": "https://www.eawb.ro/tracking?awb=4170500028949",
"history": [
{
"status_id": 106,
"status": "Anulat",
"status_description": "Expedierea este anulată de expeditor",
"is_final_status": true,
"timestamp": "2025-06-19T18:56:12+03:00",
"location": null
},
{
"status_id": 1,
"status": "Nou",
"status_description": "A fost creată eticheta de expediere",
"is_final_status": false,
"timestamp": "2025-06-19T18:55:25+03:00",
"location": null
}
],
"created_at": "2025-06-19T15:55:19.000000Z",
"updated_at": "2025-06-19T15:56:15.000000Z"
}Complete API Reference
For interactive testing and additional technical details, visit our complete Swagger documentation.
View in Swagger Documentation
