Product Fees

class sp_api.api.ProductFees(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/tree/main/references/product-fees-api

get_product_fees_estimate_for_sku(self, seller_sku, price: float, shipping_price=None, currency='USD', is_fba=False, points: dict = dict, **kwargs) ApiResponse

Returns fees for sku

Examples

literal blocks:

ProductFees().get_product_fees_estimate_for_sku("UmaS1", 10, currency='USD', shipping_price=10, is_fba=False,
                                          points={
                                              "PointsNumber": 0,
                                              "PointsMonetaryValue": {
                                                  "CurrencyCode": "USD",
                                                  "Amount": 0
                                              }
                                          })
Parameters
  • seller_sku

  • price

  • shipping_price

  • currency

  • is_fba

  • points

  • marketplace_id – str | Defaults to self.marketplace_id

  • **kwargs

Return type

ApiResponse

get_product_fees_estimate_for_asin(self, asin, price: float, currency='USD', shipping_price=None, is_fba=False, points: dict = dict, **kwargs) ApiResponse

Returns fees for asin

Examples

literal blocks:

ProductFees().get_product_fees_estimate_for_asin("UmaS1", 10, currency='USD', shipping_price=10, is_fba=False,
                                           points={
                                               "PointsNumber": 0,
                                               "PointsMonetaryValue": {
                                                   "CurrencyCode": "USD",
                                                   "Amount": 0
                                               }
                                           })
Parameters
  • asin

  • price

  • currency

  • shipping_price

  • is_fba

  • points

  • marketplace_id – str | Defaults to self.marketplace_id

  • **kwargs

Return type

ApiResponse