Call gadget action from an extension

Hey, I want to trigger a GraphQL mutation when a customer clicks a button inside an app block. I know I can write backend code in the global actions folder, but I need to understand how to trigger it via the Shopify extension. Should I create a separate API route for this, or can I use Gadget actions? Thanks
3 Replies
Ahmad Bilal
Ahmad BilalOP7mo ago
Someone please help
ljspoor94
ljspoor947mo ago
Please have some patience. It's Sunday
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?