Skip to main content

Update Part

Update a Part

Path Parameters

  • id string required

    Possible values: Value must match regular expression ^[0-9]+$

    The id of the relevant record

Request Body

  • description string
  • manufacturer_part_number string

    Possible values: <= 255 characters

    The part number from this Part's manufacturer.

  • measurement_unit_id integer

    Possible values: >= 1

  • measurement_unit_name string

    The name of the measurement unit. If the measurement unit does not exist, it will be ignored.

  • number string

    Possible values: <= 255 characters

    The part number to be used for this Part within Fleetio. Must be unique. Does not have to be the same as the manufacturer's part number.

  • part_category_id integer

    Possible values: >= 1

  • part_category_name string

    Possible values: <= 255 characters

    The name of the part category. If the part category does not exist, it will be created.

  • part_manufacturer_id integer

    Possible values: >= 1

  • part_manufacturer_name string

    Possible values: <= 255 characters

    The name of the part manufacturer. If the part manufacturer does not exist, it will be created.

  • unit_cost number

    The cost per unit of this Part, which will be interpreted as dollars, or dollars and cents. May be sent as a string, integer, or float. Value may be up to two decimal places.

  • upc string

    Possible values: <= 255 characters

    The Universal Product Code for this Part. Must be unique.

  • tire_config_attributes object
    info

    tire_config_attributes are available to accounts on Premium plans

    Parts that have a Part Category where tire_category is true can have a TireConfg which are tire-specific Part attributes.

  • aspect_ratio float

    Aspect ratio of tire.

  • rim_diameter float

    Rim diameter of tire.

  • load_index float

    Load index of tire.

  • metric_type string

    Possible values: [EU, P, HL, T, LT, C, ST]

    Metric type of tire.

  • width float

    Width of tire.

  • construction string

    Possible values: [B, R, D]

    Construction type of tire.

  • speed_rating string

    Possible values: [A1, A2, A3, A4, A5, A6, A7, A8, B, C, D, E, F, G, H, J, K, L, M, N, P, Q, R, S, T, U, V, W, Y]

    Speed rating of tire.

  • factory_tread_depth float

    factory_tread_depth support is currently in private beta.

    Tread depth of tire in /32" when new, as specified by the manufacturer.

  • minimum_tread_depth float

    minimum_tread_depth support is currently in private beta.

    The legal minimum tread depth, in /32".

  • life_expectancy integer

    life_expectancy support is currently in private beta.

    The Life Expectancy or “Warranty” of a tire is the expected meter range, usually measured in miles, of a given tire as specified by the manufacturer.

  • custom_fields object

    *Full details on working with Custom Fields here.

Responses

OK

Loading...