Class SellersApi
- java.lang.Object
-
- software.amazon.spapi.api.sellers.v1.SellersApi
-
public class SellersApi extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SellersApi.Builder
-
Constructor Summary
Constructors Constructor Description SellersApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAccountResponse
getAccount()
Returns information about a seller account and its marketplaces.okhttp3.Call
getAccountAsync(ApiCallback<GetAccountResponse> callback)
(asynchronously) Returns information about a seller account and its marketplaces.okhttp3.Call
getAccountCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAccountApiResponse<GetAccountResponse>
getAccountWithHttpInfo()
Returns information about a seller account and its marketplaces.ApiClient
getApiClient()
GetMarketplaceParticipationsResponse
getMarketplaceParticipations()
Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller's participation in those marketplaces.okhttp3.Call
getMarketplaceParticipationsAsync(ApiCallback<GetMarketplaceParticipationsResponse> callback)
(asynchronously) Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller's participation in those marketplaces.okhttp3.Call
getMarketplaceParticipationsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getMarketplaceParticipationsApiResponse<GetMarketplaceParticipationsResponse>
getMarketplaceParticipationsWithHttpInfo()
Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller's participation in those marketplaces.void
setApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
SellersApi
public SellersApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getAccountCall
public okhttp3.Call getAccountCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getAccount- Parameters:
progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getAccount
public GetAccountResponse getAccount() throws ApiException, LWAException
Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Returns:
- GetAccountResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getAccountWithHttpInfo
public ApiResponse<GetAccountResponse> getAccountWithHttpInfo() throws ApiException, LWAException
Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Returns:
- ApiResponse<GetAccountResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getAccountAsync
public okhttp3.Call getAccountAsync(ApiCallback<GetAccountResponse> callback) throws ApiException, LWAException
(asynchronously) Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
getMarketplaceParticipationsCall
public okhttp3.Call getMarketplaceParticipationsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getMarketplaceParticipations- Parameters:
progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getMarketplaceParticipations
public GetMarketplaceParticipationsResponse getMarketplaceParticipations() throws ApiException, LWAException
Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller's participation in those marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Returns:
- GetMarketplaceParticipationsResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getMarketplaceParticipationsWithHttpInfo
public ApiResponse<GetMarketplaceParticipationsResponse> getMarketplaceParticipationsWithHttpInfo() throws ApiException, LWAException
Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller's participation in those marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Returns:
- ApiResponse<GetMarketplaceParticipationsResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getMarketplaceParticipationsAsync
public okhttp3.Call getMarketplaceParticipationsAsync(ApiCallback<GetMarketplaceParticipationsResponse> callback) throws ApiException, LWAException
(asynchronously) Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller's participation in those marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
-