pricing
38 endpoints · /api/b2b/v1/pricing
Request examples are generated from each endpoint's REAL method and path. 38 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.
İstek
curl -X DELETE "https://{slug}.b2b.blesyum.app/api/b2b/v1/admin/pricing/campaign-targets/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}İstek
curl -X GET "https://{slug}.b2b.blesyum.app/api/b2b/v1/admin/pricing/campaigns/<id>/targets" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}İstek
curl -X POST "https://{slug}.b2b.blesyum.app/api/b2b/v1/admin/pricing/lists/<id>/items/bulk" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}POST .../items/bulk-csv — ham CSV gövdesi (text/csv). body: String gövdeyi tüketir → EN SON
OturumYol parametresi:
idextractor. Per-satır accept/reject raporu döner (BLE-2088 CSV yolu).
İstek
curl -X POST "https://{slug}.b2b.blesyum.app/api/b2b/v1/admin/pricing/lists/<id>/items/bulk-csv" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}İstek
curl -X DELETE "https://{slug}.b2b.blesyum.app/api/b2b/v1/admin/pricing/order-rules/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}GET /admin/pricing/preview — staff, seçtiği bayi için efektif fiyatı önizler (sızıntısız Decimal;
Oturum
BF3 resolve_one REUSE). Bayi bu tenant'a ait olmalı (staff-tx doğrular; tenant-RLS). b2b.pricing.read.
İstek
curl -X GET "https://{slug}.b2b.blesyum.app/api/b2b/v1/admin/pricing/preview" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Bu sayfa işine yaradı mı?