Api / Shopify Pagination (Is this just not possible in flutterflow.io)

Database & APIs

So I got this working just fine when I had a simple query of just pulling products with the titles. I was able to map the Next Page Token to my curser variable through the list views infinite scroll, but when I update the query to something more complicated like the below code which pulls more information which is nested deeper I can no longer pull a next page token for curser and instead it tries pulling a page number.

I have tried everything I can possible think of and at this point I'm thinking that it's just not possible in flutterflow.io

I have cursor set up as a json in api variables.

{
"query": "query getColl($id: ID!, $after: String) { collection(id: $id) { products(first: 20, after: $after) { pageInfo { hasNextPage endCursor } edges { node { id title description images(first: 1) { edges { node { url } } } variants(first: 1) { edges { node { price { amount currencyCode } } } } } } } } }",
"variables": {
"id": "<collectionId>",
"after": <cursor>
}
}

What have you tried so far?

I've tried everything I know.

Did you check FlutterFlow's Documentation for this topic?
Yes
1