• Levi Fawcett

APIs - Overview and example queries

UVDB

UVDB (Universal Vehicle Database) is used to query all information relating to vehicles.


For example, you can query vehicle makes.

{
  uvdb {
    vehicle_selector {
      uvdb_makes(limit:500) {
        items {
          id
          name
        }
      }
    }
  }
}

And models, based on the make.

{
  uvdb {
    vehicle_selector {
      uvdb_models(uvdb_make_id:1372, limit:500) {
        items {
          id
          name
        }
      }
    }
  }
}

You can then query vehicle definitions base on the model.


{
 uvdb {
    vehicle_selector {
      uvdb_vehicle_definitions(uvdb_model_id:67209) {
        items {
          uvdb_make {
            name
          }
          uvdb_model {
            name
          }
        }
      }
    }
  }

GAPC


Finally, you could see all the GAPC Parts that fit by filtering by the vehicle definition.



{
  gapc {
    parts(vehicle: {vehicle_definition_id:1000}, limit:5) {
      items {
        name
        barcode
        gapc_brand {
          name
        }
        gapc_part_type {
          name
        }
      }
    }
  }
}

66 views0 comments

Navigation

Solutions

Applications

Links

Integrations

Customers