Search customers by phone (prefix)

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://tailieu-api.dilisupplement.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "API Đại Lý MCP server": {
    "url": "https://tailieu-api.dilisupplement.com/mcp"
  }
}

Close
GET /customers/search

Autocomplete for dealer app order form. Returns up to 10 matches ordered by most-recent order. Empty when phone < 3 chars.

Query parameters

  • phone string

    Phone prefix (≥3 chars)

Responses

  • 200

    Array of dealer-scoped customer matches

GET /customers/search
curl \
 --request GET 'https://api-dealer.dilisupplement.com/api/customers/search'