Deletes a product from the store.
REST
Request
https://api.neoncrm.com/neonws/services/api/store/removeProduct?userSessionId=[session id]&productId=90
Response
{
"RemoveProductResponse": {
"operationResult": "SUCCESS",
"responseDateTime": "2013-02-18T01:37:52.526-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:removeproductrequest>
<usersessionid>T1361787273065</usersessionid>
<productid>91</productid>
</neon:removeproductrequest>
</soapenv:body>
</soapenv:header>
</soapenv:envelope>
Response
<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:body>
<ns2:removeproductresponse xmlns:ns2="http://www.z2systems.com/schemas/neonws/">
<operationresult>SUCCESS</operationresult>
<responsedatetime>2013-02-25T04:30:28.491-06:00</responsedatetime>
</ns2:removeproductresponse>
</soap:body>
</soap:envelope>
Request Parameters
Name |
Required |
Description |
product.productId |
Yes |
|
Error Codes
Code |
Text |
Description |
12201 |
Product id is required. |
|
12202 |
Product id is invalid. |
|