App reviews, troubleshooting, and recommendations
I have an app that creates custom section on the active theme, but the file content is too long and I also added {% schema %}.
is there an option to upload a file as a section instead sending an array with endless code?
on the API documentation there is an option only for image URL but not for file/liquid URL for upload as section.
sample of PUT request i use:
PUT /admin/api/2021-01/themes/828155753/assets.json { "asset": { "key": "templates/index.liquid", "value": "<img src='backsoon-postit.png'><p>We are busy updating the store for you and will be back within the hour.</p>" } }
https://shopify.dev/docs/admin-api/rest/reference/online-store/asset
As expected, no replies
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023