python-amazon-paapi icon indicating copy to clipboard operation
python-amazon-paapi copied to clipboard

Bug: Offers item price, does not match the website value

Open edgarclerigo opened this issue 11 months ago • 1 comments

Steps to reproduce

  1. Run the sample script posted on Code Example

Code example

from amazon_paapi import AmazonApi
from amazon_paapi import models

amazon = AmazonApi(
	KEY,
        SECRET,
	TAG,
	"ES"
)

items = amazon.get_items(
	'B0776XY7SS',
	merchant=models.Merchant.AMAZON,
	languages_of_preference=["pt_PT"]
)

item = items[0]

print(item.item_info.title.display_value) # Item title
print(item.offers.listings[0].price.amount)

Current behavior

The returned value on item.offers.listings[0].price.amount it's a price that it's not accessible via website.

Screenshot 2025-01-11 at 17 50 15 Screenshot 2025-01-11 at 17 50 08

Expected behavior

The expected behavior is that the price.amount brings a value that it's accessible via website, or the value 20,69€ (for this example) ...

edgarclerigo avatar Jan 14 '25 16:01 edgarclerigo

The price and the offers-listings do not always reflect the buybox and may not necessarily be up to date, however this is caused by the Pa-API itself, I recommend you in these cases to check with the Amazon Product Advertising API Scratchpad, you can find it here

tomventa avatar Mar 06 '25 00:03 tomventa