Product Variant / Order REST | Alleged usage of deprecated fields although they are not being used

Hello,

on the API health page of our App we see messages noting that we are using deprecated fields in our API calls although our App doesn’t use those fields and is updated to the API version 2022-10.

The issue we observe is that we get the deprecation header:

“X-Shopify-API-Deprecated-Reason” = “https://shopify.dev/changelog/property-deprecations-in-the-admin-api-order-and-lineitem-resource

on any REST API GET request on the orders resource, regardless of the API version we use and the fields we request.

Here is one example of a GET request on an order id using API version 2022-10 on our test shop:

https://xxx.myshopify.com/admin/api/2022-10/orders/5090190688448.json> X-Request-ID: 657598b7-6b66-4ce0-bd58-8656d1acfaa1

We are getting back:

X-Shopify-API-Version: 2022-10> X-Shopify-API-Deprecated-Reason: https://shopify.dev/changelog/property-deprecations-in-the-admin-api-order-and-lineitem-resource

Here is another example of a GET request on an order id, using API version 2022-10. This time we were only requesting the order id field. We see no reason to get a deprecation message back:

https://xxx.myshopify.com/admin/api/2022-10/orders/5090190688448.json?fields=id> > X-Request-ID: 4a45092f-2829-4728-b9e6-ded7fad307c1

We are getting the same deprecation headers back:

X-Shopify-API-Version: 2022-10> X-Shopify-API-Deprecated-Reason: https://shopify.dev/changelog/property-deprecations-in-the-admin-api-order-and-lineitem-resource

As we are concerned that our App will be labeled unsupported or even taken out of the Shopify App Store because of the issue described we politely request your assistance on this issue. Could you please tell if we are doing something wrong or rather what steps we should take?

Thank you for any help you can offer.

Regards,

1 Like

When did you update to version version 2022-10? It’s common that warnings might persist for some time after an update has happened. This is possibly the case here - if not and you are certain that the app is not making any deprecated calls you should contact Shopify support to analyze this specific app.

1 Like

Hi Liam,
thanks for your feedback. We have finalized our update to version 2022-10 this week. We understand that the deprecation messages in our API health section do persist although we are confused that they are still detected on a daily bases although the mentioned deprecated fields are not used anymore by us. Furthermore we are confused because we receive deprecation headers on API calls that are indeed not deprecated. As suggested we will contact Shopify support to analyze this specific app.

Best regards

1 Like

@SinaNoro Did you resolve this? I am encountering a similar issue and tomorrow’s the deadline. Any insights?