-
Hi all, I tried to fetch some data with Catalog.list_items(/catalog/v0/items) following the official docs, which the only required param is MarketplaceId. However, the error occurs always:
I wonder if anyone met this before and what the IdType is. I found hc's answer in https://sellercentral.amazon.com/forums/t/need-help-adding-string-to-idlist/187687/3, but it doesn't work either. Nothing else is responded even if I write like this: Catalog(credentials=credentials).list_items(
IdType='ASIN',
MarketplaceId='ATVPDKIKX0DER',
) I'm new to the Amazon Seller API, thanks for any help!🤦♀️ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You can't use Catalog with ASIN. Its primary use case is to find ASINS by using another type of identifier. Quote from the documentation: Type | Name | Description | Schema Example of calls: resp = Catalog(credentials=credentials).list_items(
MarketplaceId=sp_api.base.Marketplaces.US.marketplace_id,
Query='Python Coding') That's not very efficient in Amazon to use regular Query search. resp = Catalog(credentials=credentials).list_items(
MarketplaceId=sp_api.base.Marketplaces.US.marketplace_id,
UPC='885909918164') |
Beta Was this translation helpful? Give feedback.
You can't use Catalog with ASIN. Its primary use case is to find ASINS by using another type of identifier.
Quote from the documentation:
Type | Name | Description | Schema
Query | MarketplaceId required | A marketplace identifier. Specifies the marketplace for which items are returned. | string
Query | Query optional | Keyword(s) to use to search for items in the catalog. Example: 'harry potter books'. | string
Query | QueryContextId optional | An identifier for the context within which the given search will be performed. A marketplace might provide mechanisms for constraining a search to a subset of potential items. For example, the retail marketplace allows queries to be constrained…