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.
|11-08-2019 10:43 AM|
|10-23-2019 11:03 AM|
|10-22-2019 07:08 AM|
|10-22-2019 04:18 AM|
|10-21-2019 03:26 PM|