Commercetools app

The Commercetools app lets you select and link products inside Prepr content items. Editors can easily preview products in Prepr and search for Commercetools products. Product IDs are available in the Prepr API so that you can use them to query the Commercetools API in your front end.

The Commercetools app lets you select and link products inside Prepr content items.
1
Set up in Commercetools
To start using the Commercetools integration acquire Commercetools API credentials using the following steps:
  • Sign in to your Commercetools account and select your project.
  • Select Settings > Developer settings and click Create new API client.
  • Fill in Prepr integration as the name for the new application, and select Read only client in the scopes field.
Save the new generated client ID, client secret, API, and Auth endpoints as you will need them for Prepr configuration
2
Set up in Prepr
  • Sign in to your Prepr account.
  • Select Settings > General > Apps.
  • Click Activate at the Commercetools integration and fill in the credentials acquired in step 1.
3
Add the new Content integration to a model
  • Select Settings > Publish > Models and click on the Model you want the integration to be added to.
  • Click Add Field > Content integration and select the Commercetools content integration.
That's all! 👌🏻 You can now search, select and link products in your Prepr content items.