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

# GET /api/CustomerQuery/purchase-summery/{customerPhone}

`GET /api/CustomerQuery/purchase-summery/{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/purchase-summery/{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

- KhaasFoodCustomersDTOsCustomerPurchaseSummeryDto
  - `customerName` string, nullable
  - `customerId` string, uuid
  - `phone` string, nullable
  - `firstPurchaseDate` string, date-time
  - `firstPurchaseFrom` string, nullable
  - `lastPurchaseDate` string, date-time
  - `lastPurchaseFrom` string, nullable
  - `totalPurchaseAmount` number, double
  - `averagePurchaseAmount` number, double
  - `totalRedeemPoint` number, double
  - `customerType` 0 | 1 | 2 | 3
  - `kamUserName` string, nullable
  - `point` integer

## Other responses

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

---

[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)
