Pročitaj proizvod
get/v1/products/{productId}
Scope catalogue:read
Jedan proizvod po identifikatoru.
Parametri
| Polje | Gde | Tip | Opis |
|---|---|---|---|
productIdobavezno | path | uuid |
Primer
curl -X GET "https://api.bokapos.rs/v1/products/d2e3f4a5-b6c7-4d8e-9f0a-1b2c3d4e5f60" \
-H "Authorization: Bearer $BOKAPOS_TOKEN"Odgovori
| 200 OK | ProductProduct |
|---|---|
| 404 Not Found | Resource does not exist within the authenticated tenant scopeErrorCode |
{
"id": "d2e3f4a5-b6c7-4d8e-9f0a-1b2c3d4e5f60",
"taxpayerId": "3f9c2a8e-6b1d-4e5a-9c47-1d2b8e6f0a11",
"sku": "BT-HP-001",
"gtin": "8606012345678",
"name": "Bluetooth slušalice",
"unitOfMeasure": "kom",
"grossUnitPrice": 8990,
"taxLabels": [
"F"
],
"isActive": true,
"createdAt": "2026-08-22T10:00:00.000Z",
"updatedAt": "2026-08-22T10:00:00.000Z"
}Odgovor: Product
Opisi polja su preuzeti iz OpenAPI ugovora i na engleskom su; nazivi polja i vrednosti su isti u oba jezika.
| Polje | Tip | Opis |
|---|---|---|
idobavezno | uuid | |
taxpayerIdobavezno | uuid | |
skuobavezno | string | |
gtinopciono | string| null (može biti null) | |
nameobavezno | string | |
unitOfMeasureopciono | string| null (može biti null) | |
grossUnitPriceobavezno | number | >= 0 |
taxLabelsobavezno | array<string> | |
isActiveobavezno | boolean | |
createdAtobavezno | date-time | |
updatedAtobavezno | date-time |