nozzlegear / ShopifySharp

ShopifySharp is a .NET library that helps developers easily authenticate with and manage Shopify stores.
https://nozzlegear.com/shopify-development-handbook
MIT License
733 stars 303 forks source link

Deprecated property delivery_category is being used #1044

Closed AsimKhan2019 closed 1 month ago

AsimKhan2019 commented 3 months ago

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?

nozzlegear commented 3 months ago

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!

AsimKhan2019 commented 1 month ago

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