GET
/api/v1/products/{sku}/fitmentsGet Product Fitments
Retrieve paginated list of vehicles compatible with a specific product. Useful for displaying "Fits These Vehicles" sections.
The same-origin /api/erp relay accepts only storefront allow-listed paths and methods; other routes return 404. Browser-supplied API keys are discarded. Direct public API endpoints remain available at their documented URLs.
productsfitmentvehicles
Use Cases
- Display compatible vehicles on product page
- Build vehicle-to-product mapping
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
sku | string | Required | Product SKU |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page | number | Optional | Page number (1-based) |
limit | number | Optional | Results per page (max 100) |
Request Example
cURL
curl "https://autrex.ca/api/v1/products/BCZC283107/fitments?page=1&limit=50"JavaScript
fetch("https://autrex.ca/api/v1/products/BCZC283107/fitments?page=1&limit=50")Response
200Fitments retrieved successfully
{
"fitments": [
{
"year_start": 2019,
"year_end": 2024,
"make": "Toyota",
"model": "Camry",
"trim": [
"LE",
"SE",
"XLE",
"XSE",
"TRD"
],
"submodel": "Sedan",
"engine": "2.5L 4-Cylinder"
},
{
"year_start": 2019,
"year_end": 2024,
"make": "Toyota",
"model": "Camry",
"trim": [
"XLE",
"XSE"
],
"submodel": "Sedan",
"engine": "3.5L V6"
},
{
"year_start": 2018,
"year_end": 2024,
"make": "Honda",
"model": "Accord",
"trim": [
"LX",
"Sport",
"EX",
"EX-L",
"Touring"
],
"submodel": "Sedan",
"engine": "1.5L Turbo 4-Cylinder"
},
{
"year_start": 2018,
"year_end": 2024,
"make": "Honda",
"model": "Accord",
"trim": [
"Sport",
"Touring"
],
"submodel": "Sedan",
"engine": "2.0L Turbo 4-Cylinder"
},
{
"year_start": 2020,
"year_end": 2024,
"make": "Mazda",
"model": "6",
"trim": [
"Sport",
"Touring",
"Grand Touring",
"Signature"
],
"engine": "2.5L 4-Cylinder"
},
{
"year_start": 2020,
"year_end": 2024,
"make": "Mazda",
"model": "6",
"trim": [
"Grand Touring Reserve",
"Signature"
],
"engine": "2.5L Turbo 4-Cylinder"
},
{
"year_start": 2019,
"year_end": 2023,
"make": "Hyundai",
"model": "Sonata",
"trim": [
"SE",
"SEL",
"SEL Plus",
"Limited",
"N Line"
],
"engine": "2.5L 4-Cylinder"
},
{
"year_start": 2020,
"year_end": 2024,
"make": "Kia",
"model": "K5",
"trim": [
"LX",
"LXS",
"GT-Line",
"EX",
"GT"
],
"engine": "1.6L Turbo 4-Cylinder"
}
],
"pagination": {
"page": 1,
"limit": 50,
"total": 8,
"total_pages": 1,
"has_next": false,
"has_previous": false
}
}Caching
- Max Age
- 3600s