Skip to content

Bug: a product with a price in the store looks without a price for the api maybe because of the availability #145

@andreabisello

Description

@andreabisello

with this code block

search_items(item_count=10,item_page=page,min_saving_percent=5,keywords=keyword,condition=Condition.NEW,sort_by=SortBy.NEWESTARRIVALS,min_price=min_price100,max_price=max_price100)

i can find this product : B0FWRG79RQ

that regarding api, it has no price

Image

but that's not true, because it has price, but maybe the problem is the availability. How can i search only for available product? i can't see filters here

`

def search_items(
    self,
    keywords: str | None = None,
    actor: str | None = None,
    artist: str | None = None,
    author: str | None = None,
    brand: str | None = None,
    title: str | None = None,
    browse_node_id: str | None = None,
    search_index: str | None = None,
    item_count: int | None = None,
    item_page: int | None = None,
    condition: Condition | None = None,
    currency_of_preference: str | None = None,
    languages_of_preference: list[str] | None = None,
    max_price: int | None = None,
    min_price: int | None = None,
    min_saving_percent: int | None = None,
    min_reviews_rating: int | None = None,
    sort_by: SortBy | None = None,
    resources: list[SearchItemsResource] | None = None,
) -> SearchResult:

`

Image

can you help me please?

thankyou.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions