---
title: listCustomer
description: Müşteri listesini sayfalama ile getirir
---

İstek yöntemi: POST

Uç nokta: `{{API URL}}`

GraphQL Sorgusu:

```graphql
query listCustomer($pagination: PaginationInput!, $search: String) {
  listCustomer(pagination: $pagination, search: $search) {
    data { id firstName lastName email phone }
    hasNext
    count
  }
}
```

Örnek Değişkenler:

```json
{
  "pagination": { "page": 1, "limit": 20 }
}
```

### cURL

```bash
curl -X POST 'https://api.myikas.dev/api/v2/admin/graphql' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  --data-raw '{
    "query": "query listCustomer($pagination: PaginationInput!, $search: String) { listCustomer(pagination: $pagination, search: $search) { data { id firstName lastName email phone } hasNext count } }",
    "variables": { "pagination": { "page": 1, "limit": 20 } }
  }'
```


