Retrieve Part
Retrieve the details of an existing Part.
Request
- Base URLhttps://secure.fleetio.com/api
- AuthAPI key in header Authorization and API key in header Account-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The id of the relevant record
Query parameters
Whether each entry in cross_reference_members carries its per-Part-Location stock in part_location_details, and whether the list is narrowed to the members holding stock. Omitting this parameter returns the same body as passing false.
Which Part Locations to read, when with_cross_reference_member_locations is true. A member is returned only if it holds stock at one of these Part Locations, and it carries those Part Locations alone in part_location_details. Omit to read every Part Location the current API credentials can see. Repeat the parameter for more than one - part_location_id[]=1&part_location_id[]=2 - or pass a single id without the brackets. Values that are not positive integers are ignored, so a comma-separated list reads as no filter at all rather than as several Part Locations.
Response
OK
Example response
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"part_locations": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"available_quantity_updated_at": "2023-03-14T13:46:27-06:00"
}
],
"archived_at": "2023-03-14T13:46:27-06:00",
"comments": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
],
"documents": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
],
"images": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.