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:
- Download the file.
Extract the file with an archive management tool on your machine. For example:
tar -xzpf CLIENT_LIBRARY -C /path/to/dir
Open a command prompt in the root of the extracted directory.
Run the gradle build command:
macOS:
./gradlew build
Windows:gradlew build
Publish the library to your local Maven repository:
./gradlew publishToMavenLocal
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 |