ERP

party-code-config

3 endpoints · /api/erp/v1/party-code-config

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

GET/api/erp/v1/party-code-config

Cari kod config'ini getir (satır yoksa varsayılan manuel). 3-kapı: erp.parties.view.

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

Cari kod config'ini ayarla (upsert, tam-değişim). 3-kapı: erp.parties.manage.

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

Sıradaki üretilecek cari kodunun advisory önizlemesi (tüketmeden). 3-kapı: erp.parties.view.

Oturum
İstek
curl -X GET "https://{slug}.erp.blesyum.app/api/erp/v1/party-code-config/preview" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
Bu sayfa işine yaradı mı?