# Smootify.queryCustomer()

> a Customer Account API query on the customer: `fields` is the selection inside `customer { … }`

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/astro/reference/api/methods/querycustomer  
Updated: 2026-10-21

a Customer Account API query on the customer: `fields` is the selection inside `customer { … }`

```ts
queryCustomer<T>(fields: string): Promise<{ customer: T }>
```
