Skip to main content
Log inSign up

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.

Was this section helpful?