Skip to main content

List Archived Parts

GET 

https://secure.fleetio.com/api/v1/parts/archived

List archived Parts

Request

Query Parameters

    start_cursor string

    The start cursor for Keyset pagination.

    per_page integer

    Possible values: >= 2 and <= 100

    The number of records per page to return.

    Default value: 50
    filter object

    The fields, operations, and values to filter the records by.

    manufacturer_part_number object
    oneOf
    likestringrequired
    number object
    oneOf
    likestringrequired
    upc object
    eqstringrequired
    part_category_id object
    eqstringrequired
    part_manufacturer_id object
    eqstringrequired

Responses

OK

Schema
    start_cursorstringnullable

    The current start cursor of the records returned.

    next_cursorstringnullable

    The next cursor to retrieve the next page of records.

    per_pageinteger

    The maxumum number of records returned.

    estimated_remaining_countinteger

    The number of remaining records including the returned records, up to a maximum of 500.

    filtered_by object[]

    The filters applied to the returned record set.

  • Array [
  • anyOf
    manufacturer_part_number object
    oneOf
    likestringrequired
  • ]
  • sorted_by object[]

    The sorts applied to the returned record set.

  • Array [
  • anyOf
    archived_atSortAscDesc (string)

    Possible values: [asc, desc]

  • ]
  • records object[]
  • Array [
  • idintegerrequired
    descriptionstringnullablerequired

    A description of this Part.

    manufacturer_part_numberstringnullablerequired

    The part number from this Part's manufacturer.

    measurement_unit_idintegernullablerequired

    The id of the Measurement Unit associated with this Part.

    numberstringrequired

    The part number being used for this Part within Fleetio.

    part_category_idintegernullablerequired

    The id of the Part Category associated with this Part.

    part_manufacturer_idintegernullablerequired

    The id of the Part Manufacturer associated with this Part.

    upcstringnullablerequired

    The Universal Product Code for this Part.

    unit_cost_centsintegernullablerequired

    The unit cost in cents for this Part.

    average_unit_cost_centsstringnullablerequired

    The average unit cost in cents for this Part. FIFO/LIFO accounts only.

    default_image_urlstringnullablerequired
    archived_atdate-timenullablerequired

    The date and time at which this Part was archived.

    Example: 2023-03-14T13:46:27-06:00
    attachment_permissions objectnullablerequired
    read_photosboolean

    Indicates whether the user has read permission for photos.

    manage_photosboolean

    Indicates whether the user has permission to manage (eg. upload, delete) photos.

    read_documentsboolean

    Indicates whether the user has read permission for documents.

    manage_documentsboolean

    Indicates whether the user has permission to manage (eg. upload, delete) documents.

    custom_fieldsobjectnullable

    *Full details on working with Custom Fields here.

    part_manufacturer objectnullable
    idinteger
    namestring

    The name of the Part Manufacturer.

    descriptionstring
    created_atdate-timenullable

    The date and time at which this Part Manufacturer was created.

    Example: 2023-03-14T13:46:27-06:00
    updated_atdate-timenullable

    The date and time at which this Part Manufacturer was last updated.

    Example: 2023-03-14T13:46:27-06:00
    part_category objectnullable
    idId (integer)

    Possible values: >= 1

    tire_categoryboolean

    Indicates whether part is a tire or not

  • ]

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: Prefix the value with "Token", for example: "Token 76cbe06c49a64".
You can generate a new API key [here](https://secure.fleetio.com/api_keys).
name: Account-Tokentype: apiKeyin: headerdescription: You can find your Account-Token [here](https://secure.fleetio.com/api_keys)

Request Collapse all
Base URL
https://secure.fleetio.com/api
Auth
Parameters
— query
— query
— query
manufacturer_part_number
number
upceq
part_category_ideq
part_manufacturer_ideq
ResponseClear

Click the Send API Request button above and see the response here!