oauth
6 endpoints · /api/shop/v1/oauth
Request examples are generated from each endpoint's REAL method and path. 6 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.
Cihaz-token kaydet/güncelle (upsert token). opt_in default true; false → gelmez (opt-out). Topics
Oturum
aboneliği eklenir. Geçersiz platform → 400.
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/oauth/apps" \
-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/oauth/apps/<client_id>/revoke" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Storefront: cüzdan-ödeme yetkilendir → tokenized ref (express-checkout ödeme external_ref seam).
Oturum
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/oauth/authorize" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Bu sayfa işine yaradı mı?