Parts

Update Part

Update a Part

patch/parts/{id}

Request

Path parameters

idstring required

The id of the relevant record

Request body

descriptionstring
manufacturer_part_numberstring

The part number from this Part's manufacturer.

measurement_unit_idinteger
measurement_unit_namestring

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

numberstring

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_idinteger
part_category_namestring

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

part_manufacturer_idinteger
part_manufacturer_namestring

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

unit_costnumber

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.

upcstring

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

custom_fieldsCustomFields nullable

*Full details on working with Custom Fields here.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.