Versions Compared

Key

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

...

List of brands

 Request structure

 Required

No

Optional

  1. offset

  2. limit

 Request example

...

  • name - Brand Name

  • id - Brand ID

  • logo - Brand Logo (optional, if present)

 Response example

Code Block
languagejson
{
  "data": [
    {
      "id": 1,
      "name": "Wheel Brand 1",
      "logo": "https://somecatalogapi.com/uploads/brand/a62696697df65760b3477bf4e025d81b6e409bc0.png"
    },
    {
      "id": 2,
      "name": "Wheel Brand 2",
      "logo": "https://somecatalogapi.com/uploads/brand/a62696697df65760b1234bf4e025d81b6e503ac2.png"
    }
  ],
  "meta": {
    "count": 2,
    "total": 1000,
    "offset": 0,
    "limit": 100
  }
}

...

List of models

 Request structure

 Required

  • brand_id

Optional

  • offset

  • limit

 Request example

...

 Response example

Code Block
languagejson
{
  "data": [
    {
      "id": 1,
      "name": "Wheel Brand 1 Model 1",
      "brand_id": 1
    },
    {
      "id": 2,
      "name": "Wheel Brand 1 Model 2",
      "brand_id": 1
    }
  ],
  "meta": {
    "count": 2,
    "total": 1000,
    "offset": 0,
    "limit": 100
  }
}

...

List of wheels

 Request structure

 Required

  • brand_id

  • model_id

Optional, but preferred

  1. offset

  2. limit

 Request example

...

  • brand_id - Brand ID

  • model_id - Model ID

  • upc - UPC

  • part_number - Part number

  • wheel_width - Width (inches)

  • wheel_diameter - Diameter (inches)

  • et - ET (Offset) (mm)

  • pcd_1 - Main PCD (mm)

  • pcd_2 - Additional PCD (optional, if present)

  • pcd_3 - Additional PCD (optional, if presentarray of pcd (mm)

  • bore_min - Minimum Centre Bore (mm) (optional, if present)

  • bore_max - Max Centre Bore (mm)

  • colour - Colour

  • min_wheel_load - Minimum Wheel Load (kglbs) (optional, if present)

  • wheel_load - Wheel Load (kglbs)

  • images - List of available Wheel images (angle type - required)

  • weight - Wheel Weight (kglbs)

  • shipping_weight - Shipping Wheel Weight (kglbs) (optional, if present)

  • material - Wheel Material

  • attributes - array of tire attributes, like winter_approved - Wheel approved for winter usage or no (boolean) , electric_vehicle_optimized, etc. (optional, if present)

 Response example

Code Block
languagejson
{
  "data": [
    {
      "brand_id": 1,
      "model_id": 1,
      "upc": "757558118007",
      "part_number": "101B-816524",
      "wheel_width": 10.5,
      "wheel_diameter": 18.5,
      "et": 24,
      "pcd_1": [
          "5X114.3",
      "pcd_2":    "4X100",
         "pcd_3": "5X112"
      ],
      "bore_min": 50.2,
      "bore_max": 70.7,
      "colour": "Gloss Black",
      "min_wheel_load": 700,
      "wheel_load": 1400,
      "images": [
          {
            "type": "angle",
            "url": "https://somecatalogapi.com/wheel/image_angle.png"
      },
      {
            "type": "face",
            "url": "https://somecatalogapi.com/wheel/image_face.png"
      },
      {
            "type": "general",
            "url": "https://somecatalogapi.com/wheel/image_general_1.png"
      }
      ],
      "weight": 30,
      "shipping_weight": 34,
      "material": "Cast Aluminum",
      "attributes": [
          "winter_approved": 1,
          "electric_vehicle_optimized",
          "dually"
      ]
    }
  ],
  "meta": {
    "count": 1,
    "total": 1000,
    "offset": 0,
    "limit": 100
  }
}