Location: src/codec/codecs/commercetools
Connects to a commercetools instance.
See the CORS / Server support tables for more information
{
"vendor": "commercetools",
"codec_params": {
"project": "<ct project key>",
"language": "<language to prioritise>",
"client_id": "<ct client id>",
"client_secret": "<ct client secret>",
"auth_url": "<ct auth url",
"api_url": "<ct api url>",
"scope": "<list of scopes>"
}
}
You can create new API credentials in the Settings > Developer settings
and then go to Create new API client
.
Next you can select the required scopes:
Categories
Customer groups
Products (published)
You can then access the credentials (one time) with all the required properties:
Note: This integration uses the Product Projection Search API HTTP API from CommerceTools. Please follow steps in their documentation to ensure that this is enabled (ie indexing enabled)