Skip to main content
All CollectionsAbout GelatoHow Gelato works
Creating Products Via API From Template
Creating Products Via API From Template
Updated over a week ago

This article provides a comprehensive guide on how to effortlessly create products in bulk using the Gelato Create Product API, a streamlined solution designed to simplify product management on various platforms. By leveraging this API, you can automate the process of adding numerous products to your store, saving time and minimizing potential errors. This guide will empower you to harness the full potential of this API, enabling you to scale your business efficiently.


Creating Your Product Template

To initiate the process, begin by creating a product template within your Gelato dashboard. This template serves as a blueprint containing all the essential information about your product variants, mockups, details, and pricing.

  1. Log in to your Gelato dashboard and navigate to the "Templates" page.

  2. Create a new product template, ensuring to include all necessary details for your products.


Customizing Your Template

Once your template is created, you can proceed to customize it according to your preferences.

  1. Access the "Editor" page within your chosen template.

  2. Add a new image layer to your template. You have the flexibility to rename the layer as needed. Ensure that the layer name is unique, as it will be used as a placeholder in subsequent API calls.


Finalizing Your Template

With your template customized, it's time to finalize the details and prepare it for use with the Gelato API.

  1. Set the product mockups, details, and prices within your template.

  2. Save your template to preserve the changes you've made.

  3. On the "Templates" page, locate the template you've created and copy the Template ID from the UI. This ID will be crucial in the subsequent API calls.


Integrating with Gelato APIs

Now, you can leverage the power of Gelato APIs to automate product creation.

  1. Use the copied Template ID to send a request to the Get Template API. This API call will provide you with a list of product variants along with image placeholders.

  2. Utilize the image placeholders obtained from the previous step to make API calls to the Create Product API. This API will instantaneously generate a new product based on your template and proceed to create and publish variants and mockup images in the background.

If you encounter any challenges or require assistance during this process, don't hesitate to reach out to Gelato's support team.

Did this answer your question?