1. B2C Shipment
Onflow Open API
  • Getting Started
  • Shipment management
  • API
    • Config
      • Get Warehouse
      • Get Brand
      • Upload file
    • Address Directory
      • Province
      • District
      • Ward
    • Product
      • Create Product
      • Assign Product
      • Get Product List
      • Get Product Detail
      • Deactivate Product
      • Get Stock
    • PO
      • Create PO
      • Get PO List
      • Cancel PO
    • Shipment
      • B2C Shipment
        • Create B2C Shipment
          POST
        • Get List B2C Shipment
          GET
        • Get B2C Shipment Detail
          GET
        • Cancel B2C Shipment
          PUT
    • Get return b2c shipment Copy
      • Get return b2c shipment list
      • Return B2C Shipment detail
    • Create return B2C shipment Copy
      • Create return B2C Shipment
    • Cancel B2C return shipment Copy
      • Cancel Return b2c shipment
  1. B2C Shipment

Get B2C Shipment Detail

GET
/api/v1/shipments/{{tracking_code}}/detail
This API is used to retrieve B2C shipment detail.

Request

Header Params

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/api/v1/shipments/{{tracking_code}}/detail' \
--header 'Authorization: {{token}}' \
--header 'Accept-Language: vi'
Response Response Example
{
    "data": {
        "status_info": {
            "value": 300,
            "label": "Đã bàn giao",
            "updated_time": 1773367614
        },
        "created_time": 1773367142,
        "updated_time": 1773368104,
        "warehouse_code": "ONF_WH_HN_LB",
        "tracking_code": "OASC51090555",
        "merchant_tracking_code_reference": "MERCHANT1773367142",
        "courier_tracking_code": "COURIER1773367142",
        "picked_time": 1773367301,
        "packed_time": 1773367311,
        "handover_time": 1773367614,
        "cancelled_time": null,
        "returned_time": null,
        "return_completed_time": null,
        "is_abnormal": false,
        "partner_tracking_code": "PARTNER1773367142",
        "is_marketplace": true,
        "platform": "lazada",
        "fulfill_type": "NORMAL",
        "is_bulky": false,
        "sla_handover_marketplace_time": 1773626342,
        "sla_cancel_marketplace_time": 1773626342,
        "carrier_code": "GHTK",
        "cod_amount": 0.0,
        "use_insurance": true,
        "shipment_value": 0.0,
        "awb_url": "https://nhl.sgp1.cdn.digitaloceanspaces.com/ts/a15e7ab8338b492095c82c5d054c730f.pdf",
        "invoice_url": null,
        "recipient": {
            "recipient_name": "Nguyen Van A",
            "recipient_phone_number": "0909090915",
            "recipient_address": "123 Main St",
            "recipient_ward": "Ward 1",
            "recipient_district": "District 1",
            "recipient_city": "Ho Chi Minh City"
        },
        "items": [
            {
                "oasin": "OASIN1128460",
                "sku": "SKU-1772441256739",
                "product_quantity": 1,
                "weight": 200,
                "length": 30,
                "width": 20,
                "height": 20,
                "stock_level": "A"
            }
        ],
        "journeys": [
            {
                "status_info": {
                    "value": 300,
                    "label": "Đã bàn giao",
                    "updated_time": 1773367614
                },
                "tracking_code": "OASC51090555",
                "source": "WMS"
            },
            {
                "status_info": {
                    "value": 290,
                    "label": "Chờ bàn giao",
                    "updated_time": 1773367597
                },
                "tracking_code": "OASC51090555",
                "source": "WMS"
            },
            {
                "status_info": {
                    "value": 220,
                    "label": "Sẵn sàng giao hàng",
                    "updated_time": 1773367311
                },
                "tracking_code": "OASC51090555",
                "source": "WMS"
            },
            {
                "status_info": {
                    "value": 200,
                    "label": "Đang đóng gói",
                    "updated_time": 1773367301
                },
                "tracking_code": "OASC51090555",
                "source": "WMS"
            },
            {
                "status_info": {
                    "value": 150,
                    "label": "Đang lấy hàng",
                    "updated_time": 1773367179
                },
                "tracking_code": "OASC51090555",
                "source": "WMS"
            },
            {
                "status_info": {
                    "value": 100,
                    "label": "Mới tạo",
                    "updated_time": 1773367143
                },
                "tracking_code": "OASC51090555",
                "source": "OA"
            }
        ]
    },
    "error": false,
    "error_code": null,
    "log_id": null,
    "messages": "OK",
    "total": 1,
    "version": "1.0.3",
    "error_detail": null
}
Modified at 2026-03-25 09:17:45
Previous
Get List B2C Shipment
Next
Cancel B2C Shipment
Built with