I have access to 5 stores, with their relatives private apps.
I need to use the pagination feature to get the customers data in order to update said data on a newsletter service.
I updated the private app to the latest stable version (2019-10) and I gave it the right permissions.
But when I make the GET call to retrieve the customers, in the response header the version is still the same:
'x-shopify-api-version': [ '2019-04' ]
Also, the "Link" field is nowhere to be found inside the headers' response data.
This happens on every store I have access, no matter what version I set for the app, it remains always on 2019-04.
Would you share the exact API URL you are hitting to get the the Customers' list?
As per the documentation -https://help.shopify.com/en/api/versioning, if you don't specify the API version explicitly in the URL, it will default to the oldest supported stable version, which currently is 2019-04.
Just add the version to the URL like this and you should be good:
Not sure to what setting you are referring, have a screen shot from the Admin page? I assume what you set was the Web Hook API version for the private app, which doesn't affect the API calls you actually make.
|01-18-2020 04:51 AM|
|01-17-2020 09:18 PM|
|01-07-2020 06:40 AM|
|01-03-2020 10:34 AM|
|12-27-2019 09:40 PM|