Skip to content
On this page

View shipment

Endpoint: /v1/shipment/{id}

http
GET /v1/shipment/{id} HTTP/1.1
Host: sandbox.tristarexpress.com
Accept: application/json
Authorization: {{ token }}

Parametros:

PropertyRequiredTypeDescription
idNString, IntegerTristar Id
order_numberNStringNeed to be sended via url query ?order_number=

WARNING

Must be sent at least one of the parameters

Example

http
GET /v1/shipments/1 HTTP/1.1
Host: sandbox.tristarexpress.com
Accept: application/json
Authorization: {{ token }}

Response:

json
{
    "data": {
        "data": {
            "id": 1,
            "order_number": "031045",
            "tracking_code": "TR211696",
            "tracking_code_label": "LBL592963",
            "created_by_id": 1,
            "updated_by_id": null,
            "created_at": "2023-03-22T23:46:28.000000Z",
            "updated_at": "2023-03-22T23:46:28.000000Z"
        }
    }
}