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)
ListingsRestrictions SP-API Client :link:
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](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/use-case-guides/listings-restrictions-api-use-case-guide/listings-restrictions-api-use-case-guide_2021-08-01.md).
- get_listings_restrictions(**kwargs)
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 |The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).
Args:
key asin:string | * REQUIRED The Amazon Standard Identification Number (ASIN) of the item.
key conditionType:string | The condition used to filter restrictions.
key sellerId:string | * REQUIRED A selling partner identifier, such as a merchant account.
key marketplaceIds:array | * REQUIRED A comma-delimited list of Amazon marketplace identifiers for the request.
key reasonLocale:string | 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: