The GraphQL Admin API now includes the themeDuplicate
mutation. This allows developers to duplicate existing store themes by providing the original theme's ID. An optional name parameter can specify a different name for the duplicated theme.
For Shopify Plus merchants, the ability to conveniently duplicate themes accelerates the workflow for seasonal promotions or A/B testing different storefront elements. This flexibility enhances efficiency and reduces manual workload.
An enterprise fashion retailer plans to launch a winter sale, requiring a new theme with festive designs. Using the themeDuplicate
mutation, their developer quickly duplicates the current theme and makes adjustments, reducing launch time by 50% when compared to building a new theme from scratch.
Q: Do I need special permissions to use themeDuplicate?
A: Yes, you need write_themes permission and an exemption from Shopify.
Q: Can I rename the duplicated theme?
A: Yes, an optional name parameter allows renaming during duplication.
Explore more in the themeDuplicate documentation.
Need guidance? Talk to Makro.