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_idintegerYesThe unique identifier of the order (e.g., /orders/648)

Response Codes

Code Status Description
200SuccessOrder details retrieved
400Bad RequestInvalid order ID
401UnauthorizedInvalid or missing API key
403ForbiddenCustomer does not own the order
404Not FoundOrder ID not found
500Internal Server ErrorServer error occurred

Response Format

Field Type Description
idintegerUnique order identifier
order_statusstringCurrent order status (e.g., "refunded", "delivered")
carrier_idintegerCarrier identifier - See carriers table
carrier_namestringCarrier company name
service_idintegerService identifier - See services endpoint
service_namestringService name/description
subtotalstringOrder subtotal amount (before tax)
tax_amountstringTax amount
discount_amountstringApplied discount amount
total_amountstringFinal total amount
currencystringCurrency code (e.g., "RON", "EUR")
repayment_currencystringRepayment currency code
repayment_amountstring|nullRepayment amount (null if not applicable)
awbstringAir Waybill tracking number
current_status_idintegerCurrent status identifier - See statuses table
current_statusstringCurrent status name
current_status_descriptionstringDetailed status description
is_current_status_finalbooleanWhether current status is final
track_urlstringPublic tracking URL
historyarrayOrder status history
history[].status_idintegerStatus identifier
history[].statusstringStatus name
history[].status_descriptionstringStatus description
history[].is_final_statusbooleanWhether this status is final
history[].timestampstringISO 8601 timestamp
history[].locationstring|nullLocation where status occurred
created_atstringOrder creation timestamp
updated_atstringOrder 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