Hi, I was wondering if its possible to access the additional scripts via the API. I tried fetching using the Scripts Api but it returned 0 results (I had added a script in the Checkout Settings).
This post is marked as "Outdated" - is that still the case? Can Additional Scripts not be accessed with the API?
I'm also curious that one can access [store].myshopify.com/admin/settings/checkout.json in their browser (when logged in) but when attempting to do so through the API (using OAuth 2.0) there is a 404 response. Is there a scope that can be specified to grant read/write access to that json?
Currently you using the ScriptTag API you can specify where the scripts should be loaded:
Everywhere - all
Online store - online_store
Order status page - order_status
Check the documentation here: https://shopify.dev/docs/admin-api/rest/reference/online-store/scripttag
User | Count |
---|---|
13 | |
13 | |
6 | |
6 | |
5 |