Skip to main content

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.

caution

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

OK