GET
2 tokens
Article Vehicles
/v1/aftermarket/articles/{art_id}/vehicles
Compatible vehicles (fitments/linkages) for an aftermarket article
Параметры
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
art_id
|
integer path | обязательный | Article ID (path segment) |
1043452
|
lang
|
string query | необязательный | Language: en, ru, de (default: en) |
en
|
page
|
integer query | необязательный | Page number (default: 1) |
1
|
per_page
|
integer query | необязательный | Results per page, max 100 (default: 50) |
20
|
Пример запроса
GET https://cdn.plan.parts/api/v1/aftermarket/articles/1043452/vehicles?lang=en&page=1&per_page=20
Authorization: Bearer your_api_key
Пример ответа
{
"success": true,
"data": {
"count": 12,
"page": 1,
"per_page": 50,
"total_pages": 1,
"results": [
{
"ktype": 8799,
"brand": "VW",
"model_series": "Golf IV (1J1)",
"modification": "1.4 16V",
"year_from": "1997-08",
"year_to": "2004-06",
"power_kw": 55,
"power_ps": 75,
"displacement_cc": 1390,
"catalog_url": "https://cdn.plan.parts/api/v1/aftermarket/catalog/categories?ktype=8799",
"fitting_position": "Front Axle",
"fitting_position_source": "vehicle",
"vehicle_criteria": [
{
"criteria_id": 100,
"criteria_name": "Fitting Position",
"value": "Front Axle",
"unit": null
}
]
},
{
"ktype": 8800,
"brand": "VW",
"model_series": "Golf IV (1J1)",
"modification": "1.6",
"year_from": "1997-08",
"year_to": "2003-06",
"power_kw": 74,
"power_ps": 101,
"displacement_cc": 1595,
"catalog_url": "https://cdn.plan.parts/api/v1/aftermarket/catalog/categories?ktype=8800",
"fitting_position": "Front Axle",
"fitting_position_source": "vehicle",
"vehicle_criteria": [
{
"criteria_id": 100,
"criteria_name": "Fitting Position",
"value": "Front Axle",
"unit": null
}
]
}
]
}
}
Попробовать в песочнице
Test this endpoint with real data in the Developer Portal sandbox.
Попробовать в песочнице →Карта не нужна
Стоимость
Each successful call to this endpoint deducts 2 tokens from your balance. Tokens are only deducted on 2xx responses.