ext
8 uç · /api/b2b/v1/ext
İstek örnekleri ucun GERÇEK metodu ve yolundan üretilir. 8 ucun elle doğrulanmış gövde örneği henüz yok; o uçlarda iskelet gövdesizdir — uydurma bir alan yazmıyoruz.
Tek bayiyi getir (staff salt-okunur; RLS + tenant_id → cross-tenant güvenli).
OturumYol parametresi:
idİstek
curl -X GET "https://{slug}.b2b.blesyum.app/api/b2b/v1/ext/dealers/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}GET /api/b2b/v1/ext/installation — anahtarın KENDİ install'ı (metadata; config/secret DÖNMEZ).
Oturum
Scope: b2b:installation.read.
İstek
curl -X GET "https://{slug}.b2b.blesyum.app/api/b2b/v1/ext/installation" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}GET /api/b2b/v1/ext/marketplace/apps — B2B-scoped katalog (marketplace.rs REUSE). Scope: b2b:marketplace.read.
Oturum
İstek
curl -X GET "https://{slug}.b2b.blesyum.app/api/b2b/v1/ext/marketplace/apps" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}GET /api/b2b/v1/ext/orders/{id} — başlık + satırlar + teslim adresi. Scope: b2b:orders.read.
OturumYol parametresi:
idTeslim adresi burada döner, listede DÖNMEZ: kargo eklentisinin ihtiyacı tek siparişte olur ve adres bir kişisel veridir — toplu listede dağıtmak veri asgariliğine aykırı olurdu.
İstek
curl -X GET "https://{slug}.b2b.blesyum.app/api/b2b/v1/ext/orders/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}GET /api/b2b/v1/ext/products/{id}. Scope: b2b:products.read.
OturumYol parametresi:
idİstek
curl -X GET "https://{slug}.b2b.blesyum.app/api/b2b/v1/ext/products/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Bu sayfa işine yaradı mı?