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.
|10-18-2019 02:27 PM|
|10-13-2019 04:07 PM|
|10-12-2019 01:43 AM|
|10-10-2019 10:51 AM|
|10-10-2019 10:50 AM|