--- title: Quantity remaining no longer returned from Checkout API error message - 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/quantity-remaining-no-longer-returned-from-checkout-api-error-message md: https://shopify.dev/changelog/quantity-remaining-no-longer-returned-from-checkout-api-error-message.md --- [Back to Developer changelog](https://shopify.dev/changelog) January 12, 2021 Tags: * API # Quantity remaining no longer returned from Checkout API error message The [Checkout API](http://shopify.dev/tutorials/sell-through-the-checkout-api) no longer returns the amount of inventory remaining when a checkout is created or updated and there are not enough products in stock. This change was made to protect the privacy of our merchants. To support older themes, the option `remaining: 1` is returned from the API. However, this number doesn't change, or represent the actual amount of inventory remaining. This option will be removed in a future version of the API. Learn more about the updated error response by reading our [Checkout API documentation](https://shopify.dev/tutorials/sell-through-the-checkout-api#handling-errors) on Shopify.dev.