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 list

GET
/api/v1/shipments/b2b/list

Request

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

Responses

🟢200
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --globoff '/api/v1/shipments/b2b/list?page={{page}}&page_size={{page_size}}&warehouse_code={{warehouse_code}}&keyword={{tracking_code}}' \
--header 'Authorization: <api-key>'
Response Response Example
{
    "data": [
        {
            "status_info": {
                "value": 100,
                "label": "Mới tạo",
                "updated_time": 1778725226
            },
            "created_time": 1778725226,
            "updated_time": 1778725226,
            "warehouse_code": "ONF_WH_HN_LB",
            "tracking_code": "OASB113733718",
            "merchant_tracking_code_reference": "AT-gjgNBtTJtzjrqcbcdY",
            "courier_tracking_code": "3010904381",
            "picked_time": null,
            "packed_time": null,
            "handover_time": null,
            "cancelled_time": null,
            "platform": "retail"
        },
        {
            "status_info": {
                "value": 100,
                "label": "Mới tạo",
                "updated_time": 1778724953
            },
            "created_time": 1778724953,
            "updated_time": 1778724953,
            "warehouse_code": "ONF_WH_HN_LB",
            "tracking_code": "OASB202760389",
            "merchant_tracking_code_reference": "BO_rLXgw0NSbcUF357Lst",
            "courier_tracking_code": "8826457565",
            "picked_time": null,
            "packed_time": null,
            "handover_time": null,
            "cancelled_time": null,
            "platform": "retail"
        },
        {
            "status_info": {
                "value": 100,
                "label": "Mới tạo",
                "updated_time": 1778724928
            },
            "created_time": 1778724928,
            "updated_time": 1778724929,
            "warehouse_code": "ONF_WH_HN_LB",
            "tracking_code": "OASB188279498",
            "merchant_tracking_code_reference": "MD60ZNJsJB0zXnpDComO3",
            "courier_tracking_code": "MD60ZNJsJB0zXnpDComO3",
            "picked_time": null,
            "packed_time": null,
            "handover_time": null,
            "cancelled_time": null,
            "platform": "retail"
        }
    ],
    "error": false,
    "error_code": null,
    "log_id": null,
    "messages": "OK",
    "total": 3,
    "version": "1.0.3",
    "error_detail": null,
    "execution_time": []
}
Modified at 2026-05-20 08:59:45
Previous
Create
Next
Get detail
Built with