Retrieve Inventory Sets
GET/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 adjustment_quantity
query param represents the quantity you would like
to use from a location. The returned array represents the various price
breakdown (Inventory Sets). The result is sorted based on the Advanced
Inventory Valuation method set for your account. For FIFO accounts,
the oldest Inventory Set will be the first item in the array. For LIFO
accounts, the newest Inventory Set will be the first item in the array.
Each item in the array will have the following properties:
unit_cost
leftover_quantity
added_at
The added_at
value represents the date at which the inventory was added to
the location.
If the very last element in the returned array has a leftover_quantity
value that is negative, then that means the requested quantity is not
available at the given location.
Request
Responses
- 200
- 401
- 403
- 404
- 500
OK
Request could not be authenticated
Insufficient permission to perform this operation
The requested resource could not be located
Something unexpected happened