API v1 Reference

Create Shopping Cart

This method must be called as a “container” for the store purchase. Once done, you can add items and personal information. Once all the necessary information has been added to the cart, you can Checkout to complete the purchase.

REST

Request

https://api.neoncrm.com/neonws/services/api/store/createShoppingCart?userSessionId=[session id]

Response

{
    "createShoppingCartResponse": {
        "operationResult": "SUCCESS",
        "responseMessage": "shopping cart created. ",
        "responseDateTime": "2013-02-20T01:20:45.081-06:00",
        "shoppingCartId": 55579
    }
}

SOAP

Request

<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:neon="http://www.z2systems.com/schemas/neonws/">
   <soapenv:header>
       <soapenv:body>
          <neon:createshoppingcartrequest>
             <usersessionid>T1361847074046</usersessionid>
          </neon:createshoppingcartrequest>
       </soapenv:body>
    </soapenv:header>
</soapenv:envelope>

Response

<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:body>
      <ns2:createshoppingcartresponse xmlns:ns2="http://www.z2systems.com/schemas/neonws/">
         <operationresult>SUCCESS</operationresult>
         <responsemessage>shopping cart created.</responsemessage>
         <responsedatetime>2013-02-25T20:51:24.357-06:00</responsedatetime>
         <shoppingcartid>55601</shoppingcartid>
      </ns2:createshoppingcartresponse>
   </soap:body>
</soap:envelope>

Response Parameters

Name Required Description
shoppingCartId Yes ID of the shopping cart created.