1. v1
Tourwell Open APIs
  • Tổng quan
  • Hướng dẫn xác thực
  • API Zalo Mini App (Beta)
  • API Changelog
  • Error Response
  • Khách hàng
    • v1
      • Get by id
      • Get all customer
      • Create customer
      • Update customer
      • Get order history
      • Get destinations
      • Get guests
      • Get by id care history
      • Create company
      • Get all care history
      • Get all company
  • Đơn hàng
    • v1
      • Get by id
      • Get all order
      • Get Passengers Order
      • Create order tour
      • Create order product
      • Create order hotel
      • Create order flight
      • Confirm payment order
      • Cancel order
      • Import Order Flight
      • Create cost order
      • Update cost order
      • Delete cost order
      • Transfer operator
      • Create order multiple services
      • Add services to order.
      • Change order status
      • Add Passengers Order
      • Update Passenger Order
      • Delete Passenger Order
  • Điều hành
    • v1
      • Overview
      • Create row cost
      • Update row cost
      • Delete row cost
  • Sản phẩm
    • v1
      • Create product
      • Get by id
      • Calendar pricing
      • Get all product
      • Get schedule by id
      • Update product
  • Chiết tinh giá
    • v1
  • Nhà cung cấp
    • v1
      • Get all suppliers
      • Get suppliers products
      • Get all tour guides
      • Create Supplier & Hotel
      • Create Prices Suppliers products
      • Append Prices Hotel
  • Lịch khởi hành
    • v1
      • Get all tour
        GET
      • Create tour
        POST
      • Get tour detail
        GET
      • Get tour orders
        GET
  • Lead (Cơ hội)
    • Overview
    • Update History
    • v1
      • Get all lead
      • Get by id
      • Create lead
      • Update lead
  • Báo giá
    • v1
      • Get all
      • Update schedules
      • Update policy
  • Khách sạn
    • v1
      • Get all hotel
      • Get by id
  • Kế toán
    • Phiếu thu
      • v1
        • Get all receipt
        • Create receipt
        • Update receipt
        • Confirm Receipt Success
    • Phiếu chi
      • v1
        • Get all payment
        • Confirm Payment
    • Hóa đơn bán ra
      • Update invoice
      • Issue Invoice
      • Get by id
      • Cancel invoice
    • Hóa đơn mua vào
      • Import
    • Thu hộ/Chi hộ
  • Phê duyệt
    • v1
      • Overview
      • Summary
      • Approvals
  • 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
    • Hạng thành viên
      • Get All
    • Loại dịch vụ
    • Mã sân bay
      • Get All Airport
    • Phương thức thanh toán
      • Get All
    • Nguồn bán hàng
      • Get All
    • Phễu chuyển đổi lead
      • Trạng thái lead
      • Trạng thái báo giá
  • Hướng dẫn tích hợp
    • Hướng dẫn tích hợp thanh toán trực tuyến qua Website và Tourwell
    • Hướng dẫn tích hợp thanh toán trực tuyến qua Website, Cổng thanh toán và Tourwell
  • MCP
    • Hướng dẫn kết nối
  • Schemas
    • ErrorResponse
  1. v1

Get tour detail

GET
/api/v1/tours/{id}
Xem chi tiết 1 lịch khởi hành tour, tra theo ID hoặc mã lịch (VD: TD18809). Dữ liệu trả về cùng cấu trúc với 1 phần tử của Get tours (GET /tours).
Chỉ áp dụng cho lịch tour ghép khách và đoàn riêng. Dịch vụ lẻ trả 404.
Trả mọi trạng thái, kể cả lịch đã hủy hoặc tạm hoãn. Đọc trạng thái qua status_code:
status_codeTrạng thái
0Chờ duyệt
1Mở bán
2Dừng nhận khách
3Đã hủy
4Tạm hoãn
Lịch đã bị xóa trên hệ thống vẫn trả 200, kèm ngày xóa deleted_at.
availability.total_booked tính theo số khách của các đơn Thành công.

Request

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

Request Code 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 'https://demo.tourwell.net/api/v1/tours/TD233' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Thành công
application/json
Bodyapplication/json

Examples
{
    "data": {
        "id": 233,
        "code": "TD233",
        "name": "Tour Hà Giang 5N (Có chiết khấu) ghép 04/01",
        "departure_date": "04/01/2024",
        "return_date": "08/01/2024",
        "status": "Đã hủy",
        "status_code": 3,
        "type": "Tour ghép khách",
        "availability": {
            "total_seat": 16,
            "total_booked": 0,
            "total_available": 16
        },
        "price_rules": [
            {
                "rule_id": 1,
                "rule_name": "Người lớn",
                "price": "2,780,000",
                "agent_discounts": [
                    {
                        "agent_level_id": 1,
                        "agent_level_name": "Cấp 1",
                        "discount_type": "specific_amount",
                        "discount_value": 500000,
                        "formatted_value": "500,000VND"
                    }
                ],
                "staff_commissions": []
            },
            {
                "rule_id": 2,
                "rule_name": "Trẻ em (6-11 tuổi)",
                "price": "2,500,000",
                "agent_discounts": [],
                "staff_commissions": []
            }
        ],
        "agent_levels": [],
        "product": {
            "id": 100,
            "code": null,
            "name": "Campuchia",
            "slug": "campuchia",
            "url": null,
            "active": 1,
            "hot": 0,
            "star": 3,
            "avatar": "/img/no-image.jpg",
            "price_old": "0",
            "price_new": "2,880,000",
            "discount": {
                "amount": 0,
                "unit": "%"
            },
            "market": "Nội địa",
            "type": null,
            "duration": "5 Ngày 4 Đêm",
            "trip_title": "Việt Nam",
            "weekly_depart": null,
            "created_at": "2023-12-20 10:15:00",
            "updated_at": "2025-11-12 15:18:20"
        },
        "created_at": "2023-12-28 09:12:40",
        "created_at_iso": "2023-12-28T09:12:40+07:00",
        "updated_at": "2024-01-02 16:40:29",
        "updated_at_iso": "2024-01-02T16:40:29+07:00",
        "deleted_at": null,
        "deleted_at_iso": null
    }
}
🟠401Chưa xác thực
🟠404Không tìm thấy
🟠429Quá giới hạn
Modified at 2026-11-11 02:51:21
Previous
Create tour
Next
Get tour orders
Built with