Auto-Generate Previews from Design Products

To use a different template, include the template_name= parameter in your request.

For example, to render the default (first) template, use the following URL: https://yourdomain.com/v1/themes/157863/preview.svg?height=800&product_id=61499

To render a specific template by name, such as "preview2," use this URL:

https://yourdomain.com/v1/themes/157863/preview.svg?height=800&product_id=61499&template_name=preview2

Last updated