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.

Re: Issue with deprecated 'delivery_category' call to Shopify API

Issue with deprecated 'delivery_category' call to Shopify API

LiamLebenon
Visitor
1 0 2

Hi everyone,

 

I recently received an email from a few sellers who use Shopify with this issue below.  I have searched for anything to do with delivery_category but have found nothing that could assist me.  Any help here would be appreciated with what this means and where I can go to change/fix this. 

 

Thank you,

Liam

 

Hello there,

One or more of your apps have made deprecated API calls in the last 30 days. Support for this version will be removed on April 1, 2024. Please update the apps listed below to API version 2023-07 or later to ensure they continue to function correctly.

Store: ** Their Store Name **

App: ** My Store Name **
Breaking Changes:

  • The delivery_category field has been removed from the ShippingLine REST Admin API. View change.

 

To learn how to update your apps, read the custom app versioning deprecation guide. If you still have questions, chat with us in the API forums or contact us via Support.

 

Regards,
Shopify Apps Team

Replies 11 (11)

Liam
Community Manager
3108 344 895

Hi - just to confirm, you're not able to find where in your app you're making an API call to the `delivery_category` field? Could your app be using a webhook that's referencing this field? You could also use the deprecated API calls resource to return a list of any deprecated calls your app is making, to see if `delivery_category` is listed there.

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me 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

Luftwalk
Shopify Partner
15 0 3

I seem to be having the same issue...can't see where in my calls I'm making the call to delivery_category field and the deprecated API calls resource does show the call to it at the time an order is placed (I have a webhook calling my system) but I'm just addressing a shipping_lines field not directly delivery_category...

maxShop
Shopify Partner
1 0 0

Same issue for me, in my app I only READ Orders by Rest Admin API, no Orders write at all, no use of ShippingLine.delivery_category at all, neither read nor write. To be sure I removed WRITE permission on Rest Admin Orders, app is still working correctly, so how delivery_category attribute can be in use by my app ? My app is Python 3.8 based, I use pypy ShopifyAPI 12.4.0. could be something in such library ? Or could the "deprecation" signal generated because of some side effect from calls other than Orders ones ? No mention of deprecated calls collected by .../admin/api/2024-01/deprecated_api_calls.json. Last stable Shopify API 2024-01 version is configured for my app.

ankeetguha
Shopify Partner
2 0 0

Hi Liam,

 

Any idea about this? As seen with our developers, we too have no REST calls to the ShippingLine resource.
A number of our clients have reached out to use about this issue, but after checking and double-checking our code, we can ascertain the cause of this.

jasx78
Shopify Partner
2 0 0

Hello,

i have the same problem but i not found any call  to delivery_category  i use REST ADMIN API for order and i call url /admin/api/2023-04/orders/ i must use url /admin/api/2023-07/orders/ ?

 

 

Prabhakaran07
Visitor
1 0 0

Hi Liam,

If we changed to latest version means, Is it make any issues in our app functionality?
can you guide in this issue?

Thanks & Regards,
Prabhakaran

talalbsse
Shopify Partner
10 0 6

I am having the same issue. I have not used something like delivery_category in any of my calls, but still getting this error. 

Any idea how we can fix this?

jasx78
Shopify Partner
2 0 0
we have changed end print of call api for resolve.
Luftwalk
Shopify Partner
15 0 3

You need to use 2023-10 API version or above. Even if you don't specifically call for a delivery_category field, requesting an order is enough to trigger a deprecated warning in older versions of API. In 2023-10 the field is omitted.

RalAdam
Shopify Partner
4 0 2

This has been a problem for us as well, it super concerning. This last time we think its possibly caused due to a REST api to get an order id without a specific api version. This isn't part of our core system, and more of a cleanup/reprocess step.

https://{STORE_DOMAIN}/admin/orders/{order_id}.json

Everything else has an api version specified and we are 2024-01 and later. Whats weird though is I'd assume a call without an api version should default to the latest, but that doesn't seem to be the case.