1. B2B 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
        • Get B2C Shipment List
        • Get B2C Shipment Detail
        • Cancel B2C Shipment
        • Get B2C Return Inspection
      • 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
          POST
        • Get list
          GET
        • Get detail
          GET
        • Cancel
          PUT
      • 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. B2B Shipment

Get detail

GET
/api/v1/shipments/b2b/{{tracking_code}}/detail

Request

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

Responses

🟢200
application/json
Bodyapplication/json

🟠404
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --globoff '/api/v1/shipments/b2b/{{tracking_code}}/detail' \
--header 'Authorization: <api-key>'
Response Response Example
200 - Success
{
    "data": {
        "is_marketplace": false,
        "platform": "retail",
        "fulfill_type": "NORMAL",
        "carrier_code": "GHTK",
        "cod_amount": 0.0,
        "use_insurance": false,
        "shipment_value": 0.0,
        "recipient": {
            "recipient_name": "Rogelio Bradtke",
            "recipient_phone_number": "0961557476",
            "recipient_address": "Số 9 Trà Khúc",
            "recipient_ward": "Phường 02",
            "recipient_city": "Ho Chi Minh",
            "recipient_district": "Quận 1",
            "recipient_ward_id": null,
            "recipient_district_id": null,
            "recipient_city_id": null
        },
        "items": [
            {
                "weight": 200.0,
                "length": 20.256,
                "width": 20.258,
                "height": 20.2698,
                "oasin": "OASIN1297150",
                "sku": "XXI-47404",
                "product_quantity": 10,
                "stock_level": "A",
                "product_strategy": "NONE"
            }
        ],
        "journeys": [
            {
                "status_info": {
                    "value": 100,
                    "label": "Mới tạo",
                    "updated_time": 1777016180
                },
                "tracking_code": "OASB69308339",
                "source": "OA"
            }
        ],
        "shipping_fee": 0.0,
        "status_info": {
            "value": 100,
            "label": "Mới tạo",
            "updated_time": 1777016180
        },
        "created_time": 1777016180,
        "updated_time": 1777016180,
        "warehouse_code": "ONF_WH_HN_LB",
        "tracking_code": "OASB69308339",
        "merchant_tracking_code_reference": "BTH_596",
        "courier_tracking_code": "BTH_awb_757",
        "picked_time": null,
        "packed_time": null,
        "handover_time": null,
        "cancelled_time": null,
        "carrier_service_code": null,
        "vas": [
            "AFTER_HOURS_PACKING"
        ],
        "packaging_note": "Tôi muốn đóng nhanh",
        "note": "Nhanh thật nhanh",
        "documents": [
            {
                "document_type": "PURCHASE",
                "document_url": "https://nhl.sgp1.cdn.digitaloceanspaces.com/ts/ccc85cb4f4ef44039a3509fdac1eef11.jpg",
                "print_quantity": 10
            }
        ]
    },
    "error": false,
    "error_code": null,
    "log_id": null,
    "messages": "OK",
    "total": 1,
    "version": "1.0.3"
}
Modified at 2026-05-20 08:59:45
Previous
Get list
Next
Cancel
Built with