---
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
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation Announcement
    handle: deprecation
  indicatesActionRequired: false
  createdAt: '2021-01-12T11:22:00-05:00'
  postedAt: '2021-01-12T00:00:00-05:00'
  updatedAt: '2024-02-02T10:04:59-05:00'
  effectiveAt: '2021-01-12T00:00:00-05:00'
---

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.
