1. B2C Shipment
Onflow Open API
  • Getting Started
  • Overall logic
  • Error code
  • API
    • Config
      • Get Warehouse
      • Get Brand
      • Get Province
      • Get District
      • Get Ward
      • Upload file
      • Pricing
    • Product
      • Create Product
      • Assign Product
      • Get Product List
      • Get Product Detail
      • Get Stock
      • Deactivate Product
    • PO
      • Create PO
      • Get PO List
      • Get PO Bill
      • Get PO Detail
      • Get PO Inspection Detail
      • Cancel PO
    • Shipment
      • B2C Shipment
        • Create B2C Shipment
          POST
        • Get B2C Shipment List
          GET
        • Get B2C Shipment Detail
          GET
        • Cancel B2C Shipment
          PUT
        • Get B2C Return Inspection
          GET
      • B2C Return shipment
        • Create Return B2C Shipment
        • Get Return B2C Shipment List
        • Get Return B2C Shipment Detail
        • Cancel Return B2C Shipment
        • Get B2C Return Shipment Inspection
      • B2B Shipment
        • Create
        • Get list
        • Get detail
        • Cancel
      • B2B Return shipment
        • Create
        • Get list
        • Get detail
        • Cancel
        • Get B2B Return Shipment Inspection
    • Stock
      • Get inventory Batch/lot
      • Get inventory Expired date
      • Get inventory Expired percent
  • Webhook
    • Shipment
      • Updated Shipment Status
    • Return
      • Updated Return Status
    • PO
      • Updated PO Status
    • Stock
      • Updated Stock
  1. B2C Shipment

Get B2C Shipment Detail

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

Request

Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Path Params

Header Params

Responses

🟢200
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/v1/shipments/b2c//detail' \
--header 'Accept-Language: vi' \
--header 'Authorization: <api-key>'
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-26 06:17:56
Previous
Get B2C Shipment List
Next
Cancel B2C Shipment
Built with