GET https://3ati2ak.com/api/orders/{trackingNumber}

Retrieve the details of a single order by its tracking number.

Requires authentication. You can only fetch orders that belong to your account.

Headers

Accept application/json
Authorization Bearer {your_token}

URL Parameter

Parameter Required Description
trackingNumber required The order's origin tracking number

Example: https://3ati2ak.com/api/orders/ORDER123

Response 200 OK

{
    "success": true,
    "message": "Order fetched successfully",
    "data": {
        "id": 1,
        "trackingNumber": "ORDER123",
        "clientName": "John Doe",
        "clientPhone": "0123456789",
        "createdAt": "2026-04-01 10:00",
        "location": "Beirut - Hamra",
        "priceLbp": 50000,
        "priceUsd": 5.00,
        "feeLbp": 0,
        "feeUsd": 0,
        "status": "Pending",
        "note": "Handle with care"
    }
}
idInternal order ID
trackingNumberThe origin tracking number
clientNameClient's name, or NA if not set
clientPhoneClient's phone number
createdAtCreation date — format: YYYY-MM-DD HH:mm
locationDistrict + additional address
priceLbpOrder price in Lebanese Pounds
priceUsdOrder price in USD
feeLbpDelivery fee in Lebanese Pounds
feeUsdDelivery fee in USD
statusCurrent status — e.g. Pending, On shelf, On road, Delivered
noteOptional note attached to the order

Error Responses

401 Unauthorized Order belongs to another account
{"success": false, "message": "Unauthorized"}
404 Not Found No order with that tracking number
{"success": false, "message": "Not Found"}