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](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(self, **kwargs) ApiResponse๏ƒ

Returns listing restrictions for an item in the Amazon Catalog.

Parameters:
  • asin (key) โ€“ string | * REQUIRED The Amazon Standard Identification Number (ASIN) of the item.

  • conditionType (key) โ€“ string | The condition used to filter restrictions.

  • sellerId (key) โ€“ string | * REQUIRED A selling partner identifier, such as a merchant account.

  • marketplaceIds (key) โ€“ array | * REQUIRED A comma-delimited list of Amazon marketplace identifiers for the request.

  • reasonLocale (key) โ€“ 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