API v1 Reference

Remove Product from Catalog

REST

Request

https://api.neoncrm.com/neonws/services/api/store/removeProductFromCatalog?userSessionId=[session id]&catalogId=28&productId=10

Response

{
    "RemoveProductFromCatalogResponse": {
        "operationResult": "SUCCESS",
        "responseDateTime": "2013-02-17T18:53:43.787-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:removeproductfromcatalogrequest>
             <usersessionid>T1361787273065</usersessionid>
            <catalogid>27</catalogid>
             <productid>10</productid>
          </neon:removeproductfromcatalogrequest>
       </soapenv:body>
    </soapenv:header>
</soapenv:envelope>

Response

<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:body>
      <ns2:removeproductfromcatalogresponse xmlns:ns2="http://www.z2systems.com/schemas/neonws/">
         <operationresult>SUCCESS</operationresult>
         <responsedatetime>2013-02-25T04:35:56.149-06:00</responsedatetime>
      </ns2:removeproductfromcatalogresponse>
   </soap:body>
</soap:envelope>

Request Parameters

Name Required Description
catalogId Yes
productId Yes

Error Codes

Code Text Description
12201 Product id is required.
12202 Product id is invalid.
12002 Catalog id is required.
12003 Catalog id is invalid.
12005 Cannot find the given product in the given catalog.