Müşteri (Customer)
Müşterileri Listele / Ara
Müşterileri sayfalı döner. ?q ile e-posta, ad, soyad ve telefonda arama yapar.
Uç Nokta
İstek yöntemi: GET · Yetki: read (okuma)
GET
/api/commerce/v1/customersSorgu Parametreleri
| Alan | Tip | Açıklama |
|---|---|---|
| q | string | Arama metni (e-posta, ad, soyad, telefon) |
| limit | int | Sayfa başına kayıt (1–100, varsayılan 20) |
| page | int | Sayfa numarası |
İstek (cURL)
cURL
curl "https://www.arsigo.com/api/commerce/v1/customers?q=ayse" \
-H "Authorization: Bearer ark_xxxxxxxxxxxxxxxx"Yanıt
200 OK · application/json
{
"data": [
{
"id": "c12…",
"email": "ayse@example.com",
"phone": "+90…",
"firstName": "Ayşe",
"lastName": "Yılmaz",
"acceptsMarketing": true,
"tags": ["vip"],
"createdAt": "2026-05-01T08:00:00Z"
}
],
"pagination": { "page": 1, "limit": 20, "count": 58 }
}