Home > Integrating > WSI Nodes > ShoppingCart
ShoppingCart
This node allows you to programmatically add to or remove from a customer's shopping cart.
<ShoppingCart Action="Get|Update|Clear" CustomerEMail="string" CustomerGUID="uniqueidentifier" CustomerID="integer" CartType="ShoppingCart|WishCart|RecurringCart"> <Add ExtensionData="string" Quantity="integer" VariantID="integer" Notes="string" FullSKU="string" ShippingAddressGUID="uniqueidentifier" ShippingAddressID="integer" CustomerEnteredPrice="decimal" TextOption="string" ChosenColorSKUModifier="string" ChosenColor="string" ChosenSizeSKUMOdifier="string" ChosenSize="string" VariantGUID="uniqueidentifier" ProductGUID="uniqueidentifier" ProductID="integer"/> <Delete ShoppingCartRecGUID="uniqueidentifier" ShoppingCartRecID="integer"/> <SetQuantity Quantity="integer" ShoppingCartRecGUID="uniqueidentifier" ShoppingCartRecID="integer"/> </ShoppingCart>
If using WSI to add/remove products from a customer's cart, be sure to explain why to them at some point!
Clear a specified customer's cart contents. <ShoppingCart Action="Clear" CustomerEMail="customer@somedomain.com"> </ShoppingCart>