Add products to your product catalog

Dotdigital's EasyEditor features product blocks that can be dragged and dropped into campaigns, allowing you to showcase, promote, and sell your products. In order for products to be available for selection in a product block, you must add them to your account as an Insight data collection.

To create a new catalog Insight data collection, call Create an Insight data collection with the following parameters:

  • The collection name must be prefixed with catalog_
  • The collection type set to catalog
  • The collection scope set to account

The following fields are mandatory for each product in your catalog:

  • name
  • stock keeping unit (sku)
  • price
  • URL
  • image path

See the full product schema.

🚧

Ensure you get the Insight collection details correct

If the requirements above aren't observed then products added in this way won't be available for selection in product blocks.

Products can be added to an account's Insight data using our Insight data API using several different calls.

We would always recommend that, where possible, product data is imported in bulk using our bulk import call, but if only an infrequent update of a small amount of data is required then you can use this call to upsert a record into your account-scoped catalog Insight data collection.

Here's an example of what a product's structure could look like in JSON form:

{ 
  "name": "Plaid Cotton Shirt-Royal Blue-L", 
  "short_description": "This everyday shirt is equally stylish with jeans or trousers.", 
  "sku": "msj006c-Royal Blue-L", 
  "price": 160, 
  "department": "menswear", 
  "url": "https://www.mywebsite.com/store/department/menswear/shirts/id=00001/plaid-cotton-shirt-royal-blue-l/", 
  "image_path": "https://www.mywebsite.com/store/media/id=00001/plaid-cotton-shirt-royal-blue.jpg"
}
🚧

A word of warning on non-HTTPS images

You must be mindful about serving non-HTTPS product images in your campaign.

Over recent years, webmail services such as Gmail and Outlook.com have defaulted to SSL when users log in.

This means images served over HTTP represent a non-secure source and as such the email will cause a warning when viewed in recipient browsers. In which case, we advise serving only HTTPS images.