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.
|02-16-2020 11:52 AM|
|02-16-2020 01:11 AM|
|02-12-2020 07:40 AM|
|02-06-2020 09:27 AM|
|02-06-2020 09:00 AM|