Use this endpoint to retrieve tracking information for an Order Item.
- GET /api/v3/public/track_item/{number}
- API reference link: https://api-docs.yojee.com/#Yojee-APIs-%5BPublic%5D-Order
Request Parameters
Parameter |
Required? |
Type |
Description |
number |
Yes |
String |
Tracking number |
Request Sample cURL/Payload
curl -X GET "https://umbrella.yojee.com/api/v3/public/track_item/YOJ-VYOFVPA43FMB" -H "accept: application/json"
Sample Response Body
Server Code Status: 200 => Got tracking data
example value(s)
{
"data": {
"cancelled_at": null,
"inserted_at": "2019-06-04T04:01:04.307128Z",
"order_items": [
{
"cancelled_at": null,
"external_customer_id": "external_customer_id_test",
"external_customer_id2": null,
"external_customer_id3": null,
"item": {
"height": 1,
"id": 55063,
"length": 1,
"quantity": 1,
"weight": 1,
"width": 1
},
"item_id": 55063,
"logs": {
"order_item_logs": [],
"task_logs": []
},
"order_item_logs": [],
"order_item_steps": [
{
"address": "144 Ronbinson Road Singapore",
"address_components": {
"address": "144 Ronbinson Road Singapore",
"address2": "Level 1",
"country": "Singapore",
"location": {
"lat": 1.2782636,
"lng": 103.8481705
},
"postal_code": "050480",
"state": "Singapore"
},
"contact_company": "Adidas",
"contact_email": null,
"contact_name": "ACE",
"contact_phone": "+60121234567",
"from_time": "2019-06-28T15:49:43.000000Z",
"state": "created",
"step_sequence": 1,
"to_time": "2019-06-28T15:49:43.000000Z",
"type": "pickup"
},
{
"address": "166 East Coast Road, Singapore",
"address_components": {
"address": "166 East Coast Road, Singapore",
"address2": "1-01",
"country": "Singapore",
"location": {
"lat": 1.4630478,
"lng": 103.7647132
},
"postal_code": "428872",
"state": "Singapore"
},
"contact_company": "Nike",
"contact_email": null,
"contact_name": "ABC",
"contact_phone": "+6512123456",
"from_time": "2019-06-28T15:49:43.000000Z",
"state": "created",
"step_sequence": 2,
"to_time": "2019-06-28T15:49:43.000000Z",
"type": "dropoff"
}
],
"service_type": "sameday",
"status": "not_yet_scheduled",
"tracking_number": "YOJ-VYOFVPA43FMB"
}
],
"status": "accepted"
}
}