Gofive OpenAPI
empeoVenio
eTaxGo
empeoVenio
eTaxGo
  1. Customer
  • Introduction
  • Activity
    • Activities Enquiry
      POST
    • Get a Activity By Id
      GET
    • Get a Activity By No
      GET
    • Get Key Activities
      GET
    • Create or Update Activity
      POST
  • Authentication API
    • Authorization
      POST
  • Customer
    • Create or Update customer
      POST
    • Customers Enquiry
      POST
    • Get a Customer By CustomerId
      GET
    • Get a Customer By CustomerCode
      GET
    • Get a Customer By CustomerName
      GET
    • Create Customer Satisfaction
      POST
    • Add Customer Event
      POST
    • Get Customer Events by Customer Code
      GET
    • Edit Customer Event
      PUT
    • Delete Customer Event
      DELETE
    • Get Customer Event Types
      GET
    • Get file categories
      GET
    • Attach files category
      POST
    • Customer Search
      POST
    • Customer Exist Check
      POST
    • Get Customer By TaxID
      GET
  • Case
    • Add Case
      POST
    • Edit Case by CaseNo
      PUT
    • Get Case by CaseNo
      GET
    • Get Case Categories
      GET
  • Contract
    • Get Contract By No
    • Get Contract Types
    • Get Contract Templates
    • Create or Update Contract
    • Create or Update Contract Service Agreement
    • Send Contract Document
  • Conversation
    • Conversation Enquiry
  • Expense
    • Create Expense
    • Update Expense
    • Expense Enquiry
    • Get a Expense
  • Deal
    • Create Deal
    • Update Deal
    • Deal Enquiry
    • Get Deal
    • Get Deal Board
    • Get Deal Stage
    • Get Deal Interest
    • Get DealLabel
    • Get Deal Missed Reason Categories
  • Employee
    • Employees Enquiry
    • Get a Employee
  • Product
    • Create Or Update Products
    • Get a Product Ticket
    • Get Products With Take & Status
    • Get a Product by ProductCode
    • Get Product Groups
    • Get Product Properties
    • Get Products By Filter
    • Verify Serial Number
    • Check Serial Verification Status
    • Create or Update Codeguard Products
    • Update Product Stock
    • Get Units
  • Quotation
    • Create Update Quotation
    • Convert Quotation To SalesOrder
    • Quotation Enquiry
    • Get a Quotation By QuotationNo
    • Cancel Quotation
    • Get Pdf By QuotationNo
  • SalesOrder
    • Create Or Update SalesOrder
    • Get a SalesOrder By Id
    • Get a SalesOrder By No
    • Get Sale Order Attachment by Id
    • Get Sale Order Attachment By No
    • Reject SaleOrder
    • Approve Sale Order
    • Update SalesOrder Payment
    • Get Pdf By SalesOrderNo
    • Update SalesOrder Tracking Number
  • Webhooks
    • Webhook Payload
  • Task
    • Task Enquiry
    • CreateTask
  • Setting
    • Get HeaderTemplate
  • Chat
    • Post Send message
  • Storage
    • Upload files attachments
    • Get file attachments
    • Delete file attachments
empeoVenio
eTaxGo
empeoVenio
eTaxGo
  1. Customer

Customer Search

Developing
POST
https://api.gofive.co.th
ใช้สำหรับ “ค้นหาลูกค้า” แบบเดียวกับ Search textbox
รองรับการพิมพ์คำบางส่วน (partial) / ไม่ต้อง exact match
ค้นข้ามประเภทได้ในครั้งเดียว (Lead/Prospect/Customer) ไม่ต้องยิงหลายรอบ
คืนผลเป็น รายการ เพื่อให้ผู้ใช้ “เลือก” แล้วค่อยไป Get detail ใน step ถัดไป (ถ้าจำเป็น)

Request

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

Example
{
    "search": "test",
    "searchIn": [
        "customerCode",
        "customerName",
        "customerTaxNo"
    ],
    "skip": 20,
    "take": 20
}

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 POST 'https://api.gofive.co.th' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "search": "test",
    "searchIn": [
        "customerCode",
        "customerName",
        "customerTaxNo"
    ],
    "skip": 20,
    "take": 20
}'

Responses

🟢200Success
application/json
Body

Example
{
    "status": {
        "code": "200",
        "description": "success"
    },
    "data": {
        "customerId": 12345,
        "customerName": "Roy Franecki, DVM",
        "customerCode": "CORP-31",
        "customerState": 1,
        "customerType": 102,
        "customerStatus": 1,
        "leadStatus": 5,
        "customerPicture": "https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?w=400&h=400&fit=crop",
        "customer2ndName": "Paw Health Veterinary Center",
        "customerAliases": [
            "PH Veterinary",
            "Roy's Clinic"
        ],
        "customerTaxNo": "0105564000123",
        "customerPhone": "02-123-4567",
        "customerMobile": "081-926-8635",
        "customerEmail": "[email protected]",
        "customerSocialAccount": {
            "facebook": "fb.com/pawhealth_clinic"
        },
        "customerTags": [
            "VIP",
            "Medical-Supplier"
        ],
        "addresses": {
            "addressId": 90,
            "branchCode": "HQ-01",
            "locationName": "Headquarters",
            "locationAddress": "1405 Ashly Fort Street",
            "secondaryAddress": "Suite 278",
            "locationType": 1,
            "latitude": "13.7563",
            "longitude": "100.5018",
            "subdistrict": "Pathum Wan",
            "subdistrictEN": "Pathum Wan",
            "district": "Bangkok",
            "districtEN": "Bangkok",
            "province": "กรุงเทพมหานคร",
            "provinceEN": "Bangkok",
            "zipCode": "10330"
        },
        "sourceName": "Referral by Dr. Brian",
        "customerGroupName": "Premium Partners",
        "interestsName": [
            "Animal Vaccines",
            "Surgical Equipment",
            "Dietary Supplements"
        ],
        "classificationName": "Gold Tier",
        "customFields": [
            "Active Maintenance Contract"
        ],
        "contacts": [
            {
                "contactName": "Brandi Beatty",
                "contactPicture": "https://i.pravatar.cc/400?img=32",
                "contactPhone": "02-123-4568",
                "contactMobile": "065-927-1579",
                "contactEmail": "[email protected]",
                "contactSocialAccount": {
                    "facebook": "brandi.beatty.official"
                },
                "contactPosition": "Operations Manager",
                "contactBirthdate": "1990-06-19",
                "contactNote": "ตัดสินใจเรื่องการสั่งซื้ออุปกรณ์ทั่วไป",
                "contactStatus": true,
                "tags": [
                    "Main-Contact",
                    "Purchasing"
                ]
            },
            {
                "contactName": "Dr. Julian Pouros",
                "contactPicture": "https://i.pravatar.cc/400?img=12",
                "contactPhone": "02-123-4569",
                "contactMobile": "089-908-0628",
                "contactEmail": "[email protected]",
                "contactSocialAccount": {
                    "facebook": "julian.vet.med"
                },
                "contactPosition": "Chief Veterinary Surgeon",
                "contactBirthdate": "1985-03-02",
                "contactNote": "ติดต่อเฉพาะเรื่องเคสผ่าตัดและเครื่องมือแพทย์เฉพาะทาง",
                "contactStatus": true,
                "tags": [
                    "Decision-Maker",
                    "Specialist"
                ]
            }
        ],
        "customerNote": "ลูกค้าพรีเมียม ตอบรับเร็ว สนใจเทคโนโลยีใหม่ๆ เสมอ",
        "owners": [
            "John Doe (Sales)",
            "Sarah Connor (Account Manager)"
        ],
        "primaryOwner": "John Doe (Sales)"
    }
}
🟠401User authentication required V2.
Modified at 2026-02-16 10:03:53
Previous
Attach files category
Next
Customer Exist Check
Built with