Authorization: Bearer ********************curl --location 'https://demo.tourwell.net/api/v1/customers//orders/history' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 1525,
"code": "UP1525",
"link_erp": "http://tour.upwell.test/admin/order/1525/show",
"customer": {
"id": 2229,
"code": "KH2229",
"name": "(Quý khách) NVT-TEST-IN",
"link_erp": "http://tour.upwell.test/admin/customer/2229/show"
},
"company": {
"id": 57,
"code": "DN0057",
"name": "CTY TNHH MK-TRAVEL",
"link_erp": "http://tour.upwell.test/admin/company/57/show",
"addresses": {
"invoice": "",
"headquarter": ""
},
"tax_code": "",
"brand_name": ""
},
"creator": {
"id": 1,
"name": "Admin"
},
"source": {
"id": 28,
"name": "TikTok"
},
"sales_person": [
{
"id": 1,
"name": "Admin"
}
],
"services": [
{
"id": 2047,
"service_info": {
"id": 10,
"name": "Tour tự tổ chức",
"code": "tour"
},
"item_info": {
"name": "Tour Úc 5N4D",
"description": "Tour đoàn riêng",
"tour_info": {
"code": "TD1126",
"name": "Tour Úc 5N4D",
"departure_date": "17/05/2026",
"return_date": "19/05/2026"
}
},
"departure_date": "17/05/2026",
"return_date": "19/05/2026",
"seat_number": null,
"room_number": null,
"pickup_location": null,
"pickup_time": "",
"visa_count": null,
"passenger_note": null,
"service_code_note": null,
"financial_summary": {
"total_amount": "40,000,000",
"total_amount_cost": "1,450,000",
"total_amount_profit": "38,550,000",
"total_com_partner": 0,
"total_com_staff": 0
},
"prices": [
{
"stt": 1,
"object": {
"title": "Người lớn",
"description": "",
"note": null
},
"commission": {
"partner": 0,
"staff": 0,
"total_partner": 0,
"total_com_staff": 0
},
"unit_price": {
"original": "4,000,000",
"forex": 0
},
"quantity": 10,
"period": 1,
"unit": "Khách",
"vat": {
"value": 0,
"type": "percent",
"type_label": "Chưa gồm VAT"
},
"amount_total": {
"original": "40,000,000",
"forex": 0
},
"grand_total": {
"original": "40,000,000",
"forex": 0
},
"currency": "vnd"
}
]
}
],
"created_at": "17/05/2026 22:37",
"order_at": "17/05/2026 22:38",
"cancel_at": "",
"status": "Thành công",
"status_code": 1,
"currency": {
"foreign_currency": "vnd",
"base_currency": "vnd",
"exchange_rate": 1
},
"total_payment": {
"foreign": "40000000",
"base": 40000000
},
"total_paid": {
"foreign": "0",
"base": 0
},
"total_remaining": {
"foreign": "40000000",
"base": 40000000
},
"total_discount": {
"foreign": "0",
"base": 0
},
"payment_state": "Chưa thanh toán",
"receipt_vouchers": [
{
"id": 1107,
"code": "PT1070",
"description": "TT",
"amount": 10000000,
"payment_date": "18/05/2026 15:34",
"status": "Chưa duyệt"
}
],
"payment_vouchers": [],
"logistics": {
"pickup_locations": [],
"room_structures": []
}
},
{
"id": 1524,
"code": "UP1524",
"link_erp": "http://tour.upwell.test/admin/order/1524/show",
"customer": {
"id": 2229,
"code": "KH2229",
"name": "(Quý khách) NVT-TEST-IN",
"link_erp": "http://tour.upwell.test/admin/customer/2229/show"
},
"company": {
"id": 57,
"code": "DN0057",
"name": "CTY TNHH MK-TRAVEL",
"link_erp": "http://tour.upwell.test/admin/company/57/show",
"addresses": {
"invoice": "",
"headquarter": ""
},
"tax_code": "",
"brand_name": ""
},
"creator": {
"id": 1,
"name": "Admin"
},
"source": {
"id": 28,
"name": "TikTok"
},
"sales_person": [
{
"id": 1,
"name": "Admin"
}
],
"services": [
{
"id": 2046,
"service_info": {
"id": 8,
"name": "Vé máy bay",
"code": "flight"
},
"item_info": {
"name": "Vé máy bay Nhiều chặng",
"description": "Từ Hà Nội (HAN) đến Hồ Chí Minh (SGN)"
},
"departure_date": "17/05/2026",
"return_date": "17/05/2026",
"seat_number": null,
"room_number": null,
"pickup_location": null,
"pickup_time": "",
"visa_count": null,
"passenger_note": null,
"service_code_note": null,
"financial_summary": {
"total_amount": 0,
"total_amount_cost": 2000000,
"total_amount_profit": "500,000",
"total_com_partner": 0,
"total_com_staff": 0
},
"prices": [
{
"stt": 1,
"object": {
"title": "Người lớn",
"description": "",
"note": null
},
"commission": {
"partner": 0,
"staff": 0,
"total_partner": 0,
"total_com_staff": 0
},
"unit_price": {
"original": "2,500,000",
"forex": 0
},
"quantity": 1,
"period": 1,
"unit": "Khách",
"vat": {
"value": 0,
"type": "percent",
"type_label": "Đã gồm VAT"
},
"amount_total": {
"original": "2,500,000",
"forex": 0
},
"grand_total": {
"original": "2,500,000",
"forex": 0
},
"currency": "vnd"
}
]
}
],
"created_at": "17/05/2026 15:20",
"order_at": "",
"cancel_at": "",
"status": "Đang xử lý",
"status_code": 0,
"currency": {
"foreign_currency": "vnd",
"base_currency": "vnd",
"exchange_rate": 1
},
"total_payment": {
"foreign": "2500000",
"base": 2500000
},
"total_paid": {
"foreign": "0",
"base": 0
},
"total_remaining": {
"foreign": "2500000",
"base": 2500000
},
"total_discount": {
"foreign": "0",
"base": 0
},
"payment_state": "Chưa thanh toán",
"receipt_vouchers": [],
"payment_vouchers": [],
"logistics": {
"pickup_locations": [],
"room_structures": []
}
},
{
"id": 1523,
"code": "UP1523",
"link_erp": "http://tour.upwell.test/admin/order/1523/show",
"customer": {
"id": 2229,
"code": "KH2229",
"name": "(Quý khách) NVT-TEST-IN",
"link_erp": "http://tour.upwell.test/admin/customer/2229/show"
},
"company": {
"id": 57,
"code": "DN0057",
"name": "CTY TNHH MK-TRAVEL",
"link_erp": "http://tour.upwell.test/admin/company/57/show",
"addresses": {
"invoice": "",
"headquarter": ""
},
"tax_code": "",
"brand_name": ""
},
"creator": {
"id": 1,
"name": "Admin"
},
"source": [],
"sales_person": [
{
"id": 1,
"name": "Admin"
}
],
"services": [
{
"id": 2045,
"service_info": {
"id": 2,
"name": "Khách sạn",
"code": "hotel"
},
"item_info": {
"name": "Khách sạn tại Việt Nam",
"description": "Tên khách sạn Khách sạn 1"
},
"departure_date": "15/05/2026",
"return_date": "16/05/2026",
"seat_number": "",
"room_number": "",
"pickup_location": "",
"pickup_time": "",
"visa_count": null,
"passenger_note": "",
"service_code_note": "",
"financial_summary": {
"total_amount": 0,
"total_amount_cost": 277777.77777778,
"total_amount_profit": "-92,593",
"total_com_partner": 0,
"total_com_staff": 0
},
"prices": [
{
"stt": 1,
"object": {
"title": "Phòng 2",
"description": "",
"note": null
},
"commission": {
"partner": 0,
"staff": 0,
"total_partner": 0,
"total_com_staff": 0
},
"unit_price": {
"original": "200,000",
"forex": 0
},
"quantity": 1,
"period": 1,
"unit": "Phòng",
"vat": {
"value": 8,
"type": "percent",
"type_label": "Đã gồm VAT"
},
"amount_total": {
"original": "185,185",
"forex": 0
},
"grand_total": {
"original": "200,000",
"forex": 0
},
"currency": "vnd"
}
]
}
],
"created_at": "15/05/2026 15:38",
"order_at": "",
"cancel_at": "",
"status": "Đang xử lý",
"status_code": 0,
"currency": {
"foreign_currency": "vnd",
"base_currency": "vnd",
"exchange_rate": 1
},
"total_payment": {
"foreign": "200000",
"base": 200000
},
"total_paid": {
"foreign": "0",
"base": 0
},
"total_remaining": {
"foreign": "200000",
"base": 200000
},
"total_discount": {
"foreign": "0",
"base": 0
},
"payment_state": "Chưa thanh toán",
"receipt_vouchers": [
{
"id": 1101,
"code": "PT1069",
"description": "TT",
"amount": 100000,
"payment_date": "17/05/2026 14:45",
"status": "Chưa duyệt"
}
],
"payment_vouchers": [],
"logistics": {
"pickup_locations": [],
"room_structures": []
}
}
],
"links": {
"first": "http://tour.upwell.test/api/v1/customers/2229/orders/history?page=1",
"last": "http://tour.upwell.test/api/v1/customers/2229/orders/history?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Trước",
"active": false
},
{
"url": "http://tour.upwell.test/api/v1/customers/2229/orders/history?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Sau »",
"active": false
}
],
"path": "http://tour.upwell.test/api/v1/customers/2229/orders/history",
"per_page": 25,
"to": 3,
"total": 3
}
}