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

Get list

GET
/api/v1/return-shipments/b2b/list
This API returns a paginated list of B2B return shipments belonging to the authenticated merchant.
The result can be filtered by warehouse or keyword.

Notes#

All timestamps are Unix timestamps (seconds).
Timestamp fields may be null if the corresponding process has not occurred.
Results are returned according to the specified pagination parameters.
keyword supports searching by return_tracking_code or merchant_return_tracking_code_reference.

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 '/api/v1/return-shipments/b2b/list?page_size=10&page=1&warehouse_code=ONF_WH_HCM_APD&keyword=undefined' \
--header 'Authorization: <api-key>'
Response Response Example
{
    "data": [
        {
            "status_info": {
                "value": 100,
                "label": "Chờ nhận",
                "updated_time": 1783479964
            },
            "created_time": 1783479964,
            "updated_time": 1783479964,
            "return_tracking_code": "OARSB233096861",
            "merchant_return_tracking_code_reference": "MRCR_1898877889_9878",
            "warehouse_code": "ONF_WH_HCM_APD",
            "returned_time": null,
            "return_completed_time": null,
            "inspection_time": null,
            "estimated_arrival_time": 1783739163
        }
    ],
    "error": false,
    "error_code": null,
    "log_id": null,
    "messages": "OK",
    "total": 1,
    "version": "1.0.8",
    "error_detail": null,
    "execution_time": []
}
Modified at 2026-07-08 07:58:48
Previous
Create
Next
Get detail
Built with