What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Upgrade APIs of Custom App

Upgrade APIs of Custom App

jmsupport
Shopify Partner
4 0 1
Hi there,
 
I don't know how to upgrade the APIs of a Custom App. Could anyone help?
 
One or more of your custom apps have made deprecated API calls in the last 30 days. Support for these versions will be removed on January 1, 2023 to allow for continued infrastructure improvements. Please update the apps listed below to
API version 2022–07 or later to ensure they continue to function correctly:
Shop: [shop name]
Breaking changes affecting [name of the Custom App]
  • Several fields on the Storefront API were marked as deprecated
Replies 4 (4)

ShopifyDevSup
Shopify Staff
1453 238 525

Hi @jmsupport👋


I'd recommend reviewing the breaking changes to the Storefront API in the 2022-07 release notes here, to update your app appropriately. For custom apps created from the partner dashboard, you can use the API health report as well!

 

Hope that helps!

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

jmsupport
Shopify Partner
4 0 1

Hi @ShopifyDevSup 

 

The Custom App is created from the Shopify admin with the steps as in https://help.shopify.com/en/manual/apps/custom-apps#create-and-install-a-custom-app

 

I don't see it in the API health report.

ShopifyDevSup
Shopify Staff
1453 238 525

For apps created from the merchant admin, you can use the deprecated api calls endpoint to fetch a similar report. It would resemble the below curl request: 

 

curl -L -X GET 'https://YOUR_STORE_NAME.myshopify.com/admin/api/2022-10/deprecated_api_calls.json' \
-H 'X-Shopify-Access-Token: YOUR_ADMIN_API_ACCESS_TOKEN' 

 

Keep in mind, `YOUR_ADMIN_API_ACCESS_TOKEN` should be replaced with the same access token being used to make authenticated requests in your app.  If you have access to the merchant's admin, you can direct them to this help doc to get the API credentials for you, or help them to rotate the credentials as needed. 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

jmsupport
Shopify Partner
4 0 1

Hi @ShopifyDevSup 

 

Thank you for the information. We were able to use the endpoint to check the deprecated API calls. And we see an issue with the date (not really sure about this).

 

While we migrated all the requests on Dec 06, the last deprecated calls were recorded on Dec 09, and on Dec 15 we received the warning from Shopify. Could you advise us on this?