When making the call to get all product variants, the maximum number of allowed records returned is 250. I would like to be able to get the total COUNT of product variants and divide by 250, so I know how many pages I will need to loop through in order to find a SKU, get the ID and update the inventory quantity. I have not found an API call to return total product variant count. Does one exist? Or does someone have a work-around? I don't want to hard-code the number of pages or put in a number of pages too large.
Thank you!
Lisa