We recently started getting email and notification about, our app making deprecated calls for orders / products endpoint. We updated our call to /orders and /products endpoint and started using cursor-based pagination on 2020-04 version.
We crossed checked all the API's call and make sure we are not making any more deprecated call. Unfortunately, on our APIs health dashboard we are getting alert:
The page filter has been removed from all endpoints. Use cursor-based pagination instead. View change
|Order (REST API)|
OrderAdmin • REST
|Jun 25, 2020 at 01:13 PM|
I checked the response header on given timestamp and got reason:
Can anyone help, where and what we are missing on this. We will really thankful to you.
So far, we are not getting deprecated message on header response. However, on API Health Dashboard we are still getting Deprecated call.
If you find any solution, please share.
We are still facing this issue. We have same scenario as you have. Getting deprecated call notice in API Health Dashboard in every one hour even not any call triggered for customer and collection.
I reached out to Shopify support team and logged ticket for the same. No response yet from Shopify.
Did you try checking response header. You can get some clue from response header too. A month ago, i was getting deprecated reason on response header and I fixed the same. I hope this can also be help.
SK eShipper team.
Yes we have tried to figure out the reason by x-shopify-api-deprecated-reason response header parameter. This parameter is not available in response header.
Did you find any solution for this. We checked our logs, response header and went through the whole code many times. If you solved this problem, your input will be appreciated.
SK eShipper team
Have you updated the app settings to use a more recent version of the API in the app settings?
I know it's labeled as event subscriptions but we were getting the same error until it was updated.
I hope this helps?
Asa @ Appifiny
I've also reached to Shopify, waiting for reply from them. We use postman, but there should not be any use of deprecated call in there too. I'll check again. Thanks for suggestion.
Hey @Appifiny ,
Thanks for response. Yes, I've actually updated event subscription version long time ago. It looks like the issue is not related to webhooks, but cursor based pagination. The weird part is that, we've implemented cursor pagination for a very long time ago. Since then we've never got any warning or issue. Suddenly it started to display red api health alert in partner dashboard.
We updated all our pagination code a few months back but we still continued to get warnings about the pagination in the health dashboard.
I know webhooks are not related to the pagination but as soon as we updated the API version to July 2020 in the event subscription setting, it fixed the warnings in the health dashboard the next day.
Also make sure your API calls are using the same version.
Asa @ Appifiny