I'm noticing that there isn't any abandoned checkout GraphQL endpoint, only a RESTful endpoint. In addition, I'd like to do a large batch fetch via the GraphQL bulk polled query. So it would be helpful to be able to fetch abandoned checkouts via GraphQL.
In addition, since it seems unlikely that there exists a GraphQL endpoint, and I'll have to use the REST API, is there a way to load up a bunch of abandoned checkouts into my dev store so I can test out the REST API pagination? I am looking at deploying this application with merchants that have several thousand abandoned checkouts, so it would need to handle pagination of the abandoned checkouts - thus I need a way to populate abandoned checkouts into my dev store.
I'm not 100% sure you can programmatically create an abandoned checkout via an API. Although I do see this API endpoint --> https://shopify.dev/docs/admin-api/rest/reference/sales-channels/checkout#create-2020-10. Perhaps play with that some and see what the status of those checkouts look like.
In terms of test cases, the most recent Shopify cursor-based pagination logic remains pretty much the same across the various API endpoints. So I wouldn't base a ton of concern on it working or not. Although I do understand a better level of comfort knowing you've tested it out against multiple paged result sets. Worst case is say you manually create 20 abandoned checkouts in a development store. You can retrieve 5 records at a time via REST or GraphQL, which would offer you the opportunity to iterate through 4 pages at least, right?