A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Here: https://github.com/Shopify/product-reviews-sample-app/blob/main/docs/checkout-extension-post-purchas...
It says that
By default, extensions are not enabled for online stores, we'll need to change our store's setting to use our new extension.
So, this would require the merchant to manually enable the extension from settings.
I was wondering if there's a way to do this via API, so that extension gets automatically selected when the app is installed.
I don't believe you can currently do this via API. Your best bet might be to deep link, using the #post-purchase anchor:
https://your-shop-domain.myshopify.com/admin/settings/checkout#post-purchase