Buyurtma holati
Buyurtma holati
GET
/v1/order/international-track?orderId=<orderId>
Buyurtma holati
REQUEST
| Field | Type | Description |
|---|---|---|
orderId * |
integer | Buyurtma (waybill) ID. Path: GET /v1/order/international-track/{orderId} yoki query: ?orderId={orderId}. Faqat JWT mijoziga tegishli xalqaro buyurtma kuzatiladi |
RESPONSE
HTTP 200
Response Body
{
"status": true,
"message": "Ma’lumot muvaffaqiyatli olindi.",
"status_code": 200,
"data": {
"orderId": 4295353,
"status": {
"id": 1,
"info": "У отправителя",
"code": 100
}
}
}
| Field | Type | Description |
|---|---|---|
status |
boolean | So'rov muvaffaqiyatli bajarilganligi (true/false) |
message |
string | Javob xabari |
status_code |
integer | HTTP status kodi |
data[orderId] |
integer | Buyurtma ID |
data[status][id] |
integer | Joriy status ID |
data[status][info] |
string | Status matni (masalan: Tranzitda) |
data[status][code] |
string | Status kodi (masalan: IN_TRANSIT). Bo'sh bo'lishi mumkin |