Mapping Products to Vehicles
1. Fetching Vehicle Data
Definitions:
OE replacements – products matching original, factory specifications
Staggered width – vehicles with smaller width wheels/tires on the front axle and larger on the rear axle(s).
Staggered diameter – same as above but for diameter
The initial step is to retrieve vehicle fitment data, which includes fitments and tags, using the following URL parameters:
i-fitments
- Original Equipment (OE) fitmentsi-optionalFitments
- Optional Original Equipment fitmentsi-plusSizes
- Other possible wheel and tire configurations; some may require vehicle modifications (use fitment notes)i-tags
- Vehicle segment tags and niche tags
The user can be presented with fitments, optional fitments, and plus sizes to facilitate the selection of their vehicle configuration. Compatible products (tires and/or wheels) can be queried for once a fitment is selected.
Application | Fitments | |
---|---|---|
1 | OE replacements | Use values from |
2 | Compatible products not requiring modifications | Add |
3 | Minor modifications | Add |
4 | Modified Suspension | Allow any diameters, widths and offsets |
StaggeredWidth and StaggeredDiameter values may be used to offer different front and rear sizes even when not listed in vehicle’s fitments. This is optional and based on aftermarket trends.
Plus sizes are compatible only within each ChassisId
. When the user selects an OE fitment, they may be presented with a list of plus sizes that match the ChassisId
of the OE fitment.
DefaultChassisId
points to the estimated most likely configuration for the vehicle.
Example
f-id: 297109
i-fitments:
i-plusSizes:
i-optionalFitments:
i-tags:
key: YOUR_KEY
The above query will return the following values (irrelevant fields were omitted):
"BoltCircle": 114.3,
"Bore": 70.6,
"BoreRear": null,
"DefaultChassisId": 92515,
"Drw": false,
"LoadRating": 97,
"LoadRatingRear": null,
"LugCount": 5,
"MaxWheelLoad": 560,
"NicheTag": "Mustang",
"StaggeredDiameter": false,
"StaggeredWidth": true,
"Tags": ["Classic", "Luxury", "Replica"]
"Type": "Car",
"Fitments": [{
"AspectRatio": 50,
"AspectRatioRear": null,
"ChassisId": 92515,
"Diameter": null,
"DiameterRear": null,
"Format": "M",
"Id": 174681,
"InchWidth": null,
"InchWidthRear": null,
"MaxOffset": 45,
"MaxOffsetRear": null,
"MinOffset": 30,
"MinOffsetRear": null,
"Name": "",
"Offset": 40,
"OffsetRear": null,
"RimDiameter": 18,
"RimDiameterRear": null,
"RimWidth": 8,
"RimWidthRear": null,
"SectionWidth": 235,
"SectionWidthRear": null,
"SpeedRating": "W",
"SpeedRatingRear": null,
"TireSize": "235/50R18",
"TireSizeRear": null
},
...
],
"OptionalFitments": [{
"AspectRatio": 40,
"AspectRatioRear": 40,
"ChassisId": 61654,
"Diameter": null,
"DiameterRear": null,
"Format": "M",
"Id": 174686,
"InchWidth": null,
"InchWidthRear": null,
"MaxOffset": null,
"MaxOffsetRear": 48,
"MinOffset": null,
"MinOffsetRear": 35,
"Offset": 45,
"OffsetRear": 52,
"RimDiameter": 19,
"RimDiameterRear": 19,
"RimWidth": 9.5,
"RimWidthRear": 10,
"SectionWidth": 255,
"SectionWidthRear": 275,
"SpeedRating": "(Y)",
"SpeedRatingRear": "(Y)",
"TireSize": "255/40R19",
"TireSizeRear": "275/40R19"
}
],
"PlusSizes": [{
"AspectRatio": 40,
"ChassisId": 61654,
"Diameter": null,
"Format": "M",
"InchWidth": null,
"MaxOffset": 40,
"MinOffset": 30,
"Notes": [],
"RimDiameter": 19,
"RimWidth": 8.5,
"SectionWidth": 245,
"TireSize": "245/40R19",
"Type": "F"
},
...
]
2. Wheels
Matching Wheel Styles
See the API Guide for a description of the parameters:
AutoSync API
Vehicle | Wheel Styles | Notes |
---|---|---|
LugCount |
|
|
BoltCircle |
|
|
Bore and BoreRear |
| If BoreRear is not |
MaxWheelLoad |
|
|
Type or Drw |
| If Drw (Dual Rear Wheels) is set to
|
Tags |
| Comma-separated values |
NicheTag |
|
|
Offset |
| Taken from OE fitments. Use this value for factory replacements. Otherwise, see MinOffset and MaxOffset below. |
MinOffset and MaxOffset |
| These are taken from plus sizes. The values may be applied to OE fitments if |
RimDiameter and RimDiameterRear |
| If RimDiameterRear is not |
RimWidth and RimWidthRear |
| If RimWidthRear is not |
Pseudocode for Matching Wheel Styles
Pascal-case labels represent vehicle related fields. Snake-case labels represent wheel related fields.
LugCount = lug_count AND
(BoltCircle = bolt_circle1 OR BoltCircle = bolt_circle2) AND
MAX(Bore, BoreRear) <= bore AND
MaxWheelLoad <= load_rating AND
if Drw = true {
"Dually" IN wheel_tags
} else {
Type IN wheel_tags
} AND
at least one of the Tags IN wheel_tags AND
(NicheTag = niche_tag OR niche_tag IS NULL) AND
MinOffset <= offset AND MaxOffset >= offset AND
RimDiameter = diameter AND
RimWidth = width
If any of the rear values are not NULL, analogues code would be required for matching rear tires.
For OE replacements replace line 12 with:
Example
For OE replacements replace lines 10 and 11 with:
3. Tires
Matching Tire Models
See the API Guide for a description of the parameters:
AutoSync API
METRIC - fields relevant to metric tires only (Format = M
)
FLOTATION - fields relevant to flotation tires only (Format = F
)
Vehicle | Tire Models | Notes |
---|---|---|
Type |
| See Note 3 below for details on converting vehicle type to tire tags. |
SpeedRating and SpeedRatingRear |
| If SpeedRatingRear is not |
LoadRating and LoadRatingRear |
| If LoadRatingRear is not |
SectionWidth and SectionWidthRear |
| METRIC If SectionWidthRear is not |
AspectRatio and AspectRatioRear |
| METRIC If AspectRatioRear is not |
RimDiameter and RimDiameterRear |
| METRIC / FLOTATION If RimDiameterRear is not |
Diameter and DiameterRear |
| FLOTATION If DiameterRear is not |
InchWidth and InchWidthRear |
| FLOTATION If InchWidthRear is not |
Pseudocode for Matching Tire Models
Pascal-case labels represent vehicle related fields. Snake-case labels represent tire related fields.
Note 1. If any of the rear values are not NULL
, analogues code would be required for matching rear tires.
Note 2. Speed ratings ordered from the lowest to the highest:
Note 3. Vehicle type to tire tag conversion:
Car
→ Car/CUV
CUV
→ Car/CUV
SUV
→ UV/Light Truck
Truck
→ UV/Light Truck
Van
→ UV/Light Truck
UTV
→ ATV/UTV
Example
AutoSync © 2019-2021 All Rights Reserved