Out now! Check out the Poll results: Do you have a Shopify store?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Is there a way to enable to the checkout post purchase extension via API?

Is there a way to enable to the checkout post purchase extension via API?

octalweb
Visitor
2 0 0

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.

Reply 1 (1)

pixelchutes
Shopify Partner
1 0 0

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