GET
1 token
Search Suggest
/v1/aftermarket/search/suggest
Autocomplete suggestions for article search queries
Параметры
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
q
|
string | обязательный | Search query (min 2 characters) |
Golf
|
lang
|
string | необязательный | Language: en, ru, de (default: en) |
en
|
limit
|
integer | необязательный | Max results 1–20 (default: 10) |
10
|
Пример запроса
GET https://plan.parts/api/v1/aftermarket/search/suggest?q=Golf&lang=en&limit=10
Authorization: Bearer your_api_key
Пример ответа
{
"success": true,
"data": {
"suggestions": [
"Golf IV 1.4 16V",
"Golf IV 1.6",
"Golf V 2.0 TDI"
]
}
}
Попробовать в песочнице
Test this endpoint with real data in the Developer Portal sandbox.
Попробовать в песочнице →Карта не нужна
Стоимость
Each successful call to this endpoint deducts 1 token from your balance. Tokens are only deducted on 2xx responses.