eCommerceService

eCommerceService Description: ASMX, WSDL


AddReplaceCartLines: ASMX, XML
Description: Add/replace all (deletes all existing lines before inserting new) eCommerce cart line records. Use the CartToken and eCommercePortal fields for unique cart reference.
When batching multiple cart lines, limit batch size to 100 or fewer.
Parameters:
Name Type Description
AbandonedCartLines AbandonedCart.AbandonedCartLineItemsDataTable XSD
 
SoapHeader:
Name Type Description
Username String Your API access username.
Password String Your API access password.
List String The account you want to access.
 
Return Value:
Type Description
AbandonedCart.AbandonedCartLineItemsDataTable XSD



AddReplaceOrderLines: ASMX, XML
Description: Add/replace all (deletes all existing lines before inserting new) eCommerce order line records. Use the ExternalOrderID and eCommercePortal fields for unique order reference.
When batching multiple order lines, limit batch size to 100 or fewer.
Parameters:
Name Type Description
Lines eCommerceOrderLineItems.eCommerceOrderLineItemsDataTable XSD
 
SoapHeader:
Name Type Description
Username String Your API access username.
Password String Your API access password.
List String The account you want to access.
 
Return Value:
Type Description
eCommerceOrderLineItems.eCommerceOrderLineItemsDataTable XSD



DeleteCart: ASMX, XML
Description: Delete existing eCommerce cart using the CartToken and eCommercePortal fields.
Parameters:
Name Type Description
CartToken String  
Portal String  
 
SoapHeader:
Name Type Description
Username String Your API access username.
Password String Your API access password.
List String The account you want to access.
 



DeleteOrder: ASMX, XML
Description: Delete existing eCommerce order or only lines for the order using the ExternalOrderID and eCommercePortal fields.
Parameters:
Name Type Description
OrderID String  
Portal String  
linesOnly Boolean  
 
SoapHeader:
Name Type Description
Username String Your API access username.
Password String Your API access password.
List String The account you want to access.
 



LoadByOrderIDPortal: ASMX, XML
Description: Load eCommerce order by ExternalOrderID and eCommercePortal.
Parameters:
Name Type Description
OrderID String  
Portal String  
 
SoapHeader:
Name Type Description
Username String Your API access username.
Password String Your API access password.
List String The account you want to access.
 
Return Value:
Type Description
eCommerceDataset.eCommerceOrderDataDataTable XSD



LoadLinesByOrderIDPortal: ASMX, XML
Description: Load eCommerce order lines by ExternalOrderID and eCommercePortal.
Parameters:
Name Type Description
OrderID String  
Portal String  
 
SoapHeader:
Name Type Description
Username String Your API access username.
Password String Your API access password.
List String The account you want to access.
 
Return Value:
Type Description
eCommerceOrderLineItems.eCommerceOrderLineItemsDataTable XSD



UpsertCart: ASMX, XML
Description: Add a new eCommerce cart record, or update that cart record if it already exists. Use the CartToken and eCommercePortal fields for unique cart reference.
When batching multiple carts, limit batch size to 100 or fewer.
Parameters:
Name Type Description
Carts AbandonedCart.AbandonedCartsDataTable XSD
 
SoapHeader:
Name Type Description
Username String Your API access username.
Password String Your API access password.
List String The account you want to access.
 
Return Value:
Type Description
AbandonedCart.AbandonedCartsDataTable XSD



UpsertOrder: ASMX, XML
Description: Add a new eCommerce order record, or update that order record if it already exists. Use the ExternalOrderID and eCommercePortal fields for unique order reference.
When batching multiple orders, limit batch size to 100 or fewer.
Parameters:
Name Type Description
Orders eCommerceDataset.eCommerceOrderDataDataTable XSD
 
SoapHeader:
Name Type Description
Username String Your API access username.
Password String Your API access password.
List String The account you want to access.
 
Return Value:
Type Description
eCommerceDataset.eCommerceOrderDataDataTable XSD