Class ProductPricingApi
- java.lang.Object
-
- software.amazon.spapi.api.pricing.v0.ProductPricingApi
-
public class ProductPricingApi extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProductPricingApi.Builder
-
Field Summary
Fields Modifier and Type Field Description io.github.bucket4j.Bucket
getCompetitivePricingBucket
io.github.bucket4j.Bucket
getItemOffersBatchBucket
io.github.bucket4j.Bucket
getItemOffersBucket
io.github.bucket4j.Bucket
getListingOffersBatchBucket
io.github.bucket4j.Bucket
getListingOffersBucket
io.github.bucket4j.Bucket
getPricingBucket
-
Constructor Summary
Constructors Constructor Description ProductPricingApi(ApiClient apiClient, java.lang.Boolean disableRateLimiting)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPricingResponse
getCompetitivePricing(java.lang.String marketplaceId, java.lang.String itemType, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> skus, java.lang.String customerType)
Returns competitive pricing information for a seller's offer listings based on seller SKU or ASIN.okhttp3.Call
getCompetitivePricingAsync(java.lang.String marketplaceId, java.lang.String itemType, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> skus, java.lang.String customerType, ApiCallback<GetPricingResponse> callback)
(asynchronously) Returns competitive pricing information for a seller's offer listings based on seller SKU or ASIN.ApiResponse<GetPricingResponse>
getCompetitivePricingWithHttpInfo(java.lang.String marketplaceId, java.lang.String itemType, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> skus, java.lang.String customerType)
Returns competitive pricing information for a seller's offer listings based on seller SKU or ASIN.GetOffersResponse
getItemOffers(java.lang.String marketplaceId, java.lang.String itemCondition, java.lang.String asin, java.lang.String customerType)
Returns the lowest priced offers for a single item based on ASIN.okhttp3.Call
getItemOffersAsync(java.lang.String marketplaceId, java.lang.String itemCondition, java.lang.String asin, java.lang.String customerType, ApiCallback<GetOffersResponse> callback)
(asynchronously) Returns the lowest priced offers for a single item based on ASIN.GetItemOffersBatchResponse
getItemOffersBatch(GetItemOffersBatchRequest body)
Returns the lowest priced offers for a batch of items based on ASIN.okhttp3.Call
getItemOffersBatchAsync(GetItemOffersBatchRequest body, ApiCallback<GetItemOffersBatchResponse> callback)
(asynchronously) Returns the lowest priced offers for a batch of items based on ASIN.ApiResponse<GetItemOffersBatchResponse>
getItemOffersBatchWithHttpInfo(GetItemOffersBatchRequest body)
Returns the lowest priced offers for a batch of items based on ASIN.ApiResponse<GetOffersResponse>
getItemOffersWithHttpInfo(java.lang.String marketplaceId, java.lang.String itemCondition, java.lang.String asin, java.lang.String customerType)
Returns the lowest priced offers for a single item based on ASIN.GetOffersResponse
getListingOffers(java.lang.String marketplaceId, java.lang.String itemCondition, java.lang.String sellerSKU, java.lang.String customerType)
Returns the lowest priced offers for a single SKU listing.okhttp3.Call
getListingOffersAsync(java.lang.String marketplaceId, java.lang.String itemCondition, java.lang.String sellerSKU, java.lang.String customerType, ApiCallback<GetOffersResponse> callback)
(asynchronously) Returns the lowest priced offers for a single SKU listing.GetListingOffersBatchResponse
getListingOffersBatch(GetListingOffersBatchRequest body)
Returns the lowest priced offers for a batch of listings by SKU.okhttp3.Call
getListingOffersBatchAsync(GetListingOffersBatchRequest body, ApiCallback<GetListingOffersBatchResponse> callback)
(asynchronously) Returns the lowest priced offers for a batch of listings by SKU.ApiResponse<GetListingOffersBatchResponse>
getListingOffersBatchWithHttpInfo(GetListingOffersBatchRequest body)
Returns the lowest priced offers for a batch of listings by SKU.ApiResponse<GetOffersResponse>
getListingOffersWithHttpInfo(java.lang.String marketplaceId, java.lang.String itemCondition, java.lang.String sellerSKU, java.lang.String customerType)
Returns the lowest priced offers for a single SKU listing.GetPricingResponse
getPricing(java.lang.String marketplaceId, java.lang.String itemType, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> skus, java.lang.String itemCondition, java.lang.String offerType)
Returns pricing information for a seller's offer listings based on seller SKU or ASIN.okhttp3.Call
getPricingAsync(java.lang.String marketplaceId, java.lang.String itemType, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> skus, java.lang.String itemCondition, java.lang.String offerType, ApiCallback<GetPricingResponse> callback)
(asynchronously) Returns pricing information for a seller's offer listings based on seller SKU or ASIN.ApiResponse<GetPricingResponse>
getPricingWithHttpInfo(java.lang.String marketplaceId, java.lang.String itemType, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> skus, java.lang.String itemCondition, java.lang.String offerType)
Returns pricing information for a seller's offer listings based on seller SKU or ASIN.
-
-
-
Field Detail
-
getCompetitivePricingBucket
public final io.github.bucket4j.Bucket getCompetitivePricingBucket
-
getItemOffersBucket
public final io.github.bucket4j.Bucket getItemOffersBucket
-
getItemOffersBatchBucket
public final io.github.bucket4j.Bucket getItemOffersBatchBucket
-
getListingOffersBucket
public final io.github.bucket4j.Bucket getListingOffersBucket
-
getListingOffersBatchBucket
public final io.github.bucket4j.Bucket getListingOffersBatchBucket
-
getPricingBucket
public final io.github.bucket4j.Bucket getPricingBucket
-
-
Constructor Detail
-
ProductPricingApi
public ProductPricingApi(ApiClient apiClient, java.lang.Boolean disableRateLimiting)
-
-
Method Detail
-
getCompetitivePricing
public GetPricingResponse getCompetitivePricing(java.lang.String marketplaceId, java.lang.String itemType, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> skus, java.lang.String customerType) throws ApiException, LWAException
Returns competitive pricing information for a seller's offer listings based on seller SKU or ASIN. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceId
- A marketplace identifier. Specifies the marketplace for which prices are returned. (required)itemType
- Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter. Possible values: Asin, Sku. (required)asins
- A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace. (optional)skus
- A list of up to twenty seller SKU values used to identify items in the given marketplace. (optional)customerType
- Indicates whether to request pricing information from the point of view of Consumer or Business buyers. Default is Consumer. (optional)- Returns:
- GetPricingResponse
- 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
-
getCompetitivePricingWithHttpInfo
public ApiResponse<GetPricingResponse> getCompetitivePricingWithHttpInfo(java.lang.String marketplaceId, java.lang.String itemType, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> skus, java.lang.String customerType) throws ApiException, LWAException
Returns competitive pricing information for a seller's offer listings based on seller SKU or ASIN. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceId
- A marketplace identifier. Specifies the marketplace for which prices are returned. (required)itemType
- Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter. Possible values: Asin, Sku. (required)asins
- A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace. (optional)skus
- A list of up to twenty seller SKU values used to identify items in the given marketplace. (optional)customerType
- Indicates whether to request pricing information from the point of view of Consumer or Business buyers. Default is Consumer. (optional)- Returns:
- ApiResponse<GetPricingResponse>
- 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
-
getCompetitivePricingAsync
public okhttp3.Call getCompetitivePricingAsync(java.lang.String marketplaceId, java.lang.String itemType, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> skus, java.lang.String customerType, ApiCallback<GetPricingResponse> callback) throws ApiException, LWAException
(asynchronously) Returns competitive pricing information for a seller's offer listings based on seller SKU or ASIN. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceId
- A marketplace identifier. Specifies the marketplace for which prices are returned. (required)itemType
- Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter. Possible values: Asin, Sku. (required)asins
- A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace. (optional)skus
- A list of up to twenty seller SKU values used to identify items in the given marketplace. (optional)customerType
- Indicates whether to request pricing information from the point of view of Consumer or Business buyers. Default is Consumer. (optional)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
-
getItemOffers
public GetOffersResponse getItemOffers(java.lang.String marketplaceId, java.lang.String itemCondition, java.lang.String asin, java.lang.String customerType) throws ApiException, LWAException
Returns the lowest priced offers for a single item based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceId
- A marketplace identifier. Specifies the marketplace for which prices are returned. (required)itemCondition
- Filters the offer listings to be considered based on item condition. Possible values: New, Used, Collectible, Refurbished, Club. (required)asin
- The Amazon Standard Identification Number (ASIN) of the item. (required)customerType
- Indicates whether to request Consumer or Business offers. Default is Consumer. (optional)- Returns:
- GetOffersResponse
- 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
-
getItemOffersWithHttpInfo
public ApiResponse<GetOffersResponse> getItemOffersWithHttpInfo(java.lang.String marketplaceId, java.lang.String itemCondition, java.lang.String asin, java.lang.String customerType) throws ApiException, LWAException
Returns the lowest priced offers for a single item based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceId
- A marketplace identifier. Specifies the marketplace for which prices are returned. (required)itemCondition
- Filters the offer listings to be considered based on item condition. Possible values: New, Used, Collectible, Refurbished, Club. (required)asin
- The Amazon Standard Identification Number (ASIN) of the item. (required)customerType
- Indicates whether to request Consumer or Business offers. Default is Consumer. (optional)- Returns:
- ApiResponse<GetOffersResponse>
- 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
-
getItemOffersAsync
public okhttp3.Call getItemOffersAsync(java.lang.String marketplaceId, java.lang.String itemCondition, java.lang.String asin, java.lang.String customerType, ApiCallback<GetOffersResponse> callback) throws ApiException, LWAException
(asynchronously) Returns the lowest priced offers for a single item based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceId
- A marketplace identifier. Specifies the marketplace for which prices are returned. (required)itemCondition
- Filters the offer listings to be considered based on item condition. Possible values: New, Used, Collectible, Refurbished, Club. (required)asin
- The Amazon Standard Identification Number (ASIN) of the item. (required)customerType
- Indicates whether to request Consumer or Business offers. Default is Consumer. (optional)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
-
getItemOffersBatch
public GetItemOffersBatchResponse getItemOffersBatch(GetItemOffersBatchRequest body) throws ApiException, LWAException
Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 1 | 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:
body
- The request associated with the `getItemOffersBatch` API call. (required)- Returns:
- GetItemOffersBatchResponse
- 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
-
getItemOffersBatchWithHttpInfo
public ApiResponse<GetItemOffersBatchResponse> getItemOffersBatchWithHttpInfo(GetItemOffersBatchRequest body) throws ApiException, LWAException
Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 1 | 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:
body
- The request associated with the `getItemOffersBatch` API call. (required)- Returns:
- ApiResponse<GetItemOffersBatchResponse>
- 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
-
getItemOffersBatchAsync
public okhttp3.Call getItemOffersBatchAsync(GetItemOffersBatchRequest body, ApiCallback<GetItemOffersBatchResponse> callback) throws ApiException, LWAException
(asynchronously) Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 1 | 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:
body
- The request associated with the `getItemOffersBatch` API call. (required)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
-
getListingOffers
public GetOffersResponse getListingOffers(java.lang.String marketplaceId, java.lang.String itemCondition, java.lang.String sellerSKU, java.lang.String customerType) throws ApiException, LWAException
Returns the lowest priced offers for a single SKU listing. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceId
- A marketplace identifier. Specifies the marketplace for which prices are returned. (required)itemCondition
- Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club. (required)sellerSKU
- Identifies an item in the given marketplace. SellerSKU is qualified by the seller's SellerId, which is included with every operation that you submit. (required)customerType
- Indicates whether to request Consumer or Business offers. Default is Consumer. (optional)- Returns:
- GetOffersResponse
- 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
-
getListingOffersWithHttpInfo
public ApiResponse<GetOffersResponse> getListingOffersWithHttpInfo(java.lang.String marketplaceId, java.lang.String itemCondition, java.lang.String sellerSKU, java.lang.String customerType) throws ApiException, LWAException
Returns the lowest priced offers for a single SKU listing. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceId
- A marketplace identifier. Specifies the marketplace for which prices are returned. (required)itemCondition
- Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club. (required)sellerSKU
- Identifies an item in the given marketplace. SellerSKU is qualified by the seller's SellerId, which is included with every operation that you submit. (required)customerType
- Indicates whether to request Consumer or Business offers. Default is Consumer. (optional)- Returns:
- ApiResponse<GetOffersResponse>
- 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
-
getListingOffersAsync
public okhttp3.Call getListingOffersAsync(java.lang.String marketplaceId, java.lang.String itemCondition, java.lang.String sellerSKU, java.lang.String customerType, ApiCallback<GetOffersResponse> callback) throws ApiException, LWAException
(asynchronously) Returns the lowest priced offers for a single SKU listing. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceId
- A marketplace identifier. Specifies the marketplace for which prices are returned. (required)itemCondition
- Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club. (required)sellerSKU
- Identifies an item in the given marketplace. SellerSKU is qualified by the seller's SellerId, which is included with every operation that you submit. (required)customerType
- Indicates whether to request Consumer or Business offers. Default is Consumer. (optional)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
-
getListingOffersBatch
public GetListingOffersBatchResponse getListingOffersBatch(GetListingOffersBatchRequest body) throws ApiException, LWAException
Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- The request associated with the `getListingOffersBatch` API call. (required)- Returns:
- GetListingOffersBatchResponse
- 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
-
getListingOffersBatchWithHttpInfo
public ApiResponse<GetListingOffersBatchResponse> getListingOffersBatchWithHttpInfo(GetListingOffersBatchRequest body) throws ApiException, LWAException
Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- The request associated with the `getListingOffersBatch` API call. (required)- Returns:
- ApiResponse<GetListingOffersBatchResponse>
- 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
-
getListingOffersBatchAsync
public okhttp3.Call getListingOffersBatchAsync(GetListingOffersBatchRequest body, ApiCallback<GetListingOffersBatchResponse> callback) throws ApiException, LWAException
(asynchronously) Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- The request associated with the `getListingOffersBatch` API call. (required)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
-
getPricing
public GetPricingResponse getPricing(java.lang.String marketplaceId, java.lang.String itemType, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> skus, java.lang.String itemCondition, java.lang.String offerType) throws ApiException, LWAException
Returns pricing information for a seller's offer listings based on seller SKU or ASIN. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceId
- A marketplace identifier. Specifies the marketplace for which prices are returned. (required)itemType
- Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter. (required)asins
- A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace. (optional)skus
- A list of up to twenty seller SKU values used to identify items in the given marketplace. (optional)itemCondition
- Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club. (optional)offerType
- Indicates whether to request pricing information for the seller's B2C or B2B offers. Default is B2C. (optional)- Returns:
- GetPricingResponse
- 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
-
getPricingWithHttpInfo
public ApiResponse<GetPricingResponse> getPricingWithHttpInfo(java.lang.String marketplaceId, java.lang.String itemType, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> skus, java.lang.String itemCondition, java.lang.String offerType) throws ApiException, LWAException
Returns pricing information for a seller's offer listings based on seller SKU or ASIN. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceId
- A marketplace identifier. Specifies the marketplace for which prices are returned. (required)itemType
- Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter. (required)asins
- A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace. (optional)skus
- A list of up to twenty seller SKU values used to identify items in the given marketplace. (optional)itemCondition
- Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club. (optional)offerType
- Indicates whether to request pricing information for the seller's B2C or B2B offers. Default is B2C. (optional)- Returns:
- ApiResponse<GetPricingResponse>
- 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
-
getPricingAsync
public okhttp3.Call getPricingAsync(java.lang.String marketplaceId, java.lang.String itemType, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> skus, java.lang.String itemCondition, java.lang.String offerType, ApiCallback<GetPricingResponse> callback) throws ApiException, LWAException
(asynchronously) Returns pricing information for a seller's offer listings based on seller SKU or ASIN. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceId
- A marketplace identifier. Specifies the marketplace for which prices are returned. (required)itemType
- Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter. (required)asins
- A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace. (optional)skus
- A list of up to twenty seller SKU values used to identify items in the given marketplace. (optional)itemCondition
- Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club. (optional)offerType
- Indicates whether to request pricing information for the seller's B2C or B2B offers. Default is B2C. (optional)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
-
-