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,