reviews
7 endpoints · /api/shop/v1/reviews
Request examples are generated from each endpoint's REAL method and path. 7 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.
Admin: bir yorumun görselleri (moderasyon kuyruğu için; durum dâhil).
OturumYol parametresi:
review_idİstek
curl -X GET "https://{slug}.shop.blesyum.app/api/shop/v1/admin/reviews/<review_id>/media" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/reviews/<review_id>/moderate" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Satıcı-cevabı ekle/güncelle (yorum başına tek). Yorum yoksa 404; boş gövde 400.
OturumYol parametresi:
review_idİstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/reviews/<review_id>/reply" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}BLE-5314 · hatırlatma-sweep ucu (dış-cron/worker).
Oturum
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/reviews/reminder-sweep" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Etkileşim görünümü: satıcı-cevabı (varsa) + faydalı-oy sayısı.
OturumYol parametresi:
review_idİstek
curl -X GET "https://{slug}.shop.blesyum.app/api/shop/v1/storefront/reviews/<review_id>/engagement" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Faydalı-oy (yalnız onaylı yoruma; voter başına tek → idempotent). Yorum yok/onaysız → 404.
OturumYol parametresi:
review_idİstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/storefront/reviews/<review_id>/helpful" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Bu sayfa işine yaradı mı?