---
title: "GET /api/CustomerQuery/find/{customerPhone}"
method: GET
path: "/api/CustomerQuery/find/{customerPhone}"
tags: ["CustomerQuery"]
---

# GET /api/CustomerQuery/find/{customerPhone}

`GET /api/CustomerQuery/find/{customerPhone}`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/api/CustomerQuery/find/{customerPhone}`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Path parameters

- `customerPhone` string, required

## Response `200`

Success

- KhaasFoodCustomersDTOsCustomersCustomerDto
  - `id` string, uuid
  - `creationTime` string, date-time
  - `creatorId` string, uuid, nullable
  - `lastModificationTime` string, date-time, nullable
  - `lastModifierId` string, uuid, nullable
  - `otherAmount` number, double
  - `totalDiscount` number, double
  - `productAmount` number, double
  - `totalPaid` number, double
  - `totalDue` number, double
  - `ordersCount` integer
  - `totalAmount` number, double
  - `membershipCardNo` string, nullable
  - `name` string, nullable
  - `occupation` string, nullable
  - `university` string, nullable
  - `company` string, nullable
  - `district` string, nullable
  - `phone` string, nullable
  - `email` string, nullable
  - `nationalId` string, nullable
  - `imageUrl` string, nullable
  - `point` integer
  - `remarks` string, nullable
  - `isActive` boolean
  - `isRestrictRedeem` boolean
  - `isOverMaxOrderLimitPerMonth` boolean
  - `maxOrderLimitPerMonth` integer, nullable
  - `addresses` KhaasFoodAddressesDTOsAddressDto[], nullable
    - `id` string, uuid
    - `creationTime` string, date-time
    - `creatorId` string, uuid, nullable
    - `lastModificationTime` string, date-time, nullable
    - `lastModifierId` string, uuid, nullable
    - `customerId` string, uuid, nullable
    - `contactName` string, nullable
    - `contactPhone` string, nullable
    - `streetAddress` string, nullable
    - `area` string, nullable
    - `thana` string, nullable
    - `postCode` string, nullable
    - `district` string, nullable
    - `country` string, nullable
    - `specialNote` string, nullable
    - `addressName` string, nullable
    - `isHome` boolean
    - `isOffice` boolean
    - `isDefault` boolean
    - `isActive` boolean
    - `isShowOnMobile` boolean
  - `kamUserName` string, nullable
  - `referralCode` string, nullable
  - `coupons` string[], nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

## Changes

> 11 revisions in range; 1 not diffed.

- **2026-11-01** `664d574d3e4d`: 6 info
  - added the optional property `addresses/items/isHome` to the response with the `200` status (media type: text/plain)
  - added the optional property `addresses/items/isHome` to the response with the `200` status (media type: application/json)
  - added the optional property `addresses/items/isHome` to the response with the `200` status (media type: text/json)
  - added the optional property `addresses/items/isOffice` to the response with the `200` status (media type: text/plain)
  - …2 more

[Operation history](https://skmtc.dev/khaasfood/apis/khaasfood-api/changes/api/CustomerQuery/find/:customerPhone/get.md)

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
