Süper GelsinPartner APIv1.0.0
API Referansı
TREN
Başlangıç
  • Hemen Başla
  • Test Ortamı (Sandbox)
  • Yetkilendirme
  • Servis Limitleri
  • Test hesabı başvurusu
Ortak uçlar
  • İşletme
  • Sipariş Yaşam Döngüsü
  • Sipariş Durumları
  • Mali Belge
  • Kurye Firması Entegrasyonu
  • Müşteri Talepleri
  • Değerlendirmeler
  • Webhook
Yemek
  • Menü ve Ürün Eşleme
Çarşı
  • Çarşı'ya genel bakış
  • Katalog
  • Toplama ve Dönüş
Referans
  • Sürümleme ve Hız Sınırı
  • Hata Kodları ve Sorun Giderme
  • Changelog
  • Sıkça Sorulan Sorular
  • API Referansı
Developer Portal/Shared endpoints

Reviews

Published customer reviews, the score summary and the business reply.

Endpoints on this page

Each row links to the full definition in the API reference — fields, response codes and the try-it console.

  • GET/reviews
  • POST/reviews/{id}/reply

Listing reviews

Request
curl "https://api.supergelsin.com/api/partner/v1/reviews?limit=20&minRating=4&replyStatus=none" \
  -H "Authorization: Basic $(printf '%s:%s' "$API_KEY" "$API_SECRET" | base64)" \
  -H "X-Integrator: Ornek POS" \
  -H "X-Operator: kasiyer_01"
Response
{
  "scores": { "average": 4.75, "count": 4, "distribution": { "5": 3, "4": 1, "3": 0, "2": 0, "1": 0 } },
  "items": [
    {
      "id": "cm_ornek_yorum",
      "rating": 5,
      "title": null,
      "comment": "Çok lezzetli",
      "verified": true,
      "deliveryRating": 4,
      "aspectScores": { "taste": 5 },
      "reasons": [],
      "reply": null,
      "createdAt": "2026-01-31T10:00:00.000Z"
    }
  ],
  "nextCursor": null
}

The list is ordered newest first and paged by cursor. The review text is the version masked by the platform; the customer identity and the raw text are not returned through this surface. scores is computed from all published reviews and is not affected by filters.

Query parameters
AlanTipAçıklama
limitintegerPage size, 1–50; default 20.
minRatingintegerReviews with this rating or higher (1–5). If omitted there is no rating filter.
replyStatusenumFilters by the state of the business reply: none, pending, approved, rejected. An invalid value returns 400 bad_request.
cursorstringThe nextCursor from the previous response.
Review fields
AlanTipAçıklama
verifiedbooleanWhether the reviewer actually placed an order.
deliveryRatinginteger | nullDelivery rating. It is not included in the business score average (scores.average); the average is computed from the rating field.
aspectScoresobject | nullPer-aspect scores.
replyobject | nullThe business's reply (text) and its state (pending, approved, rejected); null if there is none. The reply goes through moderation; the customer sees only an approved reply.

Replying to a review

Request
curl -X POST "https://api.supergelsin.com/api/partner/v1/reviews/cm_ornek_yorum/reply" \
  -H "Authorization: Basic $(printf '%s:%s' "$API_KEY" "$API_SECRET" | base64)" \
  -H "X-Integrator: Ornek POS" \
  -H "X-Operator: kasiyer_01" \
  -H "Content-Type: application/json" \
  -d '{ "text": "Geri bildiriminiz için teşekkür ederiz." }'
Response (200)
{ "id": "cm_ornek_yorum", "replyStatus": "pending" }

The reply goes through moderation (replyStatus: pending). Sending an empty text removes an existing reply; in that case replyStatus is null. A reply is limited to 1000 characters (400 too_long) and can only be added to a published review (409 not_published; current gives the state of the review).

A reply may mention a coupon issued to the customer. A reply that presents the coupon as a reward for the review is not saved and returns 400 coupon_reward_wording: do not tie the coupon to the content or rating of the review, do not make it conditional on editing or deleting the review, and do not promise a coupon in exchange for a review.
PreviousCustomer disputesNextWebhooks
On this page
  • Listing reviews
  • Replying to a review