Versions Compared

Key

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

...

Search by size

 Request structure

 Required

  1. bolt_pattern (eg 5x114.3) 

  2. diameter

Optional

  1. width (in case it’s present it should be optional in request)

  2. locations[] (locations ids) - several IDs can be transferred

  3. min_quantity

...

Search by part numbers

 Request structure

 Required

  • part_numbers[] (multiple part numbers should be supported)

Optional

  • locations (locations ids) - several IDs can be transferred

  • min_quantity

...

Code Block
[
 {
  "part_number": "123456",
  "brand": "Wheel Brand",
  "retail_price": 250.5,
  "cost": 200,
  "locations": [
              {
                "name": "Location 1",
                “id”: 2, 
                "quantity": 4
              },
              {
                "name": "Location 2",
                "quantity": 4
              }
              ]
  }
]

Optional Methods / Endpoints

Get List of Dealer’s Locations

...

Code Block
{ "delivery_options": [
  {
  "name": "UPS",
  “id”: 1,
  "shipping_cost": 89.41,
  "delivery_date": 01/01/2023"2023–01–01T10:12:29-03:00"
  },
  {
  "name": "FedEx",
  “id”: 2,
  "shipping_cost": 122.41,
  "delivery_date": 01/02/2023"2022–01–02T10:12:29-03:00"
  },
  {
  "name": "Our Truck",
  “id”: 3,
  "shipping_cost": 52.41,
  "delivery_date": 01/03/2023"2022–01–03T10:12:29-03:00"
  },
  {
  "name": "PickUp",
  “id”: 4,
  "shipping_cost": 0,
  "delivery_date": 01/01/2023"2022–01–04T10:12:29-03:00"
  }
]
}