Cove Systems eCommerce Web Services

Click here for a complete list of operations.

AddLinetoCart

Adds line to cart (creates cart if passed -1), defaults location if not passed.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
ParameterValue
sToken
iOrder
sItem
iQty
nPrice
sLoc

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /demoecommv/webservices.wso HTTP/1.1
Host: www.covesys.com
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddLinetoCart xmlns="http://covesys.com/SetThisInF248WebSrvNam">
      <sToken>string</sToken>
      <iOrder>int</iOrder>
      <sItem>string</sItem>
      <iQty>int</iQty>
      <nPrice>decimal</nPrice>
      <sLoc>string</sLoc>
    </AddLinetoCart>
  </soap:Body>
</soap:Envelope>

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddLinetoCartResponse xmlns="http://covesys.com/SetThisInF248WebSrvNam">
      <AddLinetoCartResult>string</AddLinetoCartResult>
    </AddLinetoCartResponse>
  </soap:Body>
</soap:Envelope>