Key | Value | Description |
---|---|---|
Authorization | Bearer {token} | partner token |
Key | Type | Required | Description |
---|---|---|---|
count | int | false | Number of order in a page (default: 20, max: 100) |
offset | int | false | Position from which to return the result (default: 0) |
from_time | int | false | Unix timestamp. Scan order which has create time greater than or equal from_time. If client do not submit value, its value is 7 days before |
to_time | int | false | Unix timestamp. Scan order which has create time less than to_time. If client do not submit value, its value current time |
tracking_number | string | true | query follow "path.tracking_number" |
[
{
"_id": "23T05HDT",
"path": [
{
"address": "372 Lê Văn Sỹ, Phường 14, Quận 3, Thành phố Hồ Chí Minh, Việt Nam"
},
{
"address": "104 Trần Nhân Tôn, Phường 5, Quận 10, Hồ Chí Minh, Việt Nam",
"tracking_number": "PMCAHM123456789"
}
],
"status": "CANCELLED",
"service_id": "SGN-POOL",
"create_time": 1675399558.6162026
}
]