ListingsRestrictions#
- class sp_api.api.ListingsRestrictions(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'>)#
ListingsRestrictions SP-API Client
The Selling Partner API for Listings Restrictions provides programmatic access to restrictions on Amazon catalog listings.
For more information, see the [Listings Restrictions API Use Case Guide](amzn/selling-partner-api-docs).
- get_listings_restrictions(self, **kwargs) ApiResponse#
Returns listing restrictions for an item in the Amazon Catalog.
Usage Plan:
Rate (requests per second)
Burst
5
10
For more information, see “Usage Plans and Rate Limits” in the Selling Partner API documentation.
Examples
literal blocks:
ListingsRestrictions().get_listings_restrictions()
- Parameters:
asin (key) – object | required The Amazon Standard Identification Number (ASIN) of the item.
conditionType (key) – object | The condition used to filter restrictions.
sellerId (key) – object | required A selling partner identifier, such as a merchant account.
marketplaceIds (key) – object | required A comma-delimited list of Amazon marketplace identifiers for the request.
reasonLocale (key) – object | A locale for reason text localization. When not provided, the default language code of the first marketplace is used. Examples: “en_US”, “fr_CA”, “fr_FR”. Localized messages default to “en_US” when a localization is not available in the specified locale.
- Returns:
ApiResponse