ライトモード
Shipment Tracking
GET
/shipments/{shipment_id}/tracking最終更新: a month ago
This endpoint allows you to fetch tracking details for a specific shipment by passing the shipment_id
as a path parameter.
Request
Pathパラメータ
shipment_id
integer
必須
Shipment ID
Request samples
Response
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
データ構造
No schema defined
例
{
"status": 200,
"success": true,
"data": {
"id": 362985662,
"order_id": 560695738,
"order_reference_id": 48927,
"type": "shipment",
"courier_id": 1927161457,
"courier_name": "Shipping App",
"courier_logo": "https://salla-dev-portal.s3.eu-central-1.amazonaws.com/uploads/Zo3PtoY2KNo3MkpWARHXhK91DUrsEtQJJqpz5PbY.png",
"shipping_number": "846984645",
"tracking_number": "43534254",
"pickup_id": null,
"trackable": true,
"tracking_link": "https://api.shipengine.com/v1/labels/498498496/track",
"label": {
"format": "pdf",
"url": "https://salla-dev.s3.eu-central-1.amazonaws.com/mKZa/shipping-policy/48102-IPqC9O6ysElWi4ze5148I2ilFABxAKvHggmEG4pB.pdf"
},
"status": "delivering",
"history": [
{
"status": "delivering",
"note": "third note the shipment is on the way",
"create_at": {
"date": "2023-04-06 11:57:51.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
}
},
{
"status": "created",
"note": "second note without sending the status in the request",
"create_at": {
"date": "2023-04-06 11:49:51.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
}
},
{
"status": "created",
"note": "first note without sending the status in the request",
"create_at": {
"date": "2023-04-06 11:49:35.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
}
},
{
"status": "created",
"note": null,
"create_at": {
"date": "2023-04-06 11:44:23.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
}
}
]
}
}
最終更新: a month ago