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
  • Đơ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
  • Đ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
      • Get suppliers products
        GET
      • Get all tour guides
        GET
      • Create Supplier & Hotel
        POST
      • Create Prices Suppliers products
        POST
      • Append Prices Hotel
        POST
  • Lịch khởi hành
    • v1
      • Get all tour
      • Create tour
  • 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
  • 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
  1. v1

Append Prices Hotel

POST
/api/v1/suppliers/{id}/append-prices
API này được sử dụng để khởi tạo mới hoặc cập nhật thông tin Giai đoạn mùa vụ (Seasons), Hạng phòng (Rooms) và Bảng giá chi tiết (Season Prices) cho một Nhà cung cấp đã tồn tại trên hệ thống.

Request

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

Body Params application/jsonRequired

Example
{
    "seasons": [
        {
            "name": "Mùa Lễ 30/4 Năm 2026",
            "description": "Giá phụ thu áp dụng riêng cho dịp lễ Giải phóng miền Nam. Yêu cầu đặt cọc 100%.",
            "booking_start_at": "01/01/2026",
            "booking_end_at": "30/04/2026",
            "use_start_at": "28/04/2026",
            "use_end_at": "02/05/2026",
            "use_date_except": ""
        },
        {
            "name": "Mùa Hè Sinh Viên 2026",
            "description": "Chương trình ưu đãi sâu dành riêng cho khối trường học, đoàn đội.",
            "booking_start_at": "01/05/2026",
            "booking_end_at": "31/08/2026",
            "use_start_at": "01/06/2026",
            "use_end_at": "31/08/2026",
            "use_date_except": "02/09/2026"
        }
    ],
    "rooms": [
        {
            "name": "Phòng President Suite (Mới cập nhật)",
            "total_room": 2,
            "max_adult": 4,
            "max_children": 2,
            "metre_square": 250,
            "is_breakfast": 1,
            "season_prices": [
                {
                    "season_name": "Mùa Lễ 30/4 Năm 2026",
                    "service_name": "Giá Lễ Độc Lập",
                    "price_in": 25000000,
                    "price_out": 30000000,
                    "allotment": 1,
                    "policy": "Tặng kèm 1 chai Vang Pháp và Set Menu ăn tối",
                    "day_off_week": "1,2,3,4,5,6,0"
                },
                {
                    "season_name": "Mùa Hè Sinh Viên 2026",
                    "service_name": "Giá Kích Cầu Hè",
                    "price_in": 15000000,
                    "price_out": 18000000,
                    "allotment": 2,
                    "policy": "Tặng xe đưa đón sân bay 2 chiều",
                    "day_off_week": "1,2,3,4,5"
                }
            ]
        }
    ]
}

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/suppliers//append-prices' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "seasons": [
        {
            "name": "Mùa Lễ 30/4 Năm 2026",
            "description": "Giá phụ thu áp dụng riêng cho dịp lễ Giải phóng miền Nam. Yêu cầu đặt cọc 100%.",
            "booking_start_at": "01/01/2026",
            "booking_end_at": "30/04/2026",
            "use_start_at": "28/04/2026",
            "use_end_at": "02/05/2026",
            "use_date_except": ""
        },
        {
            "name": "Mùa Hè Sinh Viên 2026",
            "description": "Chương trình ưu đãi sâu dành riêng cho khối trường học, đoàn đội.",
            "booking_start_at": "01/05/2026",
            "booking_end_at": "31/08/2026",
            "use_start_at": "01/06/2026",
            "use_end_at": "31/08/2026",
            "use_date_except": "02/09/2026"
        }
    ],
    "rooms": [
        {
            "name": "Phòng President Suite (Mới cập nhật)",
            "total_room": 2,
            "max_adult": 4,
            "max_children": 2,
            "metre_square": 250,
            "is_breakfast": 1,
            "season_prices": [
                {
                    "season_name": "Mùa Lễ 30/4 Năm 2026",
                    "service_name": "Giá Lễ Độc Lập",
                    "price_in": 25000000,
                    "price_out": 30000000,
                    "allotment": 1,
                    "policy": "Tặng kèm 1 chai Vang Pháp và Set Menu ăn tối",
                    "day_off_week": "1,2,3,4,5,6,0"
                },
                {
                    "season_name": "Mùa Hè Sinh Viên 2026",
                    "service_name": "Giá Kích Cầu Hè",
                    "price_in": 15000000,
                    "price_out": 18000000,
                    "allotment": 2,
                    "policy": "Tặng xe đưa đón sân bay 2 chiều",
                    "day_off_week": "1,2,3,4,5"
                }
            ]
        }
    ]
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{}
Modified at 2026-06-06 09:22:03
Previous
Create Prices Suppliers products
Next
Get all tour
Built with