Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: Parameters highlighted bold - required.

Adding filters

You can add filters to any of search methods.

Full list of filters:

  • brand

  • load_index

  • speed_rating

  • price

  • run_flat

  • light_truck

  • category

  • season_id

  • offers

Example

Code Block
filters: {
        brand: ['Bridgestone', 'Firestone', 'Fuzion'],
        load_index: [91, 89],
        speed_rating: ['H', 'V', 'W', 'S'],
        price: {
            from: 100,
            to: 160
        }
    }

Search by Aces

aces_id - Vehicle Aces ID

location_id - Dealer's location ID

Example

Code Block
widget.searchByVehicle({
	aces_id: 268647,
	location_id: 15290
});

...

location_id - Dealer's location ID

season_id - Tire season

Example

Code Block
widget.searchByVehicle({
	year: '2017',
	make: 'Toyota',
	model: 'Highlander',
	trim: 'SE',
	car_tire_id: '168544',
	location_id: 12650,
	season_id: 'all'
});

...

location_id - Dealer's location ID

season_id - Tire season

Example

Code Block
widget.searchByVehicle({
	year: '2016',
	make: 'BMW',
	model: '228i xDrive',
	trim: 'Coupe',
	car_tire_id: '142318||142319',
	location_id: 15290,
	season_id: 'all'
});

...

speed_rating - Speed rating

Example

Code Block
widget.searchBySize({
	width: 195,
	height: 65,
	rim: 15,
	location_id: 15290,
	season_id: 'all',
	load_index: '89',
	speed_rating: 'H'
});

...

location_id - Dealer's location ID

season_id - Tire season

Example

Code Block
widget.searchBySize({
	width: {f: 195, r: 205},
	height: {f: 65, r: 55},
	rim: {f: 15, r: 16},
	location_id: 15290,
	season_id: 'all'
});

...

location_id - Dealer's location ID

Example

Code Block
widget.searchByRawSize({
	size: 1956515,
	location_id: 15290
});

...

location_id - Dealer's location ID

Example

Code Block
widget.searchByPartNumbers({
	part_numbers: ['9','90000003278','240','8501','15494650000','402542073','100A1524','1014241','78380','84671','72016','90000007446','38076'],
	location_id: 15290
});

...

location_id - Dealer's location ID

Example

Code Block
widget.searchByLicense({
	state: 'NH', 
	license: '12345'
	location_id: 15290
});

...

location_id - Dealer's location ID

Example

Code Block
widget.searchByVIN({
	vin: '1N4AZ1CPXJC309165',
	location_id: 15290
});

...

JS Functions

addCustomerInfo

Example

Code Block
widget.addCustomerInfo({
    name: 'John Doe',
    phone: '4564564562',
    email: 'john@doe.com',
    zipPostalCode: 'L4S0B8',
    city: 'Richmond Hill',
    stateProvince: 'ON',
    addressLine1: '30 Via Renzo Drive',
    addressLine2: 'Suite 254',
    preferredTime: '2020-11-30 17:15', //15 min step    
    wayToContact: 'phone',
    vehicle: {
        year: '2020',
        make: 'Honda',
        model: 'CR-V',
        trim: 'LX',
        carTireId: 162713,
    }
});

...

editable: true/false (optional with true being default)
singleUse: true/false (optional with false being default)

Example

Code Block
widget.addSupplierOrderInfo({
		poNumber: {
        value: '111222333',
        editable: false,
        singleUse: false,
    }
});

...