notifications
5 endpoints · /api/shop/v1/notifications
Request examples are generated from each endpoint's REAL method and path. 5 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.
Bildirimi render + idempotent logla (gerçek gönderim TF21). Şablon yoksa 404; aynı idempotency_key
Oturum
→ dispatched:false (replay; render yine döner).
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/notifications/dispatch" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Test/önizleme emit ucu — çağıran personele in-app bildirim üretir (notify() sarar).
Oturum
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/notifications/emit" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Bu sayfa işine yaradı mı?