codeDiscountNodealways returns null using grapgql

Hi Liam,

Thanks for reply.

I have created shopify app which discount products If quantity is 3 or more in cart.

I have created this app using https://shopify.dev/docs/apps/selling-strategies/discounts/experience/getting-started

I can create discount code and discount code is applied to cart properly. Now as we have add discount code feature in admin side, I just want to edit discount code for my app and So I am trying to get discount code details using Graphql

In short I am trying to make “app.volume-discount-one.$functionId.$id.jsx” file work to edit discount code and it is not working.

I have checked and no errors logged (Screenshot below)

Below is screenshot which shows scopes for app I have created

THanks for help, I am stuck here and not able to figure out how to edit discount coupon created by my app using interface created in my app.

Thanks.