How can I update product quantity using Shopify Flow?

If you are calling the Shopify API, use the new action, “Send Admin API Request”. It’s way easier and handles the API key for you.

That error looks like whatever API key you are using does not have the correct permissions for that mutation. You can adjust that in the Admin