A demo Connector to get started and learn about commercetools Connect
This Connector is to be used in self-learning training modules only. It contains three applications:
- a service app that allows distributing a sample product with limited configurable quanyity
- an event app that manages products in new arrivals
- a cleanup job app that runs daily to remove products from the new arrivals category after 30 days
- commercetools Composable Commerce account
- API Credentials to your project
To create an API Client in the Merchant Center, go to Settings > Developer settings > Create new API client. Take note of the following:
- CTP_PROJECT_KEY
- CTP_CLIENT_ID
- CTP_CLIENT_SECRET
Deploy this demo Connector into any project to learn and experience how commercetools Connect makes integrations quick and easy. Follow the steps from the commercetools connect deployment documentation.
This Connector contains three applications, each of a different type.
It allows you to distribute a free sample product. You provide the SKU of the sample product that you want to add to all carts with the minimum total value. You can also provide the total quantity to be offered as free sample.
Configurations:
- Sample product's SKU
- Free quantity offered
- Minimum cart value (in cents)
- API credentials to your project
This event type app is triggered by the notification that is generated whenever a product is published. It adds the product to the new category if the product is less than a month old.
Configurations:
- Category key for new arrivals
- API credentials
This job runs every day and removes all the products older than a month from the new arrivals category.
Configurations:
- Category key for new arrivals
- API credentials
In order to uninstall the connector, either send a DELETE using API or simply uninstall it from the Merchant Center.