Ürün (Product)
Ürünleri Listele (Sayfalı)
Ürünleri sayfalı döner. Duruma göre filtrelenir, ?q ile isimde arama yapılır.
Uç Nokta
İstek yöntemi: GET · Yetki: read (okuma)
GET
/api/commerce/v1/productsSorgu Parametreleri
| Alan | Tip | Açıklama |
|---|---|---|
| status | string | draft, active, archived |
| q | string | Ürün adında arama |
| limit | int | Sayfa başına kayıt (1–100) |
| page | int | Sayfa numarası |
İstek (cURL)
cURL
curl "https://www.arsigo.com/api/commerce/v1/products?status=active&limit=20" \
-H "Authorization: Bearer ark_xxxxxxxxxxxxxxxx"Yanıt
200 OK · application/json
{
"data": [
{
"id": "p10…",
"name": "Pamuklu Tişört",
"slug": "pamuklu-tisort",
"status": "active",
"price": 199.90,
"compareAtPrice": 249.90,
"sku": "TS-001",
"createdAt": "2026-06-01T08:00:00Z"
}
],
"pagination": { "page": 1, "limit": 20, "count": 312 }
}