--- title: The JSON Liquid filter will no longer output the inventory_quantity and inventory_policy fields - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/the-json-liquid-filter-will-no-longer-output-the-inventory_quantity-and-inventory_policy-fields md: https://shopify.dev/changelog/the-json-liquid-filter-will-no-longer-output-the-inventory_quantity-and-inventory_policy-fields.md --- [Back to Developer changelog](https://shopify.dev/changelog) December 5, 2017 Tags: * API # The JSON Liquid filter will no longer output the inventory\_quantity and inventory\_policy fields As of December 5, 2017, `inventory_quantity` and `inventory_policy` fields accessed through a JSON Liquid filter are deprecated. The JSON filter will not output those fields for shops created after that date. *** If you want to consume inventory information about a product, you can leverage [variant.inventory\_quantity](https://help.shopify.com/themes/liquid/objects/variant#variant-inventory_quantity) and [variant.inventory\_policy](https://help.shopify.com/themes/liquid/objects/variant#variant-inventory_policy). We recommend using that information behind a setting that the merchant has to turn on. This is a part of our efforts which [kickstarted last year](https://ecommerce.shopify.com/c/api-announcements/t/inventory-levels-will-no-longer-be-available-through-the-public-product-json-388079) to eliminate bots and crawlers from knowing inventory levels of products from stores that they haven't explicitly been granted access to. Themes in the Shopify Theme Store will be updated before December 5, 2017.