GET
2 tokens
Parts for Assembly
/v1/pc/parts
List of spare parts with articles and images
Параметры
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
body_id
|
integer | обязательный | Assembly ID from /v1/pc/bodies |
301
|
Пример запроса
GET https://plan.parts/api/v1/pc/parts?body_id=301
Authorization: Bearer your_api_key
Пример ответа
{
"success": true,
"data": [
{
"article": "5GH***00",
"name": "Cylinder Head Gasket",
"image_url": null
},
{
"article": "3D9***10",
"name": "Valve Cover",
"image_url": 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.