stores
7 endpoints · /api/shop/v1/stores
Request examples are generated from each endpoint's REAL method and path. 7 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.
VPOS tanımı ekle/güncelle (upsert bank). bank 1-32 char, threed_mode 3d|non3d. config_ref saklanır
Oturum
ama response'ta dönmez.
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/stores" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Slot güncelle. capacity, mevcut booked'ın altına inemez (pre-check → 409).
OturumYol parametresi:
idİstek
curl -X PUT "https://{slug}.shop.blesyum.app/api/shop/v1/admin/stores/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}BLE-6334/6360 ile zenginleştirilmiş mağaza-bulucu: retail/pickup lokasyonlar + mağaza-kodu,
Oturum
çalışma-saatleri, click&collect ve açık-mı ('{}' saat = her-zaman-açık). ?variant_id=
verilirse mağaza-başına stok AYRI görünür (in_stock = on_hand − reserved > 0) — YALNIZ
retail_stock_visible bayraklı lokasyonlarda; bayrak kapalıysa null (stok sızmaz).
İstek
curl -X GET "https://{slug}.shop.blesyum.app/api/shop/v1/storefront/stores" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Bu sayfa işine yaradı mı?