Class FbaInboundApi


  • public class FbaInboundApi
    extends java.lang.Object
    • Constructor Detail

      • FbaInboundApi

        public FbaInboundApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getItemEligibilityPreviewCall

        public okhttp3.Call getItemEligibilityPreviewCall​(java.lang.String asin,
                                                          java.lang.String program,
                                                          java.util.List<java.lang.String> marketplaceIds,
                                                          ProgressResponseBody.ProgressListener progressListener,
                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                   throws ApiException,
                                                          LWAException
        Build call for getItemEligibilityPreview
        Parameters:
        asin - The ASIN of the item for which you want an eligibility preview. (required)
        program - The program that you want to check eligibility against. (required)
        marketplaceIds - The identifier for the marketplace in which you want to determine eligibility. Required only when program=INBOUND. (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        LWAException - If calls to fetch LWA access token fails
      • getItemEligibilityPreview

        public GetItemEligibilityPreviewResponse getItemEligibilityPreview​(java.lang.String asin,
                                                                           java.lang.String program,
                                                                           java.util.List<java.lang.String> marketplaceIds)
                                                                    throws ApiException,
                                                                           LWAException
        This operation gets an eligibility preview for an item that you specify. You can specify the type of eligibility preview that you want (INBOUND or COMMINGLING). For INBOUND previews, you can specify the marketplace in which you want to determine the item's eligibility. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 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:
        asin - The ASIN of the item for which you want an eligibility preview. (required)
        program - The program that you want to check eligibility against. (required)
        marketplaceIds - The identifier for the marketplace in which you want to determine eligibility. Required only when program=INBOUND. (optional)
        Returns:
        GetItemEligibilityPreviewResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        LWAException - If calls to fetch LWA access token fails
      • getItemEligibilityPreviewWithHttpInfo

        public ApiResponse<GetItemEligibilityPreviewResponse> getItemEligibilityPreviewWithHttpInfo​(java.lang.String asin,
                                                                                                    java.lang.String program,
                                                                                                    java.util.List<java.lang.String> marketplaceIds)
                                                                                             throws ApiException,
                                                                                                    LWAException
        This operation gets an eligibility preview for an item that you specify. You can specify the type of eligibility preview that you want (INBOUND or COMMINGLING). For INBOUND previews, you can specify the marketplace in which you want to determine the item's eligibility. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 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:
        asin - The ASIN of the item for which you want an eligibility preview. (required)
        program - The program that you want to check eligibility against. (required)
        marketplaceIds - The identifier for the marketplace in which you want to determine eligibility. Required only when program=INBOUND. (optional)
        Returns:
        ApiResponse<GetItemEligibilityPreviewResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        LWAException - If calls to fetch LWA access token fails
      • getItemEligibilityPreviewAsync

        public okhttp3.Call getItemEligibilityPreviewAsync​(java.lang.String asin,
                                                           java.lang.String program,
                                                           java.util.List<java.lang.String> marketplaceIds,
                                                           ApiCallback<GetItemEligibilityPreviewResponse> callback)
                                                    throws ApiException,
                                                           LWAException
        (asynchronously) This operation gets an eligibility preview for an item that you specify. You can specify the type of eligibility preview that you want (INBOUND or COMMINGLING). For INBOUND previews, you can specify the marketplace in which you want to determine the item's eligibility. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 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:
        asin - The ASIN of the item for which you want an eligibility preview. (required)
        program - The program that you want to check eligibility against. (required)
        marketplaceIds - The identifier for the marketplace in which you want to determine eligibility. Required only when program=INBOUND. (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 object
        LWAException - If calls to fetch LWA access token fails