Tourwell Open APIs
  1. v1
Tourwell Open APIs
  • Tổng quan
  • Hướng dẫn xác thực
  • API Beta 1.0
  • API Zalo Mini App (Beta)
  • Khách hàng
    • v1
      • Get by id
      • Get all customer
      • Create customer
      • Update customer
      • Get order history
  • Đơn hàng
    • v1
      • Get by id
      • Get all order
      • Create order tour
      • Create order product
      • Create order hotel
      • Confirm payment order
  • Sản phẩm
    • v1
      • Create product
      • Get by id
      • Calendar pricing
  • Lịch khởi hành
  • Lead (Cơ hội)
    • v1
      • Get all lead
      • Get by id
      • Create lead
      • Update lead
  • Khách sạn
    • v1
      • Get all hotel
        GET
      • Get by id
        GET
  • Kế toán
    • Phiếu thu
      • v1
        • Get all receipt
    • Phiếu chi
      • v1
        • Get all payment
        • Confirm Payment
    • Hóa đơn
      • Update invoice
      • Issue Invoice
      • Get by id
      • Cancel invoice
  • Cấu hình
    • Zalo ZNS
      • Danh sách Tag
      • Get token
    • Địa điểm
      • Search
    • Nhân sự nội bộ
      • Search
    • Webhook
      • Hướng dẫn cài đặt
    • Trạng thái khách hàng
      • Get All
    • Loại dịch vụ
  1. v1

Get by id

GET
/api/v1/hotels/{id}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
integer 
required
Example:
210

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://demo.tourwell.net/api/v1/hotels/210'

Responses

🟢200OK
application/json
Body
data
object 
required
id
integer 
required
name
string 
required
Tên khách sạn
star
integer 
required
Hạng sao
address
string 
required
Địa chỉ
destination
string 
required
Địa điểm
accommodation
string 
required
rooms
array [object {7}] 
required
Danh sách hạng phòng
policies
object 
required
Chính sách khách sạn
season_prices
array[string]
required
created_at
string 
required
updated_at
string 
required
Example
{"data":{"id":210,"name":"Golden Sun hotel Đà Nẵng","star":0,"address":"97 Võ Văn Kiệt, Phước Mỹ, Sơn Trà, Đà Nẵng","destination":"Đà Nẵng","accommodation":"","rooms":[{"id":108,"name":"Phòng 2 người","metre_square":30,"capacity":{"max_adult":2,"max_children":1},"policies":{"breakfast":"yes","refund":"yes"},"room_bed":{"id":0,"name":""},"season_prices":[{"season_detail":{"id":19,"name":"Cao điểm 2025","description":null,"booking_time":"01/05/2025 - 31/05/2025","use_time":"01/05/2025 - 31/05/2025","use_date_except":""},"price_net":500000,"price_out":590000,"day_off_week":"Tất cả (T2 - CN)"},{"season_detail":{"id":26,"name":"T6 2025","description":null,"booking_time":"01/06/2025 - 30/06/2025","use_time":"01/06/2025 - 30/06/2025","use_date_except":""},"price_net":800000,"price_out":90000,"day_off_week":"Tất cả (T2 - CN)"},{"season_detail":{"id":27,"name":"Hợp đồng tháng 4,5","description":"Inbound","booking_time":"20/04/2025 - 31/05/2025","use_time":"01/05/2025 - 31/05/2025","use_date_except":""},"price_net":1500000,"price_out":1700000,"day_off_week":"Tất cả (T2 - CN)"},{"season_detail":{"id":28,"name":"Promotion","description":"nội địa","booking_time":"21/04/2025 - 31/05/2025","use_time":"21/04/2025 - 15/05/2025","use_date_except":""},"price_net":2300000,"price_out":2500000,"day_off_week":"Tất cả (T2 - CN)"}]},{"id":109,"name":"Phòng 3 người","metre_square":30,"capacity":{"max_adult":2,"max_children":1},"policies":{"breakfast":"yes","refund":"yes"},"room_bed":{"id":0,"name":""},"season_prices":[{"season_detail":{"id":19,"name":"Cao điểm 2025","description":null,"booking_time":"01/05/2025 - 31/05/2025","use_time":"01/05/2025 - 31/05/2025","use_date_except":""},"price_net":650000,"price_out":740000,"day_off_week":"Tất cả (T2 - CN)"},{"season_detail":{"id":26,"name":"T6 2025","description":null,"booking_time":"01/06/2025 - 30/06/2025","use_time":"01/06/2025 - 30/06/2025","use_date_except":""},"price_net":600000,"price_out":700000,"day_off_week":"Tất cả (T2 - CN)"},{"season_detail":{"id":27,"name":"Hợp đồng tháng 4,5","description":"Inbound","booking_time":"20/04/2025 - 31/05/2025","use_time":"01/05/2025 - 31/05/2025","use_date_except":""},"price_net":1200000,"price_out":1500000,"day_off_week":"Tất cả (T2 - CN)"},{"season_detail":{"id":28,"name":"Promotion","description":"nội địa","booking_time":"21/04/2025 - 31/05/2025","use_time":"21/04/2025 - 15/05/2025","use_date_except":""},"price_net":2000000,"price_out":2200000,"day_off_week":"Tất cả (T2 - CN)"}]},{"id":110,"name":"Phòng 4 người","metre_square":50,"capacity":{"max_adult":2,"max_children":1},"policies":{"breakfast":"yes","refund":"yes"},"room_bed":{"id":0,"name":""},"season_prices":[{"season_detail":{"id":19,"name":"Cao điểm 2025","description":null,"booking_time":"01/05/2025 - 31/05/2025","use_time":"01/05/2025 - 31/05/2025","use_date_except":""},"price_net":800000,"price_out":900000,"day_off_week":"Tất cả (T2 - CN)"},{"season_detail":{"id":26,"name":"T6 2025","description":null,"booking_time":"01/06/2025 - 30/06/2025","use_time":"01/06/2025 - 30/06/2025","use_date_except":""},"price_net":500000,"price_out":600000,"day_off_week":"Tất cả (T2 - CN)"},{"season_detail":{"id":27,"name":"Hợp đồng tháng 4,5","description":"Inbound","booking_time":"20/04/2025 - 31/05/2025","use_time":"01/05/2025 - 31/05/2025","use_date_except":""},"price_net":1000000,"price_out":2000000,"day_off_week":"Tất cả (T2 - CN)"},{"season_detail":{"id":28,"name":"Promotion","description":"nội địa","booking_time":"21/04/2025 - 31/05/2025","use_time":"21/04/2025 - 15/05/2025","use_date_except":""},"price_net":1900000,"price_out":2000000,"day_off_week":"Tất cả (T2 - CN)"}]}],"policies":{"included":null,"not_included":null,"change_policy":null,"surcharge_policy":null,"special_note":null},"season_prices":[],"created_at":"2025-02-17 22:52:08","updated_at":"2025-02-17 22:52:08"}}
Modified at 2025-06-07 02:55:04
Previous
Get all hotel
Next
Get all receipt
Built with