Private apps need updating

Highlighted
New Member
2 0 0

Hello Support,

In my Apps >> Private Apps

Getting Error notification as -
“Private apps need updating within 19 days
Your private apps may no longer work if they are not updated before April 1, 2020. This message is based on data from the last 30 days. Contact the developer of the following apps to update them before the deadline: ShopifyAPI and GoDataFeed”

I check for related document and get that Api calls for these private apps don’t have version update.

https://***************************:*************************@storename.myshopify.com/admin/api/2020-01/orders.json

I need to update version calls in my APIs call – admin/api/2020-01/.

Also get some documents that pagination process is updated -

https://community.shopify.com/c/Shopify-APIs-SDKs/A-review-of-versioning-at-Shopify-what-you-need-to...
https://www.shopify.ca/partners/blog/relative-pagination

For code where I use these API webhook URLs, I used pagination. To update these according to above documents, I need to do a lot of manual work.

My question is – If I don’t update the pagination process will my APIs will stop work. As I don’t want to update my pagination code.

What can I do to not update the pagination code and APIs work properly? And also is it necessary to update Webhook API version in my Private apps. Currently that is set as – 2019-04 but in Example URL it is – 2020-01.

Thanks

0 Likes
Highlighted

Hi

 

From the documentation -

 

https://shopify.dev/concepts/about-apis/versioning

 

If your app calls a stable version that is no longer supported, then Shopify falls forward and responds to your request with the same behaviour as the oldest supported stable version. For example, in April 2020, API requests that call version 2019-04 will be served version 2019-07, because that will be the oldest supported stable version.

So shopify defaults to the oldest supported version

 

Do you have a test instance where you could run what would happen if you ran the next oldest supported version?

 

Martin

0 Likes
Highlighted
New Member
2 0 0

Hello,

 

Current oldest supported version is - 2019-04, in which pagination is working properly with page -

https://*****************************:********************************@storename.myshopify.com/admin/api/2019-04/products.json?limit=3&page=3

 

But after April 01, 2020, new stable version will be 2019-07.


Each stable version is supported for a minimum of 12 months. This means that there are at least 9 months of overlap between two consecutive stable versions. When a new stable version is introduced and contains changes that affect your app, you have 9 months to test and migrate your app to the new version before support for the previous version is removed.

 

In version 2019-07 for pagination when we use page than it given error -

 

https://*****************************:********************************@storename.myshopify.com/admin/api/2019-07/products.json?limit=3&page=3


"errors": {
"page": "page cannot be passed. See https://help.shopify.com/api/guides/paginated-rest-results for more information."
}

 

So, we are getting error notification for private apps - 'Private apps need updating'. Currently we are using 2019-04 version which is currently working fine but from April 01, the default oldest supported stable version will be changes to 2019-07.

 

Vishal

0 Likes
Highlighted

Hi

 

Its just a warning though - if you dont update the shopify will default to the lowest supported version

0 Likes