I have been trying to migrate my app over to using the graphql discountCodeBasicCreate
instead of using the rest api to create price rules.
In code terms, this is relatively straightforward, however what is very frustrating is the requirement for different scopes. We’ve been asking for write_price_rules
for nearly eight years, but for the graphql version we need write_discounts
The acceptance screen for the merchant looks no different, they have always allowed us to create discounts on their behalf.
As it stands, just over half of our merchants have accepted the new scope, but as I understand it the REST price_rule endpoints will stop working soon.
Is there no other option here other than to hope that all our merchants accept the new scope? I read that with the new write_app_proxy
scope there was potential to back-fill the scope (App Proxy, write_app_proxy scope and old merchants - #4 by Liam-Shopify), can the same approach be adopted here?