---
title: "Retrieve Inventory Sets"
method: GET
path: "/part_location_details/{id}/inventory_sets"
tags: ["Part Location Details"]
---

# Retrieve Inventory Sets

`GET /part_location_details/{id}/inventory_sets`

## Request

- Base URL: `https://secure.fleetio.com/api`
- URL: `https://secure.fleetio.com/api/part_location_details/{id}/inventory_sets`
- Auth: API key in header `Authorization` and API key in header `Account-Token`
- TypeScript: <https://skmtc.dev/fleetio/apis/fleetio-developer-api/docs/part_location_details/:id/inventory_sets/get.ts> (a function with typed inputs; its response is checked against the schema)

:::info
[Read more about Inventory Sets](https://help.fleetio.com/s/article/Switching-to-an-Advanced-Inventory-Valuation-Method-FIFO-LIFO#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.

## Path parameters

- `id` string, required

## Query parameters

- `start_cursor` string
- `per_page` integer
- `filter` object
  - `purchase_order_line_item_id` EqFilter
    - `eq` string, required
  - `added_at` union
    - object
      - `lt` string, required
    - object
      - `lte` string, required
    - object
      - `gt` string, required
    - object
      - `gte` string, required
  - `created_at` union
    - object
      - `lt` string, required
    - object
      - `lte` string, required
    - object
      - `gt` string, required
    - object
      - `gte` string, required
  - `updated_at` union
    - object
      - `lt` string, required
    - object
      - `lte` string, required
    - object
      - `gt` string, required
    - object
      - `gte` string, required
- `sort` object
  - `id` 'asc' | 'desc'
  - `added_at` 'asc' | 'desc'
  - `created_at` 'asc' | 'desc'
  - `updated_at` 'asc' | 'desc'

## Response `200`

OK

- object
  - `start_cursor` string, nullable: The current start cursor of the records returned.
  - `next_cursor` string, nullable: The next cursor to retrieve the next page of records.
  - `per_page` integer: The maximum number of records returned.
  - `estimated_remaining_count` integer: The number of remaining records including the returned records, up to a maximum of 500.
  - `filtered_by` union[]: The filters applied to the returned record set.
    - union
      - object
        - `purchase_order_line_item_id` EqFilter
          - `eq` string, required
      - object
        - `added_at` union
          - object
            - `lt` string, required
          - object
            - `lte` string, required
          - object
            - `gt` string, required
          - object
            - `gte` string, required
      - object
        - `created_at` union
          - object
            - `lt` string, required
          - object
            - `lte` string, required
          - object
            - `gt` string, required
          - object
            - `gte` string, required
      - object
        - `updated_at` union
          - object
            - `lt` string, required
          - object
            - `lte` string, required
          - object
            - `gt` string, required
          - object
            - `gte` string, required
  - `sorted_by` union[]: The sorts applied to the returned record set.
    - union
      - object
        - `updated_at` 'asc' | 'desc'
      - object
        - `added_at` 'asc' | 'desc'
      - object
        - `created_at` 'asc' | 'desc'
      - object
        - `id` 'asc' | 'desc'
  - `records` InventorySet[]
    - `id` integer
    - `part_id` integer, required: The Fleetio ID for the `Part` associated with this Inventory Set.
    - `part_location_detail_id` integer: The ID of the `PartLocationDetail` associated with this Inventory Set.
    - `added_at` string, date-time, required: The date and time at which this Inventory Set was added.
    - `available_quantity` string, required: The number of `Parts` available for use in this Inventory Set.
    - `original_quantity` string, required: The number of `Parts` which were originally added to this Inventory Set.
    - `unit_cost_cents` string, required: The cost of each `Part` in this Inventory Set in cents.
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400`: The format or parameters of the request was invalid
- `401`: Request could not be authenticated
- `403`: Insufficient permission to perform this operation
- `404`: The requested resource could not be located
- `500`: Something unexpected happened

## Changes

- **2026-11-06** `49558d744bd7`: 1 info
  - for the `query` request parameter `per_page`, the min was decreased from `2.00` to `1.00`

[Operation history](https://skmtc.dev/fleetio/apis/fleetio-developer-api/changes/part_location_details/:id/inventory_sets/get.md)

---

[API](https://skmtc.dev/fleetio/apis/fleetio-developer-api.md) - [All operations](https://skmtc.dev/fleetio/apis/fleetio-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fleetio/apis/fleetio-developer-api/revisions/49558d744bd7?raw)
