---
title: >-
  Addition of LineItem current_quantity on Admin REST API - 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/addition-of-lineitem-current_quantity-on-admin-rest-api
  md: >-
    https://shopify.dev/changelog/addition-of-lineitem-current_quantity-on-admin-rest-api.md
metadata:
  effectiveApiVersion: 2024-01
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: true
  createdAt: '2023-12-05T13:12:23-05:00'
  postedAt: '2023-12-05T13:07:00-05:00'
  updatedAt: '2024-12-13T17:24:40-05:00'
  effectiveAt: '2023-12-05T13:07:00-05:00'
---

December 5, 2023

Tags:

* Action Required
* API
* 2024-01

# Addition of LineItem current\_quantity on Admin REST API

Partners currently using refund line items to calculate a line item’s current quantity should migrate to using the new current\_quantity field as it is a more reliable method. We recommend migrating to GraphQL as a general practice, however the current\_quantity field has been added to indicate a line item’s current quantity after removals as of Admin REST API version 2024-01.

Learn more about the Order.line\_items object on [Shopify.dev](https://shopify.dev/docs/api/admin-rest/unstable/resources/order).
