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 | обязательный | Article ID (path segment) |
1043452
|
lang
|
string | необязательный | Language: en, ru, de (default: en) |
en
|
page
|
integer | необязательный | Page number (default: 1) |
1
|
per_page
|
integer | необязательный | 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,
"total_pages": 1,
"results": [
{
"ktype": 8799,
"modification": "Golf IV 1.4 16V",
"year_from": 1997,
"year_to": 2004,
"power_kw": 55,
"power_ps": 75,
"engine_code": "AXP"
},
{
"ktype": 8800,
"modification": "Golf IV 1.6",
"year_from": 1997,
"year_to": 2003,
"power_kw": 74,
"power_ps": 101,
"engine_code": "AEH"
}
]
}
}
Попробовать в песочнице
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.