Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.31 KB

commercetools.md

File metadata and controls

45 lines (31 loc) · 1.31 KB

CommerceTools

commerceToolsCodec

Location: src/codec/codecs/commercetools

Connects to a commercetools instance.

See the CORS / Server support tables for more information

Configuration

{
    "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>"
    }
}

Configuration on the vendor side

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)