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
  • Đơ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
  • 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
      • Overview
  • Nhà cung cấp
    • v1
      • Get & Search suppliers
      • Get suppliers products
  • 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
      • Update schedules
        PUT
      • Update policy
        PUT
  • 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
      • Update invoice
      • Issue Invoice
      • Get by id
      • Cancel invoice
  • 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
    • Loại dịch vụ
    • Mã sân bay
      • Get All Airport
  • 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

Update schedules

PUT
/api/v1/leads/quotes/{id}/schedules
Cập nhật lịch trình cho báo giá

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
{
  "schedules": [
    {
      "title": "Ngày 1: Hà Nội - Đà Nẵng",
      "content": "Sáng bay chuyến bay VJ123. Tới nơi nhận phòng nghỉ ngơi...",
      "locations": [
        {
          "name": "Khách sạn Mường Thanh",
          "address": "Sơn Trà, Đà Nẵng",
          "content": "Ghi chú thêm về địa điểm (nếu có)"
        }
      ]
    },
    {
      "title": "Ngày 2: Tự do tham quan",
      "content": "Quý khách tự do tắm biển hoặc sử dụng dịch vụ tại khách sạn.",
      "locations": []
    }
  ]
}

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 --request PUT 'https://demo.tourwell.net/api/v1/leads/quotes//schedules' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
  "schedules": [
    {
      "title": "Ngày 1: Hà Nội - Đà Nẵng",
      "content": "Sáng bay chuyến bay VJ123. Tới nơi nhận phòng nghỉ ngơi...",
      "locations": [
        {
          "name": "Khách sạn Mường Thanh",
          "address": "Sơn Trà, Đà Nẵng",
          "content": "Ghi chú thêm về địa điểm (nếu có)"
        }
      ]
    },
    {
      "title": "Ngày 2: Tự do tham quan",
      "content": "Quý khách tự do tắm biển hoặc sử dụng dịch vụ tại khách sạn.",
      "locations": []
    }
  ]
}'

Responses

🟢200
application/json
Bodyapplication/json

Example
{
    "success": true,
    "message": "Lead Quote schedules updated successfully"
}
Modified at 2026-05-19 00:29:52
Previous
Update lead
Next
Update policy
Built with