Class AwdApi


  • public class AwdApi
    extends java.lang.Object
    • Field Detail

      • cancelInboundBucket

        public final io.github.bucket4j.Bucket cancelInboundBucket
      • checkInboundEligibilityBucket

        public final io.github.bucket4j.Bucket checkInboundEligibilityBucket
      • confirmInboundBucket

        public final io.github.bucket4j.Bucket confirmInboundBucket
      • createInboundBucket

        public final io.github.bucket4j.Bucket createInboundBucket
      • getInboundBucket

        public final io.github.bucket4j.Bucket getInboundBucket
      • getInboundShipmentBucket

        public final io.github.bucket4j.Bucket getInboundShipmentBucket
      • getInboundShipmentLabelsBucket

        public final io.github.bucket4j.Bucket getInboundShipmentLabelsBucket
      • listInboundShipmentsBucket

        public final io.github.bucket4j.Bucket listInboundShipmentsBucket
      • listInventoryBucket

        public final io.github.bucket4j.Bucket listInventoryBucket
      • updateInboundBucket

        public final io.github.bucket4j.Bucket updateInboundBucket
      • updateInboundShipmentTransportDetailsBucket

        public final io.github.bucket4j.Bucket updateInboundShipmentTransportDetailsBucket
    • Constructor Detail

      • AwdApi

        public AwdApi​(ApiClient apiClient,
                      java.lang.Boolean disableRateLimiting)
    • Method Detail

      • cancelInbound

        public void cancelInbound​(java.lang.String orderId)
                           throws ApiException,
                                  LWAException
        Cancels an AWD Inbound order and its associated shipment. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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:
        orderId - The ID of the inbound order you want to cancel. (required)
        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
      • cancelInboundWithHttpInfo

        public ApiResponse<java.lang.Void> cancelInboundWithHttpInfo​(java.lang.String orderId)
                                                              throws ApiException,
                                                                     LWAException
        Cancels an AWD Inbound order and its associated shipment. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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:
        orderId - The ID of the inbound order you want to cancel. (required)
        Returns:
        ApiResponse<Void>
        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
      • cancelInboundAsync

        public okhttp3.Call cancelInboundAsync​(java.lang.String orderId,
                                               ApiCallback<java.lang.Void> callback)
                                        throws ApiException,
                                               LWAException
        (asynchronously) Cancels an AWD Inbound order and its associated shipment. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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:
        orderId - The ID of the inbound order you want to cancel. (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 object
        LWAException - If calls to fetch LWA access token fails
      • checkInboundEligibility

        public InboundEligibility checkInboundEligibility​(InboundPackages body)
                                                   throws ApiException,
                                                          LWAException
        Determines if the packages you specify are eligible for an AWD inbound order and contains error details for ineligible packages. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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 - Represents the packages you want to inbound. (required)
        Returns:
        InboundEligibility
        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
      • checkInboundEligibilityWithHttpInfo

        public ApiResponse<InboundEligibility> checkInboundEligibilityWithHttpInfo​(InboundPackages body)
                                                                            throws ApiException,
                                                                                   LWAException
        Determines if the packages you specify are eligible for an AWD inbound order and contains error details for ineligible packages. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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 - Represents the packages you want to inbound. (required)
        Returns:
        ApiResponse<InboundEligibility>
        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
      • checkInboundEligibilityAsync

        public okhttp3.Call checkInboundEligibilityAsync​(InboundPackages body,
                                                         ApiCallback<InboundEligibility> callback)
                                                  throws ApiException,
                                                         LWAException
        (asynchronously) Determines if the packages you specify are eligible for an AWD inbound order and contains error details for ineligible packages. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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 - Represents the packages you want to inbound. (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 object
        LWAException - If calls to fetch LWA access token fails
      • confirmInbound

        public void confirmInbound​(java.lang.String orderId)
                            throws ApiException,
                                   LWAException
        Confirms an AWD inbound order in `DRAFT` status. **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, refer to [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:
        orderId - The ID of the inbound order that you want to confirm. (required)
        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
      • confirmInboundWithHttpInfo

        public ApiResponse<java.lang.Void> confirmInboundWithHttpInfo​(java.lang.String orderId)
                                                               throws ApiException,
                                                                      LWAException
        Confirms an AWD inbound order in `DRAFT` status. **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, refer to [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:
        orderId - The ID of the inbound order that you want to confirm. (required)
        Returns:
        ApiResponse<Void>
        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
      • confirmInboundAsync

        public okhttp3.Call confirmInboundAsync​(java.lang.String orderId,
                                                ApiCallback<java.lang.Void> callback)
                                         throws ApiException,
                                                LWAException
        (asynchronously) Confirms an AWD inbound order in `DRAFT` status. **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, refer to [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:
        orderId - The ID of the inbound order that you want to confirm. (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 object
        LWAException - If calls to fetch LWA access token fails
      • createInbound

        public InboundOrderReference createInbound​(InboundOrderCreationData body)
                                            throws ApiException,
                                                   LWAException
        Creates a draft AWD inbound order with a list of packages for inbound shipment. The operation creates one shipment per order. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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 - Payload for creating an inbound order. (required)
        Returns:
        InboundOrderReference
        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
      • createInboundWithHttpInfo

        public ApiResponse<InboundOrderReference> createInboundWithHttpInfo​(InboundOrderCreationData body)
                                                                     throws ApiException,
                                                                            LWAException
        Creates a draft AWD inbound order with a list of packages for inbound shipment. The operation creates one shipment per order. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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 - Payload for creating an inbound order. (required)
        Returns:
        ApiResponse<InboundOrderReference>
        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
      • createInboundAsync

        public okhttp3.Call createInboundAsync​(InboundOrderCreationData body,
                                               ApiCallback<InboundOrderReference> callback)
                                        throws ApiException,
                                               LWAException
        (asynchronously) Creates a draft AWD inbound order with a list of packages for inbound shipment. The operation creates one shipment per order. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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 - Payload for creating an inbound order. (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 object
        LWAException - If calls to fetch LWA access token fails
      • getInbound

        public InboundOrder getInbound​(java.lang.String orderId)
                                throws ApiException,
                                       LWAException
        Retrieves an AWD inbound order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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:
        orderId - The ID of the inbound order that you want to retrieve. (required)
        Returns:
        InboundOrder
        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
      • getInboundWithHttpInfo

        public ApiResponse<InboundOrder> getInboundWithHttpInfo​(java.lang.String orderId)
                                                         throws ApiException,
                                                                LWAException
        Retrieves an AWD inbound order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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:
        orderId - The ID of the inbound order that you want to retrieve. (required)
        Returns:
        ApiResponse<InboundOrder>
        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
      • getInboundAsync

        public okhttp3.Call getInboundAsync​(java.lang.String orderId,
                                            ApiCallback<InboundOrder> callback)
                                     throws ApiException,
                                            LWAException
        (asynchronously) Retrieves an AWD inbound order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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:
        orderId - The ID of the inbound order that you want to retrieve. (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 object
        LWAException - If calls to fetch LWA access token fails
      • getInboundShipment

        public InboundShipment getInboundShipment​(java.lang.String shipmentId,
                                                  java.lang.String skuQuantities)
                                           throws ApiException,
                                                  LWAException
        Retrieves an AWD inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 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, refer to [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:
        shipmentId - ID for the shipment. A shipment contains the cases being inbounded. (required)
        skuQuantities - If equal to `SHOW`, the response includes the shipment SKU quantity details. Defaults to `HIDE`, in which case the response does not contain SKU quantities (optional)
        Returns:
        InboundShipment
        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
      • getInboundShipmentWithHttpInfo

        public ApiResponse<InboundShipment> getInboundShipmentWithHttpInfo​(java.lang.String shipmentId,
                                                                           java.lang.String skuQuantities)
                                                                    throws ApiException,
                                                                           LWAException
        Retrieves an AWD inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 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, refer to [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:
        shipmentId - ID for the shipment. A shipment contains the cases being inbounded. (required)
        skuQuantities - If equal to `SHOW`, the response includes the shipment SKU quantity details. Defaults to `HIDE`, in which case the response does not contain SKU quantities (optional)
        Returns:
        ApiResponse<InboundShipment>
        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
      • getInboundShipmentAsync

        public okhttp3.Call getInboundShipmentAsync​(java.lang.String shipmentId,
                                                    java.lang.String skuQuantities,
                                                    ApiCallback<InboundShipment> callback)
                                             throws ApiException,
                                                    LWAException
        (asynchronously) Retrieves an AWD inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 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, refer to [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:
        shipmentId - ID for the shipment. A shipment contains the cases being inbounded. (required)
        skuQuantities - If equal to `SHOW`, the response includes the shipment SKU quantity details. Defaults to `HIDE`, in which case the response does not contain SKU quantities (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
      • getInboundShipmentLabels

        public ShipmentLabels getInboundShipmentLabels​(java.lang.String shipmentId,
                                                       java.lang.String pageType,
                                                       java.lang.String formatType)
                                                throws ApiException,
                                                       LWAException
        Retrieves the box labels for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the label URL is available. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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:
        shipmentId - ID for the shipment. (required)
        pageType - Page type for the generated labels. The default is `PLAIN_PAPER`. (optional)
        formatType - The format type of the output file that contains your labels. The default format type is `PDF`. (optional)
        Returns:
        ShipmentLabels
        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
      • getInboundShipmentLabelsWithHttpInfo

        public ApiResponse<ShipmentLabels> getInboundShipmentLabelsWithHttpInfo​(java.lang.String shipmentId,
                                                                                java.lang.String pageType,
                                                                                java.lang.String formatType)
                                                                         throws ApiException,
                                                                                LWAException
        Retrieves the box labels for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the label URL is available. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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:
        shipmentId - ID for the shipment. (required)
        pageType - Page type for the generated labels. The default is `PLAIN_PAPER`. (optional)
        formatType - The format type of the output file that contains your labels. The default format type is `PDF`. (optional)
        Returns:
        ApiResponse<ShipmentLabels>
        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
      • getInboundShipmentLabelsAsync

        public okhttp3.Call getInboundShipmentLabelsAsync​(java.lang.String shipmentId,
                                                          java.lang.String pageType,
                                                          java.lang.String formatType,
                                                          ApiCallback<ShipmentLabels> callback)
                                                   throws ApiException,
                                                          LWAException
        (asynchronously) Retrieves the box labels for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the label URL is available. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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:
        shipmentId - ID for the shipment. (required)
        pageType - Page type for the generated labels. The default is `PLAIN_PAPER`. (optional)
        formatType - The format type of the output file that contains your labels. The default format type is `PDF`. (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
      • listInboundShipments

        public ShipmentListing listInboundShipments​(java.lang.String sortBy,
                                                    java.lang.String sortOrder,
                                                    java.lang.String shipmentStatus,
                                                    org.threeten.bp.OffsetDateTime updatedAfter,
                                                    org.threeten.bp.OffsetDateTime updatedBefore,
                                                    java.lang.Integer maxResults,
                                                    java.lang.String nextToken)
                                             throws ApiException,
                                                    LWAException
        Retrieves a summary of all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters. **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, refer to [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:
        sortBy - Field to sort results by. By default, the response will be sorted by UPDATED_AT. (optional)
        sortOrder - Sort the response in ASCENDING or DESCENDING order. By default, the response will be sorted in DESCENDING order. (optional)
        shipmentStatus - Filter by inbound shipment status. (optional)
        updatedAfter - List the inbound shipments that were updated after a certain time (inclusive). The date must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format. (optional)
        updatedBefore - List the inbound shipments that were updated before a certain time (inclusive). The date must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format. (optional)
        maxResults - Maximum number of results to return. (optional, default to 25)
        nextToken - A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages. (optional)
        Returns:
        ShipmentListing
        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
      • listInboundShipmentsWithHttpInfo

        public ApiResponse<ShipmentListing> listInboundShipmentsWithHttpInfo​(java.lang.String sortBy,
                                                                             java.lang.String sortOrder,
                                                                             java.lang.String shipmentStatus,
                                                                             org.threeten.bp.OffsetDateTime updatedAfter,
                                                                             org.threeten.bp.OffsetDateTime updatedBefore,
                                                                             java.lang.Integer maxResults,
                                                                             java.lang.String nextToken)
                                                                      throws ApiException,
                                                                             LWAException
        Retrieves a summary of all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters. **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, refer to [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:
        sortBy - Field to sort results by. By default, the response will be sorted by UPDATED_AT. (optional)
        sortOrder - Sort the response in ASCENDING or DESCENDING order. By default, the response will be sorted in DESCENDING order. (optional)
        shipmentStatus - Filter by inbound shipment status. (optional)
        updatedAfter - List the inbound shipments that were updated after a certain time (inclusive). The date must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format. (optional)
        updatedBefore - List the inbound shipments that were updated before a certain time (inclusive). The date must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format. (optional)
        maxResults - Maximum number of results to return. (optional, default to 25)
        nextToken - A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages. (optional)
        Returns:
        ApiResponse<ShipmentListing>
        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
      • listInboundShipmentsAsync

        public okhttp3.Call listInboundShipmentsAsync​(java.lang.String sortBy,
                                                      java.lang.String sortOrder,
                                                      java.lang.String shipmentStatus,
                                                      org.threeten.bp.OffsetDateTime updatedAfter,
                                                      org.threeten.bp.OffsetDateTime updatedBefore,
                                                      java.lang.Integer maxResults,
                                                      java.lang.String nextToken,
                                                      ApiCallback<ShipmentListing> callback)
                                               throws ApiException,
                                                      LWAException
        (asynchronously) Retrieves a summary of all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters. **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, refer to [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:
        sortBy - Field to sort results by. By default, the response will be sorted by UPDATED_AT. (optional)
        sortOrder - Sort the response in ASCENDING or DESCENDING order. By default, the response will be sorted in DESCENDING order. (optional)
        shipmentStatus - Filter by inbound shipment status. (optional)
        updatedAfter - List the inbound shipments that were updated after a certain time (inclusive). The date must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format. (optional)
        updatedBefore - List the inbound shipments that were updated before a certain time (inclusive). The date must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format. (optional)
        maxResults - Maximum number of results to return. (optional, default to 25)
        nextToken - A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages. (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
      • listInventory

        public InventoryListing listInventory​(java.lang.String sku,
                                              java.lang.String sortOrder,
                                              java.lang.String details,
                                              java.lang.String nextToken,
                                              java.lang.Integer maxResults)
                                       throws ApiException,
                                              LWAException
        Lists AWD inventory associated with a merchant with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 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, refer to [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:
        sku - Filter by seller or merchant SKU for the item. (optional)
        sortOrder - Sort the response in `ASCENDING` or `DESCENDING` order. (optional)
        details - Set to `SHOW` to return summaries with additional inventory details. Defaults to `HIDE,` which returns only inventory summary totals. (optional)
        nextToken - A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages. (optional)
        maxResults - Maximum number of results to return. (optional, default to 25)
        Returns:
        InventoryListing
        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
      • listInventoryWithHttpInfo

        public ApiResponse<InventoryListing> listInventoryWithHttpInfo​(java.lang.String sku,
                                                                       java.lang.String sortOrder,
                                                                       java.lang.String details,
                                                                       java.lang.String nextToken,
                                                                       java.lang.Integer maxResults)
                                                                throws ApiException,
                                                                       LWAException
        Lists AWD inventory associated with a merchant with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 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, refer to [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:
        sku - Filter by seller or merchant SKU for the item. (optional)
        sortOrder - Sort the response in `ASCENDING` or `DESCENDING` order. (optional)
        details - Set to `SHOW` to return summaries with additional inventory details. Defaults to `HIDE,` which returns only inventory summary totals. (optional)
        nextToken - A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages. (optional)
        maxResults - Maximum number of results to return. (optional, default to 25)
        Returns:
        ApiResponse<InventoryListing>
        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
      • listInventoryAsync

        public okhttp3.Call listInventoryAsync​(java.lang.String sku,
                                               java.lang.String sortOrder,
                                               java.lang.String details,
                                               java.lang.String nextToken,
                                               java.lang.Integer maxResults,
                                               ApiCallback<InventoryListing> callback)
                                        throws ApiException,
                                               LWAException
        (asynchronously) Lists AWD inventory associated with a merchant with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 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, refer to [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:
        sku - Filter by seller or merchant SKU for the item. (optional)
        sortOrder - Sort the response in `ASCENDING` or `DESCENDING` order. (optional)
        details - Set to `SHOW` to return summaries with additional inventory details. Defaults to `HIDE,` which returns only inventory summary totals. (optional)
        nextToken - A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages. (optional)
        maxResults - Maximum number of results to return. (optional, default to 25)
        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
      • updateInbound

        public void updateInbound​(InboundOrder body,
                                  java.lang.String orderId)
                           throws ApiException,
                                  LWAException
        Updates an AWD inbound order that is in `DRAFT` status and not yet confirmed. Use this operation to update the `packagesToInbound`, `originAddress` and `preferences` attributes. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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 - Represents an AWD inbound order. (required)
        orderId - The ID of the inbound order that you want to update. (required)
        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
      • updateInboundWithHttpInfo

        public ApiResponse<java.lang.Void> updateInboundWithHttpInfo​(InboundOrder body,
                                                                     java.lang.String orderId)
                                                              throws ApiException,
                                                                     LWAException
        Updates an AWD inbound order that is in `DRAFT` status and not yet confirmed. Use this operation to update the `packagesToInbound`, `originAddress` and `preferences` attributes. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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 - Represents an AWD inbound order. (required)
        orderId - The ID of the inbound order that you want to update. (required)
        Returns:
        ApiResponse<Void>
        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
      • updateInboundAsync

        public okhttp3.Call updateInboundAsync​(InboundOrder body,
                                               java.lang.String orderId,
                                               ApiCallback<java.lang.Void> callback)
                                        throws ApiException,
                                               LWAException
        (asynchronously) Updates an AWD inbound order that is in `DRAFT` status and not yet confirmed. Use this operation to update the `packagesToInbound`, `originAddress` and `preferences` attributes. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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 - Represents an AWD inbound order. (required)
        orderId - The ID of the inbound order that you want to update. (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 object
        LWAException - If calls to fetch LWA access token fails
      • updateInboundShipmentTransportDetails

        public void updateInboundShipmentTransportDetails​(TransportationDetails body,
                                                          java.lang.String shipmentId)
                                                   throws ApiException,
                                                          LWAException
        Updates transport details for an AWD shipment. **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, refer to [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 - Transportation details for the shipment. (required)
        shipmentId - The shipment ID. (required)
        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
      • updateInboundShipmentTransportDetailsWithHttpInfo

        public ApiResponse<java.lang.Void> updateInboundShipmentTransportDetailsWithHttpInfo​(TransportationDetails body,
                                                                                             java.lang.String shipmentId)
                                                                                      throws ApiException,
                                                                                             LWAException
        Updates transport details for an AWD shipment. **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, refer to [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 - Transportation details for the shipment. (required)
        shipmentId - The shipment ID. (required)
        Returns:
        ApiResponse<Void>
        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
      • updateInboundShipmentTransportDetailsAsync

        public okhttp3.Call updateInboundShipmentTransportDetailsAsync​(TransportationDetails body,
                                                                       java.lang.String shipmentId,
                                                                       ApiCallback<java.lang.Void> callback)
                                                                throws ApiException,
                                                                       LWAException
        (asynchronously) Updates transport details for an AWD shipment. **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, refer to [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 - Transportation details for the shipment. (required)
        shipmentId - The shipment ID. (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 object
        LWAException - If calls to fetch LWA access token fails