I work with a number of shops to set them up to integrate with a point of sale system via the API.
Up until recently we set up a private app which authenticated with a key and secret and by default returned orders with the most recent ones first when we called the API to the app.
Today I was setting up a new client for the first time since Shopify seems to have sunsetted private apps. I created a new app and found that the key and secret method for authentication no longer works. I was eventually able to authenticate with the access token so that part is fine now.
My problem is controlling the order of what is returned. Instead of by default returning most recent orders first I am now getting oldest orders first, and I can neither figure out how to change the sort order (I could not find anything in the API docs about that) or to paginate. This is complicated a bit since I am using a third party PHP library (https://github.com/phpclassic/php-shopify) to do the calls, so I am not working directly with calls to the API.
Any suggestions on how to either create a private app the way we used to, or control the API with the new app?
Thanks,
Barry