All things Shopify and commerce
I have two Apps one i use for local development and one for live testing. i have added scopes "read_discounts" and "write_discounts" in .env file which is common for both of my projects. somehow on my local environment, i am able to create discounts with graphql mutation and no any error is coming but when i push the code to the server and try to make discount code, it says -
'Access denied for discountCodeBasicCreate field. Required access: Apps must have `write_discounts` access scope.'
i have also tried with uninstalling and installing the app many times but nothing worked.
Please Reply if anyone has solved this issue.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025