1. Lý do hủy
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
      • Get row cost
      • 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
      • Create tour
      • Get tour detail
      • Get tour orders
  • 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
        • Cancel 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ụ
      • Get All
    • 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á
    • Chi nhánh
      • Get all branch offices
    • Lý do hủy
      • Get all cancel reasons
        GET
  • 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
    • Kết nối hệ thống báo giá, chốt đơn nội bộ với Tourwell
    • Hướng dẫn đẩy lead và đơn hàng về Tourwell
  • MCP
    • Hướng dẫn kết nối
  • Schemas
    • ErrorResponse
  1. Lý do hủy

Get all cancel reasons

GET
/cancel-reasons
Danh sách lý do hủy đơn hàng, sắp xếp theo ID.
Dùng id cho trường reason_id khi gọi Cancel order (POST /orders/{id}/cancel).
Mặc định chỉ trả lý do đang sử dụng, giống danh sách lý do khi hủy đơn trên màn quản trị.
status=all → trả tất cả, kể cả lý do đã ngừng dùng (để đối chiếu đơn cũ).
Danh mục do doanh nghiệp tự cấu hình, id khác nhau giữa các hệ thống. Không gán cứng id trong code tích hợp.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query 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/cancel-reasons?status=all' \
--header 'Authorization: Bearer <token>'

Responses

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

Example
{
    "success": true,
    "message": "Successfully",
    "data": [
        {
            "id": 11,
            "name": "Giá cao",
            "description": "",
            "status": 1,
            "updated_at": "2024-08-13 22:07:39"
        },
        {
            "id": 12,
            "name": "Không có dịch vụ phù hợp",
            "description": "",
            "status": 1,
            "updated_at": "2023-05-24 19:32:55"
        }
    ]
}
🟠401Chưa xác thực
Modified at 2026-11-17 02:17:17
Previous
Get all branch offices
Next
Hướng dẫn tích hợp thanh toán trực tuyến qua Website và Tourwell
Built with