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
      • Get all customer
        GET
      • Create customer
        POST
      • Update customer
        PUT
      • Get order history
        GET
      • Get destinations
        GET
      • Get guests
        GET
      • Get care history
        GET
      • Create company
        POST
  • Đơ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 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
  • Lead (Cơ hội)
    • Overview
    • Update History
    • v1
      • Get all lead
      • Get by id
      • Create lead
      • Update lead
  • Báo giá
    • v1
      • 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
    • 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

Create company

POST
/api/v1/companies

Request

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

Example
{
  "sub_group": "enterprise",
  "name": "Công ty Cổ phần Đầu tư và Phát triển Công nghệ Tiên Phong",
  "brand_name": "Tiên Phong Tech",
  "tax_code": "0108877665",
  "custom_code": "TP-TECH-001",
  "address": "Tầng 10 Tòa nhà Keangnam, Phạm Hùng, Nam Từ Liêm, Hà Nội",
  "address_transaction": "Số 2 Tôn Thất Thuyết, Cầu Giấy, Hà Nội",
  "phone": "02431234567",
  "email": "contact@tienphongtech.vn",
  "website": "https://tienphongtech.vn",
  "founded_at": "20/10/2018",
  "staff_size": 250,
  "business": "Công nghệ thông tin / Chuyển đổi số",
  "country_id": 237,
  "signatory": "Lê Quang Hải",
  "signing_authority": "Tổng Giám đốc",
  "signatory_phone": "0988112233",
  "signatory_email": "hai.le@tienphongtech.vn",
  "credit_limit": "500,000,000",
  "apply_debt": 1,
  "description": "Đối tác chiến lược cung cấp hạ tầng máy chủ.",
  "creator_email": "admin@upwell.vn",
  "sales_email": "sale_b2b_01@upwell.vn",
  "last_follower_id": 0
}

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/companies' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "sub_group": "enterprise",
  "name": "Công ty Cổ phần Đầu tư và Phát triển Công nghệ Tiên Phong",
  "brand_name": "Tiên Phong Tech",
  "tax_code": "0108877665",
  "custom_code": "TP-TECH-001",
  "address": "Tầng 10 Tòa nhà Keangnam, Phạm Hùng, Nam Từ Liêm, Hà Nội",
  "address_transaction": "Số 2 Tôn Thất Thuyết, Cầu Giấy, Hà Nội",
  "phone": "02431234567",
  "email": "contact@tienphongtech.vn",
  "website": "https://tienphongtech.vn",
  "founded_at": "20/10/2018",
  "staff_size": 250,
  "business": "Công nghệ thông tin / Chuyển đổi số",
  "country_id": 237,
  "signatory": "Lê Quang Hải",
  "signing_authority": "Tổng Giám đốc",
  "signatory_phone": "0988112233",
  "signatory_email": "hai.le@tienphongtech.vn",
  "credit_limit": "500,000,000",
  "apply_debt": 1,
  "description": "Đối tác chiến lược cung cấp hạ tầng máy chủ.",
  "creator_email": "admin@upwell.vn",
  "sales_email": "sale_b2b_01@upwell.vn",
  "last_follower_id": 0
}'

Responses

🟢201
application/json
Bodyapplication/json

Example
{
    "success": true,
    "message": "Doanh nghiệp tạo thành công",
    "data": {
        "id": 58,
        "name": "Công ty Cổ phần Đầu tư và Phát triển Công nghệ Tiên Phong",
        "tax_code": "0108877665",
        "link_erp": "http://tour.upwell.test/admin/company/58/show"
    }
}
Modified at 2026-06-08 15:11:51
Previous
Get care history
Next
Get by id
Built with