MerchantFulfillment#
- class sp_api.api.MerchantFulfillment(marketplace: ~sp_api.base.marketplaces.Marketplaces = Marketplaces.US, *, refresh_token=None, account='default', credentials=None, restricted_data_token=None, proxies=None, verify=True, timeout=None, version=None, credential_providers=None, auth_token_client_class=<class 'sp_api.auth.access_token_client.AccessTokenClient'>)#
-
- get_eligible_shipment_services_old(self, shipment_request_details, **kwargs) ApiResponse#
Returns a list of shipping service offers that satisfy the specified shipment request details.
Examples
literal blocks:
MerchantFulfillment().get_eligible_shipment_services_old("value")
- Parameters:
shipment_request_details –
required**kwargs
- Returns:
ApiResponse
- get_eligible_shipment_services(self, shipment_request_details, **kwargs) ApiResponse#
Returns a list of shipping service offers that satisfy the specified shipment request details.
Usage Plan:
Rate (requests per second)
Burst
6
12
For more information, see “Usage Plans and Rate Limits” in the Selling Partner API documentation.
Examples
literal blocks:
MerchantFulfillment().get_eligible_shipment_services("value")
- Parameters:
body – GetEligibleShipmentServicesRequest | required The request schema for the GetEligibleShipmentServices operation.
- Returns:
ApiResponse
- get_shipment(self, shipment_id, **kwargs) ApiResponse#
Returns the shipment information for an existing shipment.
Examples
literal blocks:
MerchantFulfillment().get_shipment("value")
- Parameters:
shipment_id –
required**kwargs
- Returns:
ApiResponse
- cancel_shipment(self, shipment_id, **kwargs) ApiResponse#
Cancel the shipment indicated by the specified shipment identifier.
Usage Plan:
Rate (requests per second)
Burst
1
1
For more information, see “Usage Plans and Rate Limits” in the Selling Partner API documentation.
Examples
literal blocks:
MerchantFulfillment().cancel_shipment("value")
- Parameters:
shipmentId – object | required The Amazon-defined shipment identifier for the shipment to cancel.
- Returns:
ApiResponse
- cancel_shipment_old(self, shipment_id, **kwargs) ApiResponse#
Cancel the shipment indicated by the specified shipment identifer.
Examples
literal blocks:
MerchantFulfillment().cancel_shipment_old("value")
- Parameters:
shipment_id –
required**kwargs
- Returns:
ApiResponse
- create_shipment(self, shipment_request_details, shipping_service_id, **kwargs) ApiResponse#
Create a shipment with the information provided.
Usage Plan:
Rate (requests per second)
Burst
2
2
For more information, see “Usage Plans and Rate Limits” in the Selling Partner API documentation.
Examples
literal blocks:
MerchantFulfillment().create_shipment("value", "value")
- Parameters:
body – CreateShipmentRequest | required The request schema for the CreateShipment operation.
- Returns:
ApiResponse
- get_additional_seller_inputs_old(self, shipping_service_id, ship_from_address, order_id, **kwargs) ApiResponse#
Gets a list of additional seller inputs required for a ship method. This is generally used for international shipping.
Examples
literal blocks:
MerchantFulfillment().get_additional_seller_inputs_old("value", "value", "value")
- Parameters:
shipping_service_id –
requiredship_from_address –
requiredorder_id –
required**kwargs
- Returns:
ApiResponse
- get_additional_seller_inputs(self, shipping_service_id, ship_from_address, order_id, **kwargs) ApiResponse#
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
For more information, see “Usage Plans and Rate Limits” in the Selling Partner API documentation.
Examples
literal blocks:
MerchantFulfillment().get_additional_seller_inputs("value", "value", "value")
- Parameters:
body – GetAdditionalSellerInputsRequest | required The request schema for the GetAdditionalSellerInputs operation.
- Returns:
ApiResponse