Catalog๏ƒ

class sp_api.api.Catalog(marketplace: ~sp_api.base.marketplaces.Marketplaces = Marketplaces.US, *, refresh_token=None, account='default', credentials=None, restricted_data_token=None, proxies=None, verify=True, timeout=None, version=None, credential_providers=None, auth_token_client_class=<class 'sp_api.auth.access_token_client.AccessTokenClient'>)๏ƒ
Link:

https://github.com/amzn/selling-partner-api-docs/blob/main/references/catalog-items-api/catalogItemsV0.md

get_item(self, asin: str, **kwargs) ApiResponse๏ƒ

Returns a specified item and its attributes.

Usage Plan:

Rate (requests per second)

Burst

1

1

For more information, see โ€œUsage Plans and Rate Limitsโ€ in the Selling Partner API documentation.

Examples

literal blocks:

res = Catalog().get_item('ASIN_200', MarketplaceId='TEST_CASE_200')
Parameters:
  • asin โ€“ str

  • MarketplaceId (key) โ€“ str

  • **kwargs

Return type:

GetCatalogItemResponse

list_items(self, **kwargs) ApiResponse๏ƒ

Returns a list of items and their attributes, based on a search query or item identifiers that you specify. When based on a search query, provide the Query parameter and optionally, the QueryContextId parameter. When based on item identifiers, provide a single appropriate parameter based on the identifier type, and specify the associated item value. MarketplaceId is always required.

Usage Plan:

Rate (requests per second)

Burst

1

1

For more information, see โ€œUsage Plans and Rate Limitsโ€ in the Selling Partner API documentation.

Examples

literal blocks:

res = Catalog().list_items(MarketplaceId='TEST_CASE_200', SellerSKU='SKU_200')
Parameters:
  • MarketplaceId (key) โ€“ str

  • Query (key) โ€“ str

  • QueryContextId (key) โ€“ str

  • SellerSKU (key) โ€“ str

  • UPC (key) โ€“ str

  • EAN (key) โ€“ str

  • ISBN (key) โ€“ str

  • JAN (key) โ€“ str

Return type:

ListCatalogItemsResponse

list_categories(self, **kwargs) ApiResponse๏ƒ

Returns the parent categories to which an item belongs, based on the specified ASIN or SellerSKU

Usage Plan:

Rate (requests per second)

Burst

1

2

For more information, see โ€œUsage Plans and Rate Limitsโ€ in the Selling Partner API documentation.

Parameters:
  • MarketplaceId (key) โ€“ str

  • ASIN (key) โ€“ str

  • SellerSKU (key) โ€“ str

Return type:

ListCatalogCategoriesResponse