Skip to main content

Get Transfer Order of Order

Use this api to get a list transfer orders of a order number

Flow: Search all transfer orders of the order number, including cancel and no-sync to ax order yet

URL : /api/get-tf-of-order

Method : GET

Params : order_number

Example

/api/get-tf-of-order?order_number=12312111

Success Response

Code : 200 OK

Content example

{
"success": true,
"errors": null,
"errorCode": null,
"data": [
{
"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": 0,
"document_status": 0,
"sync_ax_status": 0,
"created_at": "2023-05-25T06:43:09.000000Z"
}
]
}

Empty Response

Code : 200 OK

Content :

{
"success": true,
"errors": null,
"errorCode": null,
"data": []
}