saleweaver / python-amazon-sp-api

Python wrapper to access the amazon selling partner API
https://python-amazon-sp-api.readthedocs.io/en/latest/
MIT License
518 stars 232 forks source link

GET /catalog/2022-04-01/items #1453

Closed Forceres closed 2 months ago

Forceres commented 2 months ago

Describe the bug GET /catalog/2022-04-01/items doesn't coincide with Amazon sp-api docs, cannot pass sellerId, keywords are required (but in docs they are optional), not all includeData options are supported. To put it in a nutshell, I need to get products from specific seller by seller id To Reproduce

Steps to reproduce the behavior:

Launch this code:

self.catalog_items_api = CatalogItems(marketplace, **credentials)

products = self.catalog_items_api.search_catalog_items(sellerId=SELLER_ID,
                                                                       includedData="relationships,attributes,dimensions,identifiers,images,productTypes,salesRanks,summaries",
                                                                       marketplaceIds=["ATVPDKIKX0DER"])

Expected behavior

To get products from specific seller by seller id with pagination

Desktop (please complete the following information):

saleweaver commented 2 months ago

Hi, it should work by setting the correct version - does it?