Docs

# Get Products

Retrieves the complete list of available vignette products for various vehicle types. This endpoint provides detailed information for each product, including pricing, validity, category, and applicable emission and vehicle types. It is typically used to populate product selection interfaces or to programmatically access the available vignette offerings.

# Request

GET /v1/vignette/products

# Code samples

curl -X GET "https://api.rovinieteonline.ro/v1/vignette/products" \
     -H "X-Authorization: [YOUR_API_KEY]" \
     -H "Content-Type: application/json"
try {
    const res = await fetch("https://api.rovinieteonline.ro/v1/vignette/products", {
        method: "GET",
        headers: {
            "X-Authorization": "[YOUR_API_KEY]",
            "Content-Type": "application/json"
        }
    })
    const json = await res.json()
    console.log(json)
} catch (err) {
    console.log(err)
}

# Response

Returns an array of product objects, where each object contains the following fields:

[
  {
    "categoryDescriptionText": "string",
    "description": "string",
    "emissionClass": "none",
    "emissionClassText": "string",
    "id": 0,
    "mongoId": "string",
    "price": {
      "currency": "string",
      "amount": 0
    },
    "currencyAmount": {
      "amountBGN": 0,
      "amountEUR": 0
    },
    "productType": "TOLL",
    "productTypeLabel": "string",
    "validityType": "day",
    "validityTypeText": "string",
    "vehicleType": "car",
    "vehicleTypeText": "string"
  }
]