tours
8 endpoints · /api/web/v1/tours
Request examples are generated from each endpoint's REAL method and path. 8 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.
PUT /api/web/v1/donation-campaigns/{id} — künyenin TAMAMI.
idcurl -X PUT "https://{slug}--panel.web.blesyum.app/api/web/v1/tours/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"{
"data": "…",
"trace_id": "01JC…"
}DELETE /api/web/v1/ab-tests/{id}
id⚠ Silme sayaçları da götürür (on delete cascade) ve bu BİLİNÇLİ: testin
sayıları testin dışında bir anlam taşımaz, saklanan bir kalıntı ise
"hangi teste aitti" sorusunu cevapsız bırakırdı.
curl -X DELETE "https://{slug}--panel.web.blesyum.app/api/web/v1/tours/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"{
"data": "…",
"trace_id": "01JC…"
}PUT /api/web/v1/tours/{id}/cancel-rules — kademeler **toptan**.
id⚠ Kural değişikliği VAR OLAN iptalleri DEĞİŞTİRMEZ: kesinti ve iade iptal anında rezervasyona dondurulmuştur.
curl -X PUT "https://{slug}--panel.web.blesyum.app/api/web/v1/tours/<id>/cancel-rules" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"{
"data": "…",
"trace_id": "01JC…"
}POST /api/web/v1/tours/{id}/departures
idcurl -X POST "https://{slug}--panel.web.blesyum.app/api/web/v1/tours/<id>/departures" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"{
"data": "…",
"trace_id": "01JC…"
}PUT /api/web/v1/tours/{id}/itinerary — program **toptan**.
id🔴 Sıra LİSTENİN KENDİSİDİR ve TEK tx'te yazılır (müfredatın kararı). 🔴 Program turun süresini AŞAMAZ: "3 gün" yazan turda 5 günlük program, ziyaretçiye iki farklı süre söylemektir.
curl -X PUT "https://{slug}--panel.web.blesyum.app/api/web/v1/tours/<id>/itinerary" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"{
"data": "…",
"trace_id": "01JC…"
}PATCH /api/web/v1/ab-tests/{id}/status — başlat / durdur.
id🔴 web.publish ister: koşan bir test ziyaretçinin gördüğü içeriği böler.
curl -X PATCH "https://{slug}--panel.web.blesyum.app/api/web/v1/tours/<id>/status" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"{
"data": "…",
"trace_id": "01JC…"
}