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
      • Get cost order
      • 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
    • Phiếu đặt dịch vụ NCC
      • Get all
      • Get by id
  • 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
      • 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
        • Get by id
    • Hóa đơn bán ra
      • Update invoice
      • Issue Invoice
      • Get by id
      • Cancel invoice
      • Get all invoice
    • Hóa đơn mua vào
      • Import
      • Get all
    • 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
  • 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
    • Kết nối Claude với TourWell (dành cho nhân viên)
    • Kết nối Claude với TourWell (dành cho quản trị viên)
  • Schemas
    • ErrorResponse
  1. v1

Create Prices Suppliers products

POST
/api/v1/suppliers/products
API: Tạo Sản Phẩm / Dịch Vụ Nhà Cung Cấp
API cho phép tạo mới bảng giá sản phẩm, dịch vụ của một nhà cung cấp cụ thể.

Request

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

Example
{
    "supplier_id": 238,
    "name": "Vé Cáp Treo Fansipan (Khứ Hồi)",
    "group_name": "Dịch Vụ Cáp Treo",
    "type_of_service_id": 6,
    "description": "Vé khứ hồi tham quan đỉnh Fansipan bằng cáp treo, áp dụng cho người lớn.",
    "date_range": "01/01/2026 - 31/12/2026",
    "price_in": 750000,
    "vat_type": "inc-vat",
    "status": 1
}

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/products' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "supplier_id": 238,
    "name": "Vé Cáp Treo Fansipan (Khứ Hồi)",
    "group_name": "Dịch Vụ Cáp Treo",
    "type_of_service_id": 6,
    "description": "Vé khứ hồi tham quan đỉnh Fansipan bằng cáp treo, áp dụng cho người lớn.",
    "date_range": "01/01/2026 - 31/12/2026",
    "price_in": 750000,
    "vat_type": "inc-vat",
    "status": 1
}'

Responses

🟢201
application/json
Bodyapplication/json

Example
{
    "success": true,
    "message": "string",
    "data": {
        "id": 0,
        "name": "string",
        "code": "string",
        "item_type": "string",
        "type_of_service": {
            "id": 0,
            "name": "string",
            "slug": "string"
        },
        "price_in": 0,
        "price_out": 0,
        "vat_type": "string",
        "description": "string",
        "status": 0,
        "created_at": "string",
        "updated_at": "string",
        "date_range": "string",
        "group_name": "string",
        "parent_id": 0
    }
}
Modified at 2026-06-06 09:24:26
Previous
Create Supplier & Hotel
Next
Append Prices Hotel
Built with