App reviews, troubleshooting, and recommendations
Hi u all guys!,
We developed a small App for our own shop and was working great since we implemented the last improvement to check orders and dome some calcs.
When we started to develop the app we used the last available API: April22.
Now each time we check for Orders I get this console output:
API Deprecation Notice: {
message: 'https://shopify.dev/changelog/property-deprecations-in-the-admin-api-order-and-lineitem-resource',
path: 'https://zmg-test-field1.myshopify.com/admin/api/2022-04/orders.json?limit=250&created_at_min=2022-09...'
}
So I tried to upgrade the App event version:
And also change the code inside the app to use the October22 version:
Shopify.Context.initialize({API_KEY,API_SECRET_KEY,SCOPES: [SCOPES],HOST_NAME: HOST.replace(/https?:\/\//, ""),HOST_SCHEME: HOST.split("://")[0],IS_EMBEDDED_APP: true,API_VERSION: ApiVersion.October22});
The problem: when we do this, we get this error:
RestResourceError: Current Context.API_VERSION '2022-10' does not match resource version 2022-04
at RestResourceError.ShopifyError [as constructor]
Anybody can help me with the part I'm not understanding or missing?
Thanks in advance 🙂
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024