Returns: List products. Allowed roles: per role/scope; scope: proizvodi:citanje.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: proizvodi:citanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Creates: ili pokrece: Kreiranje: Proizvodi. Allowed roles: per role/scope; scope: proizvodi:pisanje.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: proizvodi:pisanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Idempotency-Key
header
yes
string
Required on every POST. Response cached 24 h (KV); same key + different body → 409 ponovljen_kljuc_idempotentnosti. Response includes Idempotent-Replayed: true on replay. Exceptions (optional key): /v1/nalog/*, /v1/nalog/pristupni-kljucevi/*, /v1/ja/sesije/opozovi-ostale, public /plati/*.
Request body
Field
Type
Required
Description
naziv
string
yes
sifra_artikla
string,null
no
jedinica_mere
string
no
jedinicna_cena
string
yes
Amount in RSD as a decimal string with 2 fraction digits; currency is always RSD (no currency field)
stopa_pdv
enum: 10 | 20 | null
no
Stopa PDV-a u %. Ako organization ima u_sistemu_pdv=true, obavezno 10 ili 20; ako je false, mora biti null (bez PDV-a), inace 422 vat_rate_not_allowed.
Deletes or revokes: Delete products. Allowed roles: per role/scope; scope: proizvodi:pisanje.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: proizvodi:pisanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Returns: Get products. Allowed roles: per role/scope; scope: proizvodi:citanje.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: proizvodi:citanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Partially updates: Update products. Allowed roles: per role/scope; scope: proizvodi:pisanje.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: proizvodi:pisanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
id
path
yes
string (uuid)
UUID v7
Request body
Field
Type
Required
Description
naziv
string
no
sifra_artikla
string,null
no
jedinica_mere
string
no
jedinicna_cena
string
no
Amount in RSD as a decimal string with 2 fraction digits; currency is always RSD (no currency field)
stopa_pdv
enum: 10 | 20 | null
no
Stopa PDV-a u %. Ako organization ima u_sistemu_pdv=true, obavezno 10 ili 20; ako je false, mora biti null (bez PDV-a), inace 422 vat_rate_not_allowed.