Vehicle Categories

Retrieve vehicle categories used when purchasing vignette tickets. Each vignette product is associated with a specific vehicle category, and orders for vignettes reference a vehicleCategoryId.

List Vehicle Categories

text
GET /products/vehicle-categories

API key only, no signature required.

Query Parameters

NameTypeRequiredDescription
languagestringNoLocalized names language code (e.g., en, de, tr)

Unknown query parameters are rejected with a 400 (strict validation). There is no includeVehicles parameter on the partner surface.

Example Request

GET/v2/partners/products/vehicle-categories
curl "https://api.vignetim.com/v2/partners/products/vehicle-categories" \
  -H "X-API-Key: $VIGNETIM_API_KEY"

Response

json
{
	"data": [
		{
			"id": "f1e2d3c4-b5a6-7890-abcd-ef1234567890",
			"name": "Car (up to 3.5t)",
			"localizedName": "PKW (bis 3,5t)",
			"categoryTypeId": 1,
			"vehicleCategoryExplanations": 1,
			"typeId": 1,
			"parentVehicleTypeId": 0,
			"lengthTypeId": 1,
			"weightTypeId": 1,
			"heightTypeId": 1,
			"emissionClassId": 0,
			"axlesTypeId": 1,
			"seatTypeId": 1,
			"wheelbaseTypeId": 0,
			"iconTypeId": 3,
			"withTrailer": false
		}
	],
	"metadata": {
		"total": 24,
		"environment": "LIVE"
	}
}

Vehicle Category Object

FieldTypeDescription
idUUIDVehicle category ID (used in tickets and orders)
namestringCategory name
localizedNamestringLocalized name, present when language is requested
categoryTypeIdintegerCategory type ID
vehicleCategoryExplanationsintegerExplanation set ID
typeIdintegerVehicle type ID
parentVehicleTypeIdintegerParent vehicle type ID
lengthTypeIdintegerLength classification ID
weightTypeIdintegerWeight classification ID
heightTypeIdintegerHeight classification ID
emissionClassIdintegerEmission class ID
axlesTypeIdintegerAxle count classification ID
seatTypeIdintegerSeat count classification ID
wheelbaseTypeIdintegerWheelbase classification ID
iconTypeIdintegerIcon type ID
withTrailerbooleanWhether the category includes a trailer

Get Vehicle Categories by Type

text
GET /products/vehicle-categories/by-type/:typeId

Path Parameters

NameTypeRequiredDescription
typeIdintegerYesThe vehicle type ID

Query Parameters

Same as the list endpoint (language).

Example Request

GET/v2/partners/products/vehicle-categories/by-type/1
curl "https://api.vignetim.com/v2/partners/products/vehicle-categories/by-type/1" \
  -H "X-API-Key: $VIGNETIM_API_KEY"

Response

Same object shape as the list endpoint:

json
{
	"data": [
		{
			"id": "f1e2d3c4-b5a6-7890-abcd-ef1234567890",
			"name": "Car (up to 3.5t)",
			"categoryTypeId": 1,
			"vehicleCategoryExplanations": 1,
			"typeId": 1,
			"parentVehicleTypeId": 0,
			"lengthTypeId": 1,
			"weightTypeId": 1,
			"heightTypeId": 1,
			"emissionClassId": 0,
			"axlesTypeId": 1,
			"seatTypeId": 1,
			"wheelbaseTypeId": 0,
			"iconTypeId": 3,
			"withTrailer": false
		}
	],
	"metadata": {
		"total": 6,
		"environment": "LIVE"
	}
}