Integrazu Adverts
Create Advert
Create a new vehicle advert in Integrazu.
Integrazu Endpoint: POST /api/vehicles/adverts/create
Args: advert_data: Complete advert payload with vehicle specifications brand_id: Brand ID to fetch the correct Integrazu token
Returns: Created advert response with advert ID
Example payload:
{
"brand_id": 51,
"model_id": 2018,
"fuel_id": 16,
"category_id": 8,
"color_id": 2,
"gearbox_id": 1,
"mileage": 35000,
"power": 116,
"engine_capacity": 1197,
"first_registration_month": 3,
"first_registration_year": 2017,
"price": 19500,
"registration": "42-XI-26",
"location_id": "41",
"features": [428, 287, 447]
}
post/api/integrazu/adverts/create
Query parameters
brand_idinteger required
Z_Brands.id for token lookup
Z_Brands.id for token lookup
Headers
x-api-tokenstring nullable
Request body
Example request
{
"accept_funding": 1,
"brand_id": 12,
"category_id": 5,
"color_id": 10,
"engine_capacity": 1197,
"features": [
1,
5,
12,
20
],
"first_registration_month": 6,
"first_registration_year": 2017,
"fuel_id": 2,
"gearbox_id": 1,
"location_id": "1",
"metallic": 1,
"mileage": 50000,
"model_id": 345,
"power": 116,
"price": 25000,
"registration": "AA-11-BB"
}Response
Successful Response
object required
Changes
No recorded changes to this endpoint across all 1 revision of this API.