Blesyum Core

locations

4 endpoints · /api/v1/locations

Request examples are generated from each endpoint's REAL method and path. 4 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.

GET/api/v1/locations

List the tenant's locations (branches/warehouses/teams).

Oturum
İstek
curl -X GET "https://api.blesyum.com/api/v1/locations" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/v1/locations

Create a location — requires core.settings.manage.

Oturum
İstek
curl -X POST "https://api.blesyum.com/api/v1/locations" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
PATCH/api/v1/locations/{id}

Update a location — requires core.settings.manage.

OturumYol parametresi: id
İstek
curl -X PATCH "https://api.blesyum.com/api/v1/locations/<id>" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
DELETE/api/v1/locations/{id}

Delete a location — requires core.settings.manage.

OturumYol parametresi: id
İstek
curl -X DELETE "https://api.blesyum.com/api/v1/locations/<id>" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
Bu sayfa işine yaradı mı?