Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
edgarclerigo opened this issue Jan 14, 2025 · 1 comment
Open

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

edgarclerigo opened this issue Jan 14, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@edgarclerigo
Copy link

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 edgarclerigo added the bug Something isn't working label Jan 14, 2025
@tomventa
Copy link

tomventa commented Mar 6, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants