# Müşteri Listeleme

{% hint style="danger" %}
**BU SERVİS GÜNCELLEME AŞAMASINDADIR. ŞUAN İÇİN DEVRE DIŞIDIR.**
{% endhint %}

Postapos tarafında kayıtlı müşterilerinizi bu sorgu ile çekebilir ve detaylarına ulaşabilirsiniz.

{% hint style="warning" %}
Bu servisi kullanabilmeniz için API Key bilgisine sahip olmanız gerekiyor.  API Key bilgisi için "Nasıl Erişirim ?" Sayfasını kontrol ediniz.
{% endhint %}

*Servis URL Adresi :*

{% hint style="success" %}
<https://api.postapos.com/customersList>
{% endhint %}

**Status Durumu ve Sonuçları:**

* **Aktif Müşteriler           :** 1
* **Arşivlenmiş Müşteriler   :** 2

Bu durum kodları, işlemlerin durumunu net bir şekilde sınıflandırmak ve raporlamak için kullanılmaktadır.

{% tabs %}
{% tab title="Dönüş Paremetreleri" %}

| Adı                | Tip      | Açıklama                  |
| ------------------ | -------- | ------------------------- |
| **id**             | int      | Müşteri ID Numarası       |
| **status**         | int      | Müşteri Durumu            |
| **dtarih**         | datetime | Müşteri Kayıt Tarihi      |
| **customer\_code** | string   | Müşteri Özel Kodu         |
| **ent\_code**      | string   | Muhasebe Cari Kodu Özel   |
| **ozel\_code\_1**  | string   | Müşteri Özel Alan Kodu 1  |
| **ozel\_code\_2**  | string   | Müşteri Özel Alan Kodu 2  |
| **company**        | string   | Müşteri Firma Adı         |
| **username**       | string   | Yetkili Adı               |
| **user\_surname**  | string   | Yetkili Soyadı            |
| **user\_mail**     | string   | Yetkili Mail Adresi       |
| **s\_phone**       | string   | Müşteri Sabit Numarası    |
| **email**          | string   | Müşteri Mail Adresi       |
| **vd**             | string   | Müşteri Vergi Dairesi     |
| **vn\_tc**         | int      | Müşteri Vergi/TC Numarası |
| **city**           | string   | Şehir                     |
| **state**          | string   | İlçe                      |
| **address**        | string   | Açık Adres                |
| {% endtab %}       |          |                           |

{% tab title="Response" %}

```json
{
    "status":200,
    "info":{
        "total":14
    },
"result":
    {
        "id":99999,
        "status":1,
        "dtarih":"2025-02-28 16:05:59",
        "customer_code":"BY00014",
        "ent_code":"CHR00050",
        "ozel_code_1":null,
        "ozel_code_2":null,
        "company":"XXX FİRMA ANONİM ŞİRKETİ",
        "username":"ELİF",
        "user_surname":"KAYA",
        "user_mail":null,
        "s_phone":null,
        "email":"destek@postapos.com",
        "vd":"KARTAL",
        "vn_tc":"123456789",
        "city":"İSTANBUL",
        "state":"KARTAL",
        "address":null
    }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://postapos.gitbook.io/postapos-api/api/musteri-listeleme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
