Skip to main content

Search Transfer Orders

Use this api to search transfer orders

Flow: Search all transfer orders by the filters in db

URL : /api/search-transfer-order

Method : GET

Params : order_number, transfer_id, from_store, to_store, source, create_start, create_end, delivery_by, sku, sort_by, sort_type

Params Example

order_number:12312111
transfer_id:ITRF00364658
from_store:SGPMC040
to_store:LVS
source:1
create_start:2023-05-23 01:00:00
create_end:2023-05-23 01:00:00
delivery_by:ahamove,viettelpost
sku:P00033
transfer_status:0
document_status:2

Master data

source:
EMS: 1
transfer_status:

Success Response

Code : 200 OK

Content example

{
"success": true,
"errors": null,
"errorCode": null,
"data": {
"transfer_orders": [
{
"order_number": "12312111",
"transfer_id": null,
"tf_request_id": "TFRQ35406",
"from_warehouse": "HLC",
"to_warehouse": "LVS",
"distance": "1.56",
"description": "abc",
"employee_name": "Hua Thanh Vinh",
"employee_id": "800756",
"receipt_date": null,
"ship_date": null,
"ops_note": null,
"source": "EMS",
"total": 22000,
"transfer_status": null,
"document_status": 0,
"sync_ax_status": 0,
"created_at": "2023-05-31T04:13:11.000000Z"
},
{
"order_number": "12312111",
"transfer_id": null,
"tf_request_id": null,
"from_warehouse": "HLC",
"to_warehouse": "LVS",
"distance": "1.56",
"description": "abc",
"employee_name": "Hua Thanh Vinh",
"employee_id": "800756",
"receipt_date": null,
"ship_date": null,
"ops_note": null,
"source": "EMS",
"total": 0,
"transfer_status": null,
"document_status": 0,
"sync_ax_status": 0,
"created_at": "2023-05-25T06:43:09.000000Z"
},
{
"order_number": "12312111",
"transfer_id": null,
"tf_request_id": null,
"from_warehouse": "HLC",
"to_warehouse": "LVS",
"distance": "1.56",
"description": "abc",
"employee_name": "Hua Thanh Vinh",
"employee_id": "800756",
"receipt_date": null,
"ship_date": null,
"ops_note": null,
"source": "EMS",
"total": 0,
"transfer_status": null,
"document_status": 0,
"sync_ax_status": 0,
"created_at": "2023-05-25T03:25:41.000000Z"
}
],
"page": 1,
"page_size": 30,
"next_page": null,
"previous_page": null,
"total_page": 1,
"total_records": 3
}
}

Empty Response

Code : 200 OK

Content :

{
"success": true,
"errors": null,
"errorCode": null,
"data": {
"transfer_orders": [],
"page": 1,
"page_size": 30,
"next_page": null,
"previous_page": null,
"total_page": 1,
"total_records": 0
}
}