Java API which exposes utilities for building update actions and automatic syncing of CTP data from external sources such as CSV, XML, JSON, etc.. or an already existing CTP project into a target project.
commercetools sync is a Java library that could be used to synchronise CTP data in any of the following ways:
-
Synchronise data coming from an external system in any form (CSV, XML, etc..) that has been already mapped to JVM-SDK resource draft objects (e.g. CategoryDraft).
-
Synchronise data coming from an already-existing commercetools project in the form of JVM-SDK resource draft objects (e.g. CategoryDraft).
Currently this library supports synchronising
- Categories
- Products (Beta: Not recommended for production use yet.)
- InventoryEntries (Beta: Not recommended for production use yet.)
- install Java 8
- a target CTP project to which your source of data would be synced to.
There are multiple ways to download the commercetools sync dependency, based on your dependency manager. Here are the most popular ones:
<dependency>
<groupId>com.commercetools</groupId>
<artifactId>commercetools-sync-java</artifactId>
<version>v1.0.0-M10</version>
</dependency>
implementation 'com.commercetools:commercetools-sync-java:v1.0.0-M10'
libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "v1.0.0-M10"
<dependency org="com.commercetools" name="commercetools-sync-java" rev="v1.0.0-M10"/>
https://github.com/commercetools/commercetools-sync-java/milestones