Authorization: Bearer ********************curl --location --request GET 'https://demo.tourwell.net/api/v1/orders/' \
--header 'Authorization: Bearer <token>'{
"data": {
"id": 1074,
"code": "UP2074",
"link_erp": "http://tour.upwell.test/admin/order/1074/show",
"customer": {
"id": 2147,
"code": "KH2147",
"name": "(Chị) Thân Thị Cẩm Lệ",
"link_erp": "http://tour.upwell.test/admin/customer/2147/show"
},
"company": [],
"creator": {
"id": 1,
"name": "Admin"
},
"source": {
"id": 1,
"name": "Nguồn 1"
},
"sales_person": [
{
"id": 1,
"name": "Admin"
}
],
"services": [
{
"id": 1481,
"service_info": {
"id": 15,
"name": "Tour đoàn riêng",
"code": "private_tour"
},
"item_info": {
"name": "Tour Hà Giang - 2 Gói",
"description": "Tour đoàn riêng",
"tour_info": {
"code": "TD744",
"name": "Tour Hà Giang - 2 Gói",
"departure_date": "28/05/2025",
"return_date": "30/05/2025"
}
},
"departure_date": "28/05/2025",
"return_date": "30/05/2025",
"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": 0,
"total_amount_profit": 0,
"total_com_partner": 500000,
"total_com_staff": 600000
},
"prices": [
{
"stt": 1,
"object": {
"title": "Người lớn",
"description": "",
"note": null
},
"commission": {
"partner": 20000,
"staff": 0,
"total_partner": 100000,
"total_com_staff": 0
},
"unit_price": {
"original": "2,000,000",
"forex": 0
},
"quantity": 5,
"period": 1,
"unit": null,
"vat": {
"value": 0,
"type": "percent",
"type_label": "Chưa gồm VAT"
},
"amount_total": {
"original": "10,000,000",
"forex": 0
},
"grand_total": {
"original": "10,000,000",
"forex": 0
},
"currency": "vnd"
},
{
"stt": 2,
"object": {
"title": "Mũ",
"description": "Mũ",
"note": null
},
"commission": {
"partner": 0,
"staff": 0,
"total_partner": 0,
"total_com_staff": 0
},
"unit_price": {
"original": "150,000",
"forex": 0
},
"quantity": 1,
"period": 1,
"unit": null,
"vat": {
"value": 0,
"type": "percent",
"type_label": "Chưa gồm VAT"
},
"amount_total": {
"original": "150,000",
"forex": 0
},
"grand_total": {
"original": "150,000",
"forex": 0
},
"currency": "vnd"
},
{
"stt": 3,
"object": {
"title": "Lặn",
"description": "Lặn",
"note": null
},
"commission": {
"partner": 0,
"staff": 0,
"total_partner": 0,
"total_com_staff": 0
},
"unit_price": {
"original": "100,000",
"forex": 0
},
"quantity": 1,
"period": 1,
"unit": null,
"vat": {
"value": 0,
"type": "percent",
"type_label": "Chưa gồm VAT"
},
"amount_total": {
"original": "100,000",
"forex": 0
},
"grand_total": {
"original": "100,000",
"forex": 0
},
"currency": "vnd"
},
{
"stt": 4,
"object": {
"title": "Ăn trưa",
"description": "Ăn trưa",
"note": null
},
"commission": {
"partner": 0,
"staff": 0,
"total_partner": 0,
"total_com_staff": 0
},
"unit_price": {
"original": "50,000",
"forex": 0
},
"quantity": 1,
"period": 1,
"unit": null,
"vat": {
"value": 0,
"type": "percent",
"type_label": "Chưa gồm VAT"
},
"amount_total": {
"original": "50,000",
"forex": 0
},
"grand_total": {
"original": "50,000",
"forex": 0
},
"currency": "vnd"
}
]
}
],
"created_at": "28/05/2025 20:20",
"order_at": "28/05/2025 23:15",
"cancel_at": "",
"status": "Thành công",
"status_code": 1,
"currency": {
"foreign_currency": "vnd",
"base_currency": "vnd",
"exchange_rate": 1
},
"total_payment": {
"foreign": "9800000",
"base": 9800000
},
"total_paid": {
"foreign": "0",
"base": 0
},
"total_remaining": {
"foreign": "9800000",
"base": 9800000
},
"total_discount": {
"foreign": "500000",
"base": 500000
},
"payment_state": "Chưa thanh toán"
}
}