API v1 Reference

Remove Category

Deletes a category.

REST

Request

https://api.neoncrm.com/neonws/services/api/store/removeCategory?userSessionId=[session id]&categoryId=13

Response

{
    "RemoveCategoryResponse": {
        "operationResult": "SUCCESS",
        "responseMessage": "Category removed",
        "responseDateTime": "2013-02-17T23:41:37.687-06:00"
    }
}

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:removecategoryrequest>
            <usersessionid>T1361787273065</usersessionid>
            <categoryid>16</categoryid>
          </neon:removecategoryrequest>
       </soapenv:body>
    </soapenv:header>
</soapenv:envelope>

Response

<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:body>
      <ns2:createcategoryresponse xmlns:ns2="http://www.z2systems.com/schemas/neonws/">
         <operationresult>SUCCESS</operationresult>
         <responsemessage>Category created.</responsemessage>
         <responsedatetime>2013-02-25T03:36:32.531-06:00</responsedatetime>
         <categoryid>16</categoryid>
      </ns2:createcategoryresponse>
   </soap:body>
</soap:envelope>

Request Parameters

Name Required Description
categoryId Yes Category ID

Error Codes

Code Text Description
12102 Category id is invalid.
12103 Category id is required.