Adding Items as Saved For Later
http://ecs.amazonaws.com/onca/xml? Service=AWSECommerceService& AWSAccessKeyId=[AWS Access Key ID]
&AssociateTag
=[Associate ID]
& Operation=CartModify& CartId=[Cart ID]
& HMAC=[HMAC]
& Item.1.CartItemId=[Cart Item ID]
& Item.1.Quantity=1 Item.1.Action=SaveForLater
In this request, the item identified by Item.1 is moved to the cart's SaveForLater area. The Quantity parameter enables you to move only some of one type of item into the SaveForLater area, for example, if you had fifteen copies of the book, Saving Miss Oliver's, in the cart, you could move eight of them to the SaveForLater area by setting Item.1.Quantity=8 in the preceding request.
Note | |
---|---|
The value for the
<SavedForLaterItem>
<CartItemId>ULI7S9IYFJHX0</CartItemId>
<ASIN>B0009GZV4A</ASIN>
<MerchantId>ATVPDKIKX0DER</MerchantId>
<SellerId>A2R2RITDJNW1Q6</SellerId>
<Quantity>2</Quantity>
<Title>Mark VII Men's Short Sleeve Golf Shirts with
Tri -Colored Stripe Trim</Title>
<ItemTotal>
<Amount>1288</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$12.88</FormattedPrice>
</ItemTotal>
</SavedForLaterItem>
|
To move an item from the SaveForLater area to the Active area, use "
MoveToCart" as the value for the
Action
parameter in a
CartModify
operation:
Item.1.CartItemId=[Cart Item ID]
&
Item.1.Quantity=1
Item.1.Action=MoveToCart