Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
My Shopify App has a feature that creates a Page using the Pages REST API, for my merchants. In these pages, merchants can add my apps' app blocks. Right before the pages endpoint creation is called, we use Asset API to create a template file. This template file is sent as the `template_suffix` parameter when creating the new Shopify Page.
Now that PUT and DELETE requests to the Asset API are being deprecated, what is the alternative for creating a custom template file to use during the creation of the Page? Is it something achievable with theme app extensions?
Thank you very much!
Hy facing same issue did you find solution
I am also having the same issue, did you find any solutions??
Following!
June 2024: I can confirm that PUT still works to duplicate a template, but POST gets me a file not found, 404 error. jb
following.
Well, you can create templates using "themeFilesUpsert" mutation in Graphql. More Info
Ah, the "new" 10-2024 admin graphQL ... brilliant, thanks jb
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025