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:

Name

Type

Description

Value

year

string

Required.

Year of the specific vehicle, appliance, and so on that the product is compatible with.

n/a

make

string

Required.

Make of the specific vehicle, appliance, and so on that this product is compatible with.

n/a

model

string

Required.

Model of the specific vehicle, appliance, and so on that this product is compatible with.

n/a

fit_type (deprecated)

enum

Optional.

Quality of requested fit.

Note

Most 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_fit

  • no_fit

sub_model

string

Optional.

Sub-model of the specific vehicle, appliance, and so on that this product is compatible with.

n/a

transmission

string

Optional.

Transmission of the specific vehicle, appliance, and so on that this product is compatible with.

n/a

engine

string

Optional.

Engine of the specific vehicle, appliance, and so on that this product is compatible with.

n/a

trim

string

Optional.

Trim/body style of the specific vehicle, appliance, and so on that this product is compatible with.

n/a

truck_bed_length

string

Optional.

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:

RequestResponse
"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”
  }]
}]

Do you have some feedback for us?

If you have suggestions for improving this article,