boscod OpenAPI
  1. Orders
boscod OpenAPI
  • Introduction
  • Shipping label
  • Errors
  • Changelog
  • API
    • Coverage Area
      • Provinces
      • Cities
      • Districts
      • Search Area
    • Rates
      • List Courier
      • Shipping Fee
      • Shipping Fee (SSE)
    • Orders
      • Create Order
        POST
      • Cancel Order
        POST
      • Detail Order
        GET
      • Tracking
        GET
      • Estimation Rates
        GET
  • Webhook
  1. Orders

Tracking

Developing
GET
/v1/order/tracking/{order_no}
This endpoint is used to retrieve the tracking history of a package based on the AWB (Air Waybill) number. The API will return a list of shipment statuses from the beginning to the latest status, including timestamp, status change location, journey description, and proof of delivery.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://demo.boscod.com:4004/v1/order/tracking/' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Body

Example
{
    "last_status": "2",
    "last_update": 1733106237,
    "history": [
        {
            "note": "POD scan",
            "description": "Pod scan has been issued by Syahra(https://picsum.photos/id/208/600/400)",
            "branch": "TH WONOCOLO",
            "update_on": 1733106237,
            "status": "2",
            "pod_photo": "https://picsum.photos/id/208/600/400"
        },
        {
            "note": "Delivery scan",
            "description": "Being delivered by Mochhamad Ramli",
            "branch": "TH WONOCOLO",
            "update_on": 1733100442,
            "status": null,
            "pod_photo": null
        },
        {
            "note": "Unloading scan",
            "description": "Unloaded at TH WONOCOLO",
            "branch": "TH WONOCOLO",
            "update_on": 1733094393,
            "status": null,
            "pod_photo": null
        },
        {
            "note": "Arrival Scan",
            "description": "Arrived at TH WONOCOLO",
            "branch": "TH WONOCOLO",
            "update_on": 1733094293,
            "status": null,
            "pod_photo": null
        },
        {
            "note": "Sending scan",
            "description": "Sent to TH WONOCOLO",
            "branch": "MH SURABAYA",
            "update_on": 1733090745,
            "status": null,
            "pod_photo": null
        },
        {
            "note": "Loading scan",
            "description": "Loaded by MH SURABAYA",
            "branch": "MH SURABAYA",
            "update_on": 1733084715,
            "status": null,
            "pod_photo": null
        },
        {
            "note": "Unloading scan",
            "description": "Unloaded at MH SURABAYA",
            "branch": "MH SURABAYA",
            "update_on": 1733054967,
            "status": null,
            "pod_photo": null
        },
        {
            "note": "Arrival Scan",
            "description": "Arrived at MH SURABAYA",
            "branch": "MH SURABAYA",
            "update_on": 1733054935,
            "status": null,
            "pod_photo": null
        },
        {
            "note": "Sending scan",
            "description": "Sent to MH SURABAYA",
            "branch": "TH SIMOKERTO",
            "update_on": 1733051269,
            "status": null,
            "pod_photo": null
        },
        {
            "note": "Loading scan",
            "description": "Loaded by TH SIMOKERTO",
            "branch": "TH SIMOKERTO",
            "update_on": 1733051056,
            "status": null,
            "pod_photo": null
        },
        {
            "note": "Pick up scan",
            "description": "Picked up by TH SIMOKERTO",
            "branch": "TH SIMOKERTO",
            "update_on": 1733050572,
            "status": "1",
            "pod_photo": null
        }
    ]
}
🟠400Bad Request
🟠404Record Not Found
Modified at 2025-03-10 01:15:53
Previous
Detail Order
Next
Estimation Rates
Built with