| URL | GEThttps://api.inventario.pro/public/v2/coche?apiKey={{apiKey}}&marcas=1 |
|---|---|
| Category | Cars |
Description: This endpoint retrieves information about coches (cars) based on the provided API key and marcas (brands) parameter.
apiKey (string, required): The API key for authentication
marcas = 1 (integer, required): Requests the list of brands
Status: 200
Content-Type: application/json
[ { "id": "", "nombre": "" }]
In addition to the required parameters, the request allows filtering results using specific query parameters. These parameters use prefixes to define different database operations:
To add filter by brand (marca_id = 5), price range (between 10,000 and 20,000), and available for sale (estado_id = 1):
https://api.inventario.pro/public/v2/coche?{{request_parameters}}&FILTR_marca_id=5&BTW_precio[]=10000&BTW_precio[]=20000&FILTR_estado_id=1
| APP-KEY | {{appkey}} |
|---|
200OK
[
{
"total": "1",
"id": "6",
"nombre": "Audi"
},
{
"total": "1",
"id": "17",
"nombre": "Citroën"
},
{
"total": "1",
"id": "2125",
"nombre": "Polestar"
},
{
"total": "1",
"id": "76",
"nombre": "Volkswagen"
}
]