You may wish to get all variants within a merchants store. You should use this fetch all variants API to do this. This will return an array of objects as well a cursor that you should use to move to the next list of variants. The cursor is used to paginate the variants as some merchants may return a very large list of variants.
An array of variants
The cursor is used to paginate the array of variants