Back to Developer changelog

Addition of LineItem current_quantity on Admin REST API

API

Effective December 05, 2023

Action required

Partners currently using refund line items to calculate a line item’s current quantity should migrate to using the new currentquantity field as it is a more reliable method. We recommend migrating to GraphQL as a general practice, however the currentquantity 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.