item_id là services[].id trong GET /orders/{id}. Dịch vụ chưa nhập giá net trả costs rỗng.GET /tours/{tour_id}/costs.Authorization: Bearer ********************curl --location 'https://demo.tourwell.net/order-items//costs' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "OK",
"data": {
"order_item_id": 2358,
"order": {
"id": 1770,
"code": "UP1770"
},
"quotation_id": 2367,
"costs": [
{
"id": 25352,
"description": "",
"service": {
"id": 12,
"name": "Visa/Hộ chiếu"
},
"supplier": {
"id": 44,
"code": "SUP044",
"name": "Dịch vụ Visa ABC"
},
"price": 1500000,
"quantity": 1,
"period": 1,
"unit": null,
"vat": 0,
"vat_mode": "percent",
"vat_type": "",
"total_amount": 1500000,
"grand_total": 1500000,
"currency_code": "vnd",
"exchange_rate": 1,
"check_in": null,
"check_out": null,
"note": null
}
]
}
}