The fitment object (deprecated)

A fitment object is an object that represents a fitment or the compatibility of the given product that the user has chosen when interacting with Sitecore Discover services.

Important

This version of the fitment object is deprecated. See the fitment object for the current specifications.

The following table lists the attributes for the deprecated fitment object:

NameTypeDescriptionValue
yearstringRequired.Year of the specific vehicle, appliance, and so on that the product is compatible with.n/a
makestringRequired.Make of the specific vehicle, appliance, and so on that this product is compatible with.n/a
modelstringRequired.Model of the specific vehicle, appliance, and so on that this product is compatible with.n/a
fit_type (deprecated)enumOptional.Quality of requested fit.NoteMost fitment customers require a complete fitment object to match a given product to fitment. A customer doing fitment restriction/validation uses a complete fitment object, hence partial_fit type is not applicable.exact_fit (default)partial_fitno_fit
sub_modelstringOptional.Sub-model of the specific vehicle, appliance, and so on that this product is compatible with.n/a
transmissionstringOptional.Transmission of the specific vehicle, appliance, and so on that this product is compatible with.n/a
enginestringOptional.Engine of the specific vehicle, appliance, and so on that this product is compatible with.n/a
trimstringOptional.Trim/body style of the specific vehicle, appliance, and so on that this product is compatible with.n/a
truck_bed_lengthstringOptional.Truck bed length of the specific vehicle, appliance, and so on that this product is compatible with.n/a

The following shows an example of fitments in a product:

"products": [{
  "sku": "XYZ-123",
  "price": 14.99,
  "quantity": 2,
  "price_original": 29.99,
  "fitments": [{   
    "fitment_id": "1232424",   
    "year": "2020",  
    "make": "BMW"
    "model": "S1250R",  
    "fit_type": "no_fit”
  }]
}]
If you have suggestions for improving this article, let us know!