get_products
- Localization.get_products(body: dict, str, version: int = 1, **kwargs) ApiResponse
Localizes (maps) products from a source marketplace to one or more target marketplaces. The localization process succeeds for a given target marketplace if a product matching the source product can be found there and the advertiser is eligible to advertise it. Seller requests have an additional condition: the SKU of a localized product must match the SKU of the source product.
Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]
‘version’: int [optional] Will use content body “application/vnd.productlocalization.v”+str(version)+”+json”
body: | REQUIRED | { | ‘localizeProductRequests’: list | [ | ‘LocalizationProductRequest’: dict | { | ‘product’: LocalizationProduct: dict | { | “asin”: string, The product’s Amazon Standard Identification Number. Required for entityType=VENDOR. If caller’s entityType is SELLER, this field is optional and can yield better localization results if included. | “sku”: string, The product’s Stock Keeping Unit. Required for entityType=SELLER. If caller’s entityType is VENDOR, this field is ignored. | } | } | ] | } | ‘adType’: string, Used to confirm that the caller is eligible to advertise localized products. Currently, only Sponsored Products advertising is supported. [ SPONSORED_PRODUCTS ] | ‘sourceCountryCode’: string A two-letter country code. When both marketplaceId and countryCode are present, countryCode is ignored. Please refer to the table above for a list of supported country codes. | ‘entityType’: string [required] The type of the advertiser accounts for which IDs are specified elsewhere in the request. [ SELLER, VENDOR ] | ‘sourceMarketplaceId’: string The ID of the source marketplace. Please see the table within the description of the target details object for supported values. | ‘targetDetails’: list | ‘LocalizationProductTargetDetails’: dict The target details for the LocalizationProductRequests. There must be only one target details object per marketplace ID. The advertiser ID may be repeated across target details objects. The order of target details objects is irrelevant. The following marketplaces are supported for product localization: | { | “marketplaceId”: string, The ID of a target marketplace (a marketplace in which the caller wishes to localize the specified products). For example, if the caller is an advertiser based in the UK (marketplace ID A1F83G8C2ARO7P) and wishes to localize a product to Germany (marketplace ID A1PA6795UKMFR9), the target marketplace ID is that of Germany, i.e., A1PA6795UKMFR9. The following marketplaces are supported for product localization: | “countryCode”: string, A two-letter country code. When both marketplaceId and countryCode are present, countryCode is ignored. Please refer to the table above for a list of supported country codes. | “advertiserId”: string, [required] The advertiser ID of the caller in the associated target marketplace. The ID of the source advertiser account. This may be either a marketplace-specific obfuscated ID (AD9EUOBWMS33M), an entity ID (ENTITYYXZDK86N86HG), or a global account ID (amzn1.ads-account.g.e0kbzpoe2gkpai1pqeaca59k8). This is the advertiser ID returned by the Profiles API. An entity ID (one starting with “ENTITY”), or a global account advertiser ID may be provided instead. | } }