GraphQL Storefront API updates - Product inventory
1589482680001
 Enhancement 
 Storefront API 
New Features
- A new inventorynode has been exposed on products which allows you to fetch the aggregate product inventory.- For a simple product, this will be the inventory value.
- For a product with multiple variants and variant-level tracking, this will be the sum of the variant inventory
- If the store settings are such that inventory is not exposed to the storefront, then you will not be able to access the integer stock level, and instead can rely on the boolean isInStockproperty
 
- If the store’s settings are set to hide products which are out of stock, then you will not be able to fetch information about out-of-stock products in the GraphQL storefront API.