Java client libraries

Here are the Java client libraries for the Merchant API. You can download these compressed libraries directly to start using the Merchant API.

Libraries

Installation

Here's how to install the client library:

  1. Download the file.
  2. Extract the file with an archive management tool on your machine. For example:

    tar -xzpf CLIENT_LIBRARY -C /path/to/dir

  3. Open a command prompt in the root of the extracted directory.

  4. Run the gradle build command:

    macOS: ./gradlew build Windows: gradlew build

  5. Publish the library to your local Maven repository:

    ./gradlew publishToMavenLocal

  6. Build and run an application that depends on this library with Maven. For example, run one of our code samples.

Requirements

You must be running Java 8+ and have the JDK installed.

For Maven, use the included pom.xml to install the dependencies.

History

Version Date Description
v1beta March 22, 2023 Initial release of Merchant Inventories API Java library