gift-registries
6 endpoints · /api/shop/v1/gift-registries
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.
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/gift-registries" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Listeye varyant ekle (sahip-doğrulama; varyant var-kontrolü; eklendiğinde-fiyat snapshot). Idempotent.
Oturum
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/gift-registries/items" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Rezervasyon-serbest bırak (public, token + item).
OturumYol parametresi:
tokenİstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/storefront/gift-registries/<token>/release" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}POST /api/shop/v1/admin/bundles/{id}/reserve (StaffCtx PRODUCT_WRITE) — ATOMİK bundle stok-rezervi
OturumYol parametresi:
token(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/gift-registries/<token>/reserve" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Bu sayfa işine yaradı mı?