E-Ticaret

live

3 endpoints · /api/shop/v1/live

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

POST/api/shop/v1/admin/live/provision

Admin: canlı-etkinlik için yayın uç-noktası provisyonla (ingest+playback). Sonuç live_events.

Oturum

stream_url'ine (playback) yazılabilir (istemci ayrı adımda). Canlı sağlayıcı → 501 TF21-seam.

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

View

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

POST /api/shop/v1/admin/bundles/{id}/reserve (StaffCtx PRODUCT_WRITE) — ATOMİK bundle stok-rezervi

OturumYol parametresi: id

(POS/manuel-sipariş/tahsis). Yetersiz bileşen → 409 (all-or-nothing, hiçbir bileşen düşülmez).

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