Skip to main content

Retrieve Inventory Sets

GET 

https://secure.fleetio.com/api/v3/part_location_details/:id/inventory_sets

This endpoint provides Part price breakdown for the requested quantity at the requested location based on the Advanced Inventory Valuation method. This endpoint should not be used if the account is using standard Static Pricing.

The added_at value represents the date at which the inventory was added to the location.

Request

Path Parameters

    id stringrequired

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

    The id of the PartLocationDetail for the Inventory Sets returned.

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.

    purchase_order_line_item_id object
    eqstringrequired
    added_at object
    oneOf
    ltstringrequired
    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
    added_atSortAscDesc (string)

    Possible values: [asc, 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
    purchase_order_line_item_id object
    eqstringrequired
  • ]
  • sorted_by object[]

    The sorts applied to the returned record set.

  • Array [
  • anyOf
    updated_atSortAscDesc (string)

    Possible values: [asc, desc]

  • ]
  • records object[]
  • Array [
  • idinteger
    part_idintegerrequired

    The Fleetio ID for the Part associated with this Inventory Set.

    part_location_detail_idinteger

    The ID of the PartLocationDetail associated with this Inventory Set.

    added_atdate-timerequired

    The date and time at which this Inventory Set was added.

    Example: 2023-03-14T13:46:27-06:00
    available_quantitystringrequired

    The number of Parts available for use in this Inventory Set.

    original_quantitystringrequired

    The number of Parts which were originally added to this Inventory Set.

    unit_cost_centsstringrequired

    The cost of each Part in this Inventory Set in cents.

    created_atdate-time
    updated_atdate-time
  • ]

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/v3/part_location_details/:id/inventory_sets' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>' \
-H 'Account-Token: <Authorization>'
Request Collapse all
Base URL
https://secure.fleetio.com/api
Auth
Parameters
— pathrequired
— query
— query
— query
purchase_order_line_item_ideq
added_at
created_at
updated_at
— query
id
added_at
created_at
updated_at
ResponseClear

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