Product controller find list

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 /products

Query parameters

  • page number

    Trang, bắt đầu từ 1

    Minimum value is 1. Default value is 1.

  • page_size number

    Số bản ghi mỗi trang

    Minimum value is 1, maximum value is 500. Default value is 20.

  • is_active boolean

    Chỉ lấy sản phẩm đang bán

  • sort_by string

    Cột sắp xếp

    Values are name, sku, retail_price, available_quantity, created_at, or updated_at.

  • sort_order string

    Chiều sắp xếp

    Values are asc or desc.

Responses

  • 200
GET /products
curl \
 --request GET 'https://api-dealer.dilisupplement.com/api/products' \
 --header "X-Api-Key: $API_KEY"