/api/v1/tires/setsStaggered Tire Sets
Tire models available in BOTH a front and a rear size, for staggered vehicles and shoppers (a set is the same brand and model in both sizes, 2 front and 2 rear). Each set carries both display rows, cart-line quantities, a display-only set price (`setPrice.display` is false when either half is unpriced or carries a cart-only promotion, and no total may then be shown), and 2 + 2 availability (`purchasableForSet`, `availabilityUnknown`, and the optional additive `notPurchasableReason`: `front_not_purchasable`, `rear_not_purchasable` or `both_not_purchasable` when a half has stock and a price but is not published for online sale; absent on ERP releases that predate it, and callers must tolerate unknown values). Served by the ERP (public, read-only) and reachable through the same-origin storefront /api/erp proxy (base URL: {site}/api/erp). Sizes are catalogue notation (245/35R19); equal sizes return 400. Callers must fail soft: an ERP release that predates the endpoint answers 404.
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.
Use Cases
- Show every tire model that exists in both a staggered front and rear size
- Add 2 front and 2 rear of the same model to the cart in one step
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
front | string | Required | Front size, e.g. 245/35R19 |
rear | string | Required | Rear size; must differ from front |
brand | string | Optional | Brand id or name; comma list or repeated |
season | string | Optional | Season, e.g. summer, winter, all-season |
price_min | number | Optional | Minimum set price (CAD) |
price_max | number | Optional | Maximum set price (CAD) |
sort | string | Optional | Sort order; purchasable sets always come first |
page | number | Optional | Page number |
limit | number | Optional | Sets per page (max 48) |
availabilityprice_ascprice_descbrandRequest Example
curl "https://autrex.ca/api/erp/api/v1/tires/sets?front=245/35R19&rear=275/35R19&brand=Michelin&season=summer"fetch("https://autrex.ca/api/erp/api/v1/tires/sets?front=245/35R19&rear=275/35R19&brand=Michelin&season=summer")Response
{
"front": {
"size": "245/35R19"
},
"rear": {
"size": "275/35R19"
},
"total": 2,
"page": 1,
"limit": 24,
"sets": [
{
"key": "MICH|ps4s",
"brand": "Michelin",
"model": "Pilot Sport 4 S",
"front": {
"sku": "F1",
"name": "Michelin tire F1",
"brand": "Michelin",
"pricing": {
"price": 200,
"msrp": 200,
"currency": "CAD"
},
"availability": {
"status": "in_stock",
"quantity": 8
}
},
"rear": {
"sku": "R1",
"name": "Michelin tire R1",
"brand": "Michelin",
"pricing": {
"price": 250,
"msrp": 250,
"currency": "CAD"
},
"availability": {
"status": "in_stock",
"quantity": 8
}
},
"quantities": {
"front": 2,
"rear": 2
},
"setPrice": {
"amount": 900,
"currency": "CAD",
"display": true
},
"availability": {
"frontQuantity": 8,
"rearQuantity": 8,
"purchasableForSet": true,
"availabilityUnknown": false
}
},
{
"key": "PIRL|pz4",
"brand": "Pirelli",
"model": "P Zero",
"front": {
"sku": "F2",
"name": "Pirelli tire F2",
"brand": "Pirelli",
"pricing": {
"price": 200,
"msrp": 200,
"currency": "CAD"
},
"availability": {
"status": "in_stock",
"quantity": 8
}
},
"rear": {
"sku": "R2",
"name": "Pirelli tire R2",
"brand": "Pirelli",
"pricing": {
"price": 250,
"msrp": 250,
"currency": "CAD"
},
"availability": {
"status": "in_stock",
"quantity": 8
}
},
"quantities": {
"front": 2,
"rear": 2
},
"setPrice": {
"amount": 900,
"currency": "CAD",
"display": true
},
"availability": {
"frontQuantity": 8,
"rearQuantity": 8,
"purchasableForSet": false,
"availabilityUnknown": false,
"notPurchasableReason": "rear_not_purchasable"
}
}
],
"facets": {
"brands": [
{
"brand": "Michelin",
"count": 1
},
{
"brand": "Pirelli",
"count": 1
}
],
"seasons": [
{
"season": "Summer",
"count": 2
}
]
},
"unpairedFrontModels": 1,
"unpairedRearModels": 0,
"meta": {
"api_version": "1.0",
"cache_duration": 300,
"droppedForMissingRow": 0,
"vehicle_graded": false
}
}{
"error": "Provide url or page_type"
}Caching
- Max Age
- 300s