E-Ticaret

push-subscriptions

2 endpoints · /api/shop/v1/push-subscriptions

Request examples are generated from each endpoint's REAL method and path. 2 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.

GET/api/shop/v1/admin/push-subscriptions/stats

Admin: abonelik sayısı (gönderim-kapasitesi görünürlüğü; gönderim TF21).

Oturum
İstek
curl -X GET "https://{slug}.shop.blesyum.app/api/shop/v1/admin/push-subscriptions/stats" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/shop/v1/storefront/push-subscriptions

Push-aboneliği kaydet (endpoint idempotent-upsert; müşteri-oturumu varsa bağlanır).

Oturum
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/storefront/push-subscriptions" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
Bu sayfa işine yaradı mı?