Skip to main content
Autrex
Cart (0 items)
GET/api/v1/tires/sets

Staggered 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.

tiresstaggeredsetsfitment

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

ParameterTypeRequiredDescription
frontstringRequiredFront size, e.g. 245/35R19
rearstringRequiredRear size; must differ from front
brandstringOptionalBrand id or name; comma list or repeated
seasonstringOptionalSeason, e.g. summer, winter, all-season
price_minnumberOptionalMinimum set price (CAD)
price_maxnumberOptionalMaximum set price (CAD)
sortstringOptionalSort order; purchasable sets always come first
pagenumberOptionalPage number
limitnumberOptionalSets per page (max 48)
Allowed values for sort:
availabilityprice_ascprice_descbrand

Request Example

cURL
curl "https://autrex.ca/api/erp/api/v1/tires/sets?front=245/35R19&rear=275/35R19&brand=Michelin&season=summer"
JavaScript
fetch("https://autrex.ca/api/erp/api/v1/tires/sets?front=245/35R19&rear=275/35R19&brand=Michelin&season=summer")

Response

200A page of sets with facets counted over sets and the number of models that exist in only one of the two sizes
{
  "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
  }
}
400Missing or unrecognised size, or front equals rear
{
  "error": "Provide url or page_type"
}

Caching

Max Age
300s