ShopifySharp icon indicating copy to clipboard operation
ShopifySharp copied to clipboard

Deprecated property delivery_category is being used

Open AsimKhan2019 opened this issue 1 year ago • 1 comments

Hi,

I'm using version 6.13 but I'm receiving this complain from Shopify https://shopify.dev/changelog/removal-of-the-delivery_category-field-on-order-shipping-lines The endpoint is Order -> Admin • REST though

The only place where I found a similar property is in https://github.com/nozzlegear/ShopifySharp/blob/master/ShopifySharp/Entities/GraphQL/GraphQLSchema.generated.cs by the name deliveryCategory in ShippingLine class.

Could this be causing issue? Will you delete this field where required in the next release?

AsimKhan2019 avatar Mar 25 '24 14:03 AsimKhan2019

Heye @AsimKhan2019! Sorry for the delay, did you get this fixed? I think the problem is likely your webhook versions which need to be manually updated in the Shopify Partner dashboard. If you log into your partner dashboard and find the settings for your app, there's a configuration page where you can set the Event Version specifically for the webhooks that Shopify sends to your app.

Screenshot 2024-04-04 at 16 35 06

If the version is old enough, like in my screenshot, they'll send deprecated properties and that can trigger the deprecation warnings.

Let me know if that fixes your problem!

nozzlegear avatar Apr 04 '24 21:04 nozzlegear

Thanks @nozzlegear , API health is all good now. :)

AsimKhan2019 avatar Jun 07 '24 02:06 AsimKhan2019