Why were the rest endpoints for InventoryItem and InventoryLevel designed with a different pattern?

23 0 4

Mostly I'm just curious, but it's odd to me that inventory_items doesn't support open ended queries like virtually every other endpoint (products.json, variants.json, etc).

InventoryLevels is also odd as it's the only endpoint that doesn't provide an ID field, even collects, which is basically the same idea, provides an ID. Further, it also doesn't allow an open ended search, requiring either a location_id, a product_id, or both. 

I'm certainly not expecting anything to change, but presumably there's a reason and I'm curious what it might be.