Commercetools
Seamlessly integrate your Commercetools e-commerce platform with Storyblok

Commercetools is a leading composable commerce platform that allows companies to tailor and scale shopping experiences across markets dynamically.
This app enables content editors to select products and categories from a connected Commercetools instance and reference them in Storyblok.
Setup
- Once installed, navigate to the block library and create a new field of the type plugin (in either a new or an existing block). Set the custom type to
sb-commercetools
. - In the field configuration, define the following values:
endpoint
(required): The API URL of the Commercetools instance (e.g.,https://api.us-central1.gcp.commercetools.com/
). Learn more in the Commercetools documentation.clientId
(required): The client ID.clientSecret
(required): The client secret.locale
(optional): The language key to display the name and description in a specific language (e.g.,en_US
).limit
(optional): The maximum number of items that can be selected.selectOnly
(optional): If left empty, editors can choose products and categories. If set toproduct
, only products can be selected. If set tocategory
, only categories can be selected.
- Use the block containing the field in the Visual Editor, select one or multiple products or categories, save the story, and check the API response.
Please refer to the e-commerce concept for a detailed introduction to the topic.