我想知道是否有一种方法可以验证一个ASIN是否通过API调用与另一个ASIN合并。我有几个产品,我创建了一个列表,并将其与现有的ASIN进行匹配。几周后,该ASIN与另一个ASIN合并。当一个ASIN与另一个ASIN合并时,亚马逊会发送和电子邮件,但我希望能够检查列表中使用的ASIN是否有效,如果不是,请查看它与之合并的ASIN,以便我可以更新我的列表。当我使用我在清单中存储的不再有效的ASIN查询CompetitivePrice / LowestPrice / MyPrice时,我得不到该ASIN的任何结果。
下面是一个ASIN示例:
B00MOHMZO6 http://www.amazon.com/dp/B00MOHMZO6
它已与B00MBUO68E http://www.amazon.com/dp/B00MBUO68E合并
单击任何一个URL都会转到同一页面。
只是一点额外的信息。当我尝试拉取已经合并的ASIN的CompetitivePricing时,我得到以下响应,它让我知道它是无效的。如果ASIN无效的原因是因为它与另一个ASIN合并,那么最好知道它是与哪个ASIN合并的。
<GetCompetitivePricingForASINResult ASIN="B00MOHMZO6" status="ClientError">
<Error>
<Type>Sender</Type>
<Code>InvalidParameterValue</Code>
<Message>ASIN B00MOHMZO6 is not valid for marketplace ATVPDKIKX0DER</Message>
</Error>
</GetCompetitivePricingForASINResult>发布于 2016-01-07 18:38:22
找到合并的ASIN的唯一方法是使用Amazon MWS Product的API调用"GetMyPriceForSKURequest“,您将获得这些XML响应
<?xml version="1.0"?>
<GetMyPriceForSKUResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01">
<GetMyPriceForSKUResult SellerSKU="mks-plw-sft-sil-eplgs-valpk-6-x1a" status="Success">
<Product>
<Identifiers>
<MarketplaceASIN>
<MarketplaceId>A1F83G8C2ARO7P</MarketplaceId>
<ASIN>B000TC2XLS</ASIN>
</MarketplaceASIN>
<SKUIdentifier>
<MarketplaceId>A1F83G8C2ARO7P</MarketplaceId>
<SellerId>AAAAAAAAAAAAAA</SellerId>
<SellerSKU>mks-plw-sft-sil-eplgs-valpk-6-x1a</SellerSKU>
</SKUIdentifier>
</Identifiers>
<Offers>
<Offer>
<BuyingPrice>
<LandedPrice>
<CurrencyCode>GBP</CurrencyCode>
<Amount>4.73</Amount>
</LandedPrice>
<ListingPrice>
<CurrencyCode>GBP</CurrencyCode>
<Amount>4.73</Amount>
</ListingPrice>
<Shipping>
<CurrencyCode>GBP</CurrencyCode>
<Amount>0.00</Amount>
</Shipping>
</BuyingPrice>
<RegularPrice>
<CurrencyCode>GBP</CurrencyCode>
<Amount>4.73</Amount>
</RegularPrice>
<FulfillmentChannel>MERCHANT</FulfillmentChannel>
<ItemCondition>New</ItemCondition>
<ItemSubCondition>New</ItemSubCondition>
<SellerId>AAAAAAAAAAAAAAA</SellerId>
<SellerSKU>mks-plw-sft-sil-eplgs-valpk-6-x1a</SellerSKU>
</Offer>
<Offer>
<BuyingPrice>
<LandedPrice>
<CurrencyCode>GBP</CurrencyCode>
<Amount>5.13</Amount>
</LandedPrice>
<ListingPrice>
<CurrencyCode>GBP</CurrencyCode>
<Amount>5.13</Amount>
</ListingPrice>
<Shipping>
<CurrencyCode>GBP</CurrencyCode>
<Amount>0.00</Amount>
</Shipping>
</BuyingPrice>
<RegularPrice>
<CurrencyCode>GBP</CurrencyCode>
<Amount>5.13</Amount>
</RegularPrice>
<FulfillmentChannel>AMAZON</FulfillmentChannel>
<ItemCondition>New</ItemCondition>
<ItemSubCondition>New</ItemSubCondition>
<SellerId>AAAAAAAAAAAAAAAAAAA</SellerId>
<SellerSKU>fba-mks-plw-sft-sil-eplgs-valpk-6-x1a</SellerSKU>
</Offer>
</Offers>
</Product>
</GetMyPriceForSKUResult>
<ResponseMetadata>
<RequestId>6a6044a3-5cdd-4600-b310-02233924bc64</RequestId>
</ResponseMetadata>
</GetMyPriceForSKUResponse>您可以从产品->标识符->MarketplaceASIN-> ASIN XML元素中获取ASIN,该元素始终是amazon上最新的ASIN,如果它们相同,您可以与您的ASIN进行比较。
https://stackoverflow.com/questions/34643370
复制相似问题