Skip to main content

List Vendors

GET 

https://secure.fleetio.com/api/v1/vendors

Returns a list of Vendors belonging to your account.

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.

    name object
    oneOf
    likestringrequired
    external_id object
    eqstringrequired
    created_at object
    oneOf
    ltstringrequired
    updated_at object
    oneOf
    ltstringrequired
    sort object

    The fields and direction to sort the results by.

    idSortAscDescDefaultDesc (string)

    Possible values: [asc, desc]

    Default value: desc
    created_atSortAscDesc (string)

    Possible values: [asc, desc]

    updated_atSortAscDesc (string)

    Possible values: [asc, desc]

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
    name object
    oneOf
    likestringrequired
  • ]
  • sorted_by object[]

    The sorts applied to the returned record set.

  • Array [
  • anyOf
    created_atSortAscDesc (string)

    Possible values: [asc, desc]

  • ]
  • records object[]
  • Array [
  • idintegerrequired
    created_atdate-timerequired
    updated_atdate-timerequired
    namestringrequired

    The name of the Vendor.

    phonestringnullablerequired

    The phone number of the Vendor.

    street_addressstringnullablerequired

    The street address of the Vendor.

    street_address_line_2stringnullablerequired

    The second line of the street address of the Vendor.

    citystringnullablerequired

    The city of the Vendor.

    regionstringnullablerequired

    The region, state, province, or territory of the Vendor.

    postal_codestringnullablerequired

    The postal code or ZIP code of the Vendor.

    countrystringnullablerequired

    The country of the Vendor.

    websitestringnullablerequired

    The website of the Vendor.

    notesstringnullablerequired

    Additional notes about the Vendor.

    fuelbooleannullablerequired

    Indicates whether the Vendor provides fuel.

    servicebooleannullablerequired

    Indicates whether the Vendor provides service.

    partsbooleannullablerequired

    Indicates whether the Vendor provides parts.

    vehiclebooleannullablerequired

    Indicates whether the Vendor provides vehicles.

    contact_namestringnullablerequired

    The name of the contact person for the Vendor.

    contact_emailstringnullablerequired

    The email address of the contact person for the Vendor.

    contact_phonestringnullablerequired

    The phone number of the contact person for the Vendor.

    latitudefloatnullablerequired

    The latitude of the Vendor's location.

    longitudefloatnullablerequired

    The longitude of the Vendor's location.

    external_idstringnullablerequired

    The external identifier of the Vendor.

    archived_atstringnullablerequired

    The date and time when the Vendor was archived, if applicable.

    custom_fieldsobjectnullable

    *Full details on working with Custom Fields here.

    labels object[]required
  • Array [
  • idId (integer)

    Possible values: >= 1

    namestring
  • ]
  • ]

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)
curl -L 'https://secure.fleetio.com/api/v1/vendors' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>' \
-H 'Account-Token: <Authorization>'
Request Collapse all
Base URL
https://secure.fleetio.com/api
Auth
Parameters
— query
— query
— query
name
external_ideq
created_at
updated_at
— query
id
created_at
updated_at
ResponseClear

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