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-01T05%3A15%3A00.000Z&created_at_max=2022-09-26T05%3A32%3A00.000Z&financial_status=paid&fulfillment_status=any’> }
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 ![]()
