Removing unnecessary code for getting the total_on_hand for a variant through the API