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)
Link

https://github.com/amzn/selling-partner-api-docs/blob/main/references/merchant-fulfillment-api/merchantFulfillmentV0.md

get_eligible_shipment_services_old(self, shipment_request_details: dict, **kwargs) ApiResponse

Returns a list of shipping service offers that satisfy the specified shipment request details.

Usage Plan:

Rate (requests per second)

Burst

1

1

For more information, see “Usage Plans and Rate Limits” in the Selling Partner API documentation.

Parameters

shipment_request_details – dict:

Returns

Return type

GetEligibleShipmentServicesResponse

get_eligible_shipment_services(self, shipment_request_details: dict, **kwargs) ApiResponse

Returns a list of shipping service offers that satisfy the specified shipment request details.

Usage Plan:

Rate (requests per second)

Burst

1

1

For more information, see “Usage Plans and Rate Limits” in the Selling Partner API documentation.

Parameters

shipment_request_details – dict:

Returns

Return type

GetEligibleShipmentServicesResponse

get_shipment(self, shipmentId: str) ApiResponse

Returns a specified item and its attributes.

Usage Plan:

Rate (requests per second)

Burst

1

1

For more information, see “Usage Plans and Rate Limits” in the Selling Partner API documentation.

Parameters

shipment_id – str:

Returns

Return type

GetShipmentResponse

cancel_shipment(self, shipment_id: str, **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.

Parameters

shipment_id – str:

Returns

Return type

CancelShipmentResponse

cancel_shipment_old(self, shipment_id: str, **kwargs) ApiResponse

Cancel the shipment indicated by the specified shipment identifer.

Usage Plan:

Rate (requests per second)

Burst

1

1

For more information, see “Usage Plans and Rate Limits” in the Selling Partner API documentation.

Parameters

shipment_id – str:

Returns

Return type

CancelShipmentResponse

create_shipment(self, shipment_request_details: dict, shipping_service_id: str, **kwargs) ApiResponse

Create a shipment with the information provided.

Usage Plan:

Rate (requests per second)

Burst

1

1

For more information, see “Usage Plans and Rate Limits” in the Selling Partner API documentation.

Parameters
  • shipment_request_details – dict

  • shipping_service_id – str:

Returns

Return type

CreateShipmentResponse

get_additional_seller_inputs_old(**kwargs)

get_additional_seller_inputs_old(self, shipping_service_id: str, ship_from_address: dict, order_id: str, **kwargs) -> ApiResponse Get 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.

Parameters
  • shipping_service_id – str

  • ship_from_address – dict

  • order_id – str:

Returns

Return type

GetAdditionalSellerInputsResponse

get_additional_seller_inputs(**kwargs)

get_additional_seller_inputs(self, shipping_service_id: str, ship_from_address: dict, order_id: str, **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.

Parameters
  • shipping_service_id – str

  • ship_from_address – dict

  • order_id – str:

Returns

Return type

GetAdditionalSellerInputsResponse