# spi **Repository Path**: jindiao/spi ## Basic Information - **Project Name**: spi - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-11 - **Last Updated**: 2022-03-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # swagger-java-client Selling Partner API for Sellers - API version: v1 - Build date: 2021-09-06T17:12:53.060+08:00 The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace. For more information, please visit [https://sellercentral.amazon.com/gp/mws/contactus.html](https://sellercentral.amazon.com/gp/mws/contactus.html) *Automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen)* ## Requirements Building the API client library requires: 1. Java 1.7+ 2. Maven/Gradle ## Installation To install the API client library to your local Maven repository, simply execute: ```shell mvn clean install ``` To deploy it to a remote Maven repository instead, configure the settings of the repository and execute: ```shell mvn clean deploy ``` Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information. ### Maven users Add this dependency to your project's POM: ```xml io.swagger swagger-java-client 1.0.0 compile ``` ### Gradle users Add this dependency to your project's build file: ```groovy compile "io.swagger:swagger-java-client:1.0.0" ``` ### Others At first generate the JAR by executing: ```shell mvn clean package ``` Then manually install the following JARs: * `target/swagger-java-client-1.0.0.jar` * `target/lib/*.jar` ## Getting Started Please follow the [installation](#installation) instruction and execute the following Java code: ```java import com.amazon.spapi.ApiException;import com.amazon.spapi.model.GetMarketplaceParticipationsResponse;import io.swagger.client.*; import SellersApi; public class SellersApiExample { public static void main(String[] args) { SellersApi apiInstance = new SellersApi(); try { GetMarketplaceParticipationsResponse result = apiInstance.getMarketplaceParticipations(); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SellersApi#getMarketplaceParticipations"); e.printStackTrace(); } } } ``` ## Documentation for API Endpoints All URIs are relative to *https://sellingpartnerapi-na.amazon.com* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *SellersApi* | [**getMarketplaceParticipations**](docs/SellersApi.md#getMarketplaceParticipations) | **GET** /sellers/v1/marketplaceParticipations | ## Documentation for Models - [Error](docs/Error.md) - [ErrorList](docs/ErrorList.md) - [GetMarketplaceParticipationsResponse](docs/GetMarketplaceParticipationsResponse.md) - [Marketplace](docs/Marketplace.md) - [MarketplaceParticipation](docs/MarketplaceParticipation.md) - [MarketplaceParticipationList](docs/MarketplaceParticipationList.md) - [Participation](docs/Participation.md) ## Documentation for Authorization All endpoints do not require authorization. Authentication schemes defined for the API: ## Recommendation It's recommended to create an instance of `ApiClient` per thread in a multithreaded environment to avoid any potential issues. ## Author