Adding the ability to sort orders by total item quantity
API
Effective July 01, 2023
As of Admin API 2023-07
release we've added TOTAL_ITEM_QUANTITY
to OrderSortKeys
so that you can sort orders by the total quantity of items.
For more information on all of the other order sort keys that are available, visit our developer documentation.