ListingsItems๏
- class sp_api.api.ListingsItems(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'>)๏
ListingsItems SP-API Client :link:
The Selling Partner API for Listings Items (Listings Items API) provides programmatic access to selling partner listings on Amazon. Use this API in collaboration with the Selling Partner API for Product Type Definitions, which you use to retrieve the information about Amazon product types needed to use the Listings Items API.
For more information, see the [Listings Items API Use Case Guide](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/use-case-guides/listings-items-api-use-case-guide/listings-items-api-use-case-guide_2021-08-01.md).
- delete_listings_item(self, sellerId, sku, **kwargs) ApiResponse ๏
Delete a listings item for a selling partner. Usage Plans: ====================================== ============== 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. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see โUsage Plans and Rate Limitsโ in the Selling Partner API documentation. :param sellerId: string | * REQUIRED A selling partner identifier, such as a merchant account or vendor code. :param sku: string | * REQUIRED A selling partner provided identifier for an Amazon listing. :param key marketplaceIds: array | * REQUIRED A comma-delimited list of Amazon marketplace identifiers for the request. :param key issueLocale: string | A locale for localization of issues. 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.
- Return type:
- get_listings_item(self, sellerId, **kwargs) ApiResponse ๏
Returns details about a listings item for a selling partner. 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). :param sellerId: string | * REQUIRED A selling partner identifier, such as a merchant account or vendor code :param sku: string | * REQUIRED A selling partner provided identifier for an Amazon listing. :param key marketplaceIds: array | * REQUIRED A comma-delimited list of Amazon marketplace identifiers for the request. :param key issueLocale: string | A locale for localization of issues. 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. :param key includedData: array | A comma-delimited list of data sets to include in the response. Default: summaries.
- Return type:
- search_listings_items(self, sellerId, **kwargs) ApiResponse ๏
Search for and return list of listings items and respective details for a selling partner. Usage Plan: ====================================== ============== Rate (requests per second) Burst ====================================== ============== 5 5 ====================================== ============== 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). :param sellerId: string | * REQUIRED A selling partner identifier, such as a merchant account or vendor code :param key marketplaceIds: array | * REQUIRED A comma-delimited list of Amazon marketplace identifiers for the request. :param key issueLocale: string | A locale for localization of issues. 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. :param key includedData: array | A comma-delimited list of data sets to include in the response. Default: summaries.
- Return type:
- patch_listings_item(self, sellerId, sku, **kwargs) ApiResponse ๏
Partially update (patch) a listings item for a selling partner. Only top-level listings item attributes can be patched. Patching nested attributes is not supported. Usage Plans: ====================================== ============== 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. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see โUsage Plans and Rate Limitsโ in the Selling Partner API documentation. :param sellerId: string | * REQUIRED A selling partner identifier, such as a merchant account or vendor code. :param sku: string | * REQUIRED A selling partner provided identifier for an Amazon listing. :param key marketplaceIds: array | * REQUIRED A comma-delimited list of Amazon marketplace identifiers for the request. :param key issueLocale: string | A locale for localization of issues. 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. :param body: {
โproductTypeโ: โstringโ, โpatchesโ: [
- {
โopโ: โaddโ, โpathโ: โstringโ, โvalueโ: [
{}
]
}
]
- Parameters:
} โ
- Returns:
ApiResponse:
- put_listings_item(self, sellerId, sku, **kwargs) ApiResponse ๏
Creates a new or fully-updates an existing listings item for a selling partner. Usage Plans: ====================================== ============== 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. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see โUsage Plans and Rate Limitsโ in the Selling Partner API documentation. :param sellerId: string | * REQUIRED A selling partner identifier, such as a merchant account or vendor code. :param sku: string | * REQUIRED A selling partner provided identifier for an Amazon listing. :param key marketplaceIds: array | * REQUIRED A comma-delimited list of Amazon marketplace identifiers for the request. :param key issueLocale: string | A locale for localization of issues. 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. :param body: {
โproductTypeโ: โstringโ, โrequirementsโ: โLISTINGโ, โattributesโ: {}
- Parameters:
}
- Return type: