Class MerchantFulfillmentApi
- java.lang.Object
-
- software.amazon.spapi.api.merchantfulfillment.v0.MerchantFulfillmentApi
-
public class MerchantFulfillmentApi extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MerchantFulfillmentApi.Builder
-
Constructor Summary
Constructors Constructor Description MerchantFulfillmentApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CancelShipmentResponse
cancelShipment(java.lang.String shipmentId)
Cancel the shipment indicated by the specified shipment identifier.okhttp3.Call
cancelShipmentAsync(java.lang.String shipmentId, ApiCallback<CancelShipmentResponse> callback)
(asynchronously) Cancel the shipment indicated by the specified shipment identifier.okhttp3.Call
cancelShipmentCall(java.lang.String shipmentId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for cancelShipmentApiResponse<CancelShipmentResponse>
cancelShipmentWithHttpInfo(java.lang.String shipmentId)
Cancel the shipment indicated by the specified shipment identifier.CreateShipmentResponse
createShipment(CreateShipmentRequest body)
Create a shipment with the information provided.okhttp3.Call
createShipmentAsync(CreateShipmentRequest body, ApiCallback<CreateShipmentResponse> callback)
(asynchronously) Create a shipment with the information provided.okhttp3.Call
createShipmentCall(CreateShipmentRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createShipmentApiResponse<CreateShipmentResponse>
createShipmentWithHttpInfo(CreateShipmentRequest body)
Create a shipment with the information provided.GetAdditionalSellerInputsResponse
getAdditionalSellerInputs(GetAdditionalSellerInputsRequest body)
Gets a list of additional seller inputs required for a ship method.okhttp3.Call
getAdditionalSellerInputsAsync(GetAdditionalSellerInputsRequest body, ApiCallback<GetAdditionalSellerInputsResponse> callback)
(asynchronously) Gets a list of additional seller inputs required for a ship method.okhttp3.Call
getAdditionalSellerInputsCall(GetAdditionalSellerInputsRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAdditionalSellerInputsApiResponse<GetAdditionalSellerInputsResponse>
getAdditionalSellerInputsWithHttpInfo(GetAdditionalSellerInputsRequest body)
Gets a list of additional seller inputs required for a ship method.ApiClient
getApiClient()
GetEligibleShipmentServicesResponse
getEligibleShipmentServices(GetEligibleShipmentServicesRequest body)
Returns a list of shipping service offers that satisfy the specified shipment request details.okhttp3.Call
getEligibleShipmentServicesAsync(GetEligibleShipmentServicesRequest body, ApiCallback<GetEligibleShipmentServicesResponse> callback)
(asynchronously) Returns a list of shipping service offers that satisfy the specified shipment request details.okhttp3.Call
getEligibleShipmentServicesCall(GetEligibleShipmentServicesRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getEligibleShipmentServicesApiResponse<GetEligibleShipmentServicesResponse>
getEligibleShipmentServicesWithHttpInfo(GetEligibleShipmentServicesRequest body)
Returns a list of shipping service offers that satisfy the specified shipment request details.GetShipmentResponse
getShipment(java.lang.String shipmentId)
Returns the shipment information for an existing shipment.okhttp3.Call
getShipmentAsync(java.lang.String shipmentId, ApiCallback<GetShipmentResponse> callback)
(asynchronously) Returns the shipment information for an existing shipment.okhttp3.Call
getShipmentCall(java.lang.String shipmentId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getShipmentApiResponse<GetShipmentResponse>
getShipmentWithHttpInfo(java.lang.String shipmentId)
Returns the shipment information for an existing shipment.void
setApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
MerchantFulfillmentApi
public MerchantFulfillmentApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
cancelShipmentCall
public okhttp3.Call cancelShipmentCall(java.lang.String shipmentId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for cancelShipment- Parameters:
shipmentId
- The Amazon-defined shipment identifier for the shipment to cancel. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
cancelShipment
public CancelShipmentResponse cancelShipment(java.lang.String shipmentId) throws ApiException, LWAException
Cancel the shipment indicated by the specified shipment identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
shipmentId
- The Amazon-defined shipment identifier for the shipment to cancel. (required)- Returns:
- CancelShipmentResponse
- 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
-
cancelShipmentWithHttpInfo
public ApiResponse<CancelShipmentResponse> cancelShipmentWithHttpInfo(java.lang.String shipmentId) throws ApiException, LWAException
Cancel the shipment indicated by the specified shipment identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
shipmentId
- The Amazon-defined shipment identifier for the shipment to cancel. (required)- Returns:
- ApiResponse<CancelShipmentResponse>
- 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
-
cancelShipmentAsync
public okhttp3.Call cancelShipmentAsync(java.lang.String shipmentId, ApiCallback<CancelShipmentResponse> callback) throws ApiException, LWAException
(asynchronously) Cancel the shipment indicated by the specified shipment identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
shipmentId
- The Amazon-defined shipment identifier for the shipment 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 objectLWAException
- If calls to fetch LWA access token fails
-
createShipmentCall
public okhttp3.Call createShipmentCall(CreateShipmentRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for createShipment- Parameters:
body
- The request schema for the `CreateShipment` operation. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
createShipment
public CreateShipmentResponse createShipment(CreateShipmentRequest body) throws ApiException, LWAException
Create a shipment with the information provided. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- The request schema for the `CreateShipment` operation. (required)- Returns:
- CreateShipmentResponse
- 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
-
createShipmentWithHttpInfo
public ApiResponse<CreateShipmentResponse> createShipmentWithHttpInfo(CreateShipmentRequest body) throws ApiException, LWAException
Create a shipment with the information provided. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- The request schema for the `CreateShipment` operation. (required)- Returns:
- ApiResponse<CreateShipmentResponse>
- 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
-
createShipmentAsync
public okhttp3.Call createShipmentAsync(CreateShipmentRequest body, ApiCallback<CreateShipmentResponse> callback) throws ApiException, LWAException
(asynchronously) Create a shipment with the information provided. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- The request schema for the `CreateShipment` operation. (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
-
getAdditionalSellerInputsCall
public okhttp3.Call getAdditionalSellerInputsCall(GetAdditionalSellerInputsRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getAdditionalSellerInputs- Parameters:
body
- The request schema for the `GetAdditionalSellerInputs` operation. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getAdditionalSellerInputs
public GetAdditionalSellerInputsResponse getAdditionalSellerInputs(GetAdditionalSellerInputsRequest body) throws ApiException, LWAException
Gets a list of additional seller inputs required for a ship method. This is generally used for international shipping. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- The request schema for the `GetAdditionalSellerInputs` operation. (required)- Returns:
- GetAdditionalSellerInputsResponse
- 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
-
getAdditionalSellerInputsWithHttpInfo
public ApiResponse<GetAdditionalSellerInputsResponse> getAdditionalSellerInputsWithHttpInfo(GetAdditionalSellerInputsRequest body) throws ApiException, LWAException
Gets a list of additional seller inputs required for a ship method. This is generally used for international shipping. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- The request schema for the `GetAdditionalSellerInputs` operation. (required)- Returns:
- ApiResponse<GetAdditionalSellerInputsResponse>
- 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
-
getAdditionalSellerInputsAsync
public okhttp3.Call getAdditionalSellerInputsAsync(GetAdditionalSellerInputsRequest body, ApiCallback<GetAdditionalSellerInputsResponse> callback) throws ApiException, LWAException
(asynchronously) Gets a list of additional seller inputs required for a ship method. This is generally used for international shipping. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- The request schema for the `GetAdditionalSellerInputs` operation. (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
-
getEligibleShipmentServicesCall
public okhttp3.Call getEligibleShipmentServicesCall(GetEligibleShipmentServicesRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getEligibleShipmentServices- Parameters:
body
- The request schema for the `GetEligibleShipmentServices` operation. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getEligibleShipmentServices
public GetEligibleShipmentServicesResponse getEligibleShipmentServices(GetEligibleShipmentServicesRequest body) throws ApiException, LWAException
Returns a list of shipping service offers that satisfy the specified shipment request details. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 6 | 12 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- The request schema for the `GetEligibleShipmentServices` operation. (required)- Returns:
- GetEligibleShipmentServicesResponse
- 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
-
getEligibleShipmentServicesWithHttpInfo
public ApiResponse<GetEligibleShipmentServicesResponse> getEligibleShipmentServicesWithHttpInfo(GetEligibleShipmentServicesRequest body) throws ApiException, LWAException
Returns a list of shipping service offers that satisfy the specified shipment request details. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 6 | 12 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- The request schema for the `GetEligibleShipmentServices` operation. (required)- Returns:
- ApiResponse<GetEligibleShipmentServicesResponse>
- 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
-
getEligibleShipmentServicesAsync
public okhttp3.Call getEligibleShipmentServicesAsync(GetEligibleShipmentServicesRequest body, ApiCallback<GetEligibleShipmentServicesResponse> callback) throws ApiException, LWAException
(asynchronously) Returns a list of shipping service offers that satisfy the specified shipment request details. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 6 | 12 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- The request schema for the `GetEligibleShipmentServices` operation. (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
-
getShipmentCall
public okhttp3.Call getShipmentCall(java.lang.String shipmentId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getShipment- Parameters:
shipmentId
- The Amazon-defined shipment identifier for the shipment. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getShipment
public GetShipmentResponse getShipment(java.lang.String shipmentId) throws ApiException, LWAException
Returns the shipment information for an existing shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
shipmentId
- The Amazon-defined shipment identifier for the shipment. (required)- Returns:
- GetShipmentResponse
- 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
-
getShipmentWithHttpInfo
public ApiResponse<GetShipmentResponse> getShipmentWithHttpInfo(java.lang.String shipmentId) throws ApiException, LWAException
Returns the shipment information for an existing shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
shipmentId
- The Amazon-defined shipment identifier for the shipment. (required)- Returns:
- ApiResponse<GetShipmentResponse>
- 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
-
getShipmentAsync
public okhttp3.Call getShipmentAsync(java.lang.String shipmentId, ApiCallback<GetShipmentResponse> callback) throws ApiException, LWAException
(asynchronously) Returns the shipment information for an existing shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are 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 SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
shipmentId
- The Amazon-defined shipment identifier for the shipment. (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
-
-