A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Orders Webhook In Some Cases is not showing order count anymore . they said it has deprecated from shopify release update but what do we do now?
please see below
Hey @ym24 - thanks for getting in touch. You are correct here - the orders_count field has been deprecated as of December 2021. That said, the orders_count field should still be accessible using the customer resource. I did a quick test on my end and can confirm that the customers/update webhook should trigger when orders are created for a specific customer and would contain the orders_count field in the payload - so this would be the best way to grab that info at the moment.
Your app would need access to protected customer data, so if it isn't already approved for protected customer data access, I'd recommend checking out our documentation here.
Hope this helps!
Al | Shopify Developer Support
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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