カスタマーが商品をショッピングカートに入れたということは、その商品に興味がある証拠です。カート内にある商品の類似商品をカスタマー向けに表示することは、追加購入を後押しする有効な手段です。
CartSimilarities レスポンスグループは、ほとんどのカートオペレーションで使用でき、カートリクエストに含まれる商品の類似商品を返します。商品は次の内容に基づいて返されます。
類似性—商品は、購入した商品に類似しています。
参照された商品—カート内の商品を見たカスタマーは、このレスポンスグループで返される商品も見ることになります。
類似商品—商品カテゴリ内の類似商品です。
これらの類似タイプには、独自の要素タグ <SimilarProduct>, <SimilarViewedProduct> および <OtherCategoriesSimilarProduct> があります。次に例を示します。
http://ecs.amazonaws.com/onca/xml? Service=AWSECommerceService& AWSAccessKeyId=[AWS アクセスキー ID]& AssociateId=ws& Operation=CartCreate& Item.1.ASIN=B000062TU1& MergeCart=True& Item.1.Quantity=2& ResponseGroup=CartSimilarities
このリクエストにより、次のレスポンス例が生成されます。
<SimilarProducts>
  <SimilarProduct>
    <ASIN>B00008DDXC</ASIN>
    <Title>Harry Potter and the Chamber of Secrets (Widescreen Edition)(Harry Potter 2)</Title>
  </SimilarProduct>
</SimilarProducts>
<SimilarViewedProducts>
  <SimilarViewedProduct>
    <ASIN>B000E6UZZK</ASIN>
    <Title>Harry Potter Years 1-4 (Harry Potter and the Sorcerer's Stone /Chamber of Secrets / Prisoner of Azkaban / Goblet of Fire) (Widescreen Edition)
    </Title>
  </SimilarViewedProduct>
</SimilarViewedProducts>
<OtherCategoriesSimilarProducts>
  <OtherCategoriesSimilarProduct>
    <ASIN>0590353403</ASIN>
    <Title>Harry Potter and the Sorcerer's Stone (Book 1)</Title>
  </OtherCategoriesSimilarProduct>
</OtherCategoriesSimilarProducts>このレスポンスは、ショッピングカートに入っている Harry Potter and the Sorcerer's Stone の DVD が、別のハリー・ポッターのDVD Harry Potter and the Chamber of Secrets に類似していることを示しています。カスタマーがショッピングカート内のDVDを確認したときに、Harry Potter Years. というDVDも表示されています。DVDの書籍版である Harry Potter and the Sorcerer's Stone は、カート内のDVDに関連する商品ですが、異なる商品カテゴリに分類されます。
関連トピック