API v1 Reference

Remove Product Image

Delete a specific image from a specific product.

REST

Request

https://api.neoncrm.com/neonws/services/api/store/removeProductImage?productId=78&userSessionId=[session id]&imageSequenceId=2

Response

{
    "removeProductImageResponse": {
        "operationResult": "SUCCESS",
        "responseMessage": "Product Image Removed.",
        "responseDateTime": "2013-02-18T20:40:01.920-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:removeproductimagerequest>
             <usersessionid>T1361790282286</usersessionid>
             <productid>78</productid>
             <imagesequenceid>4</imagesequenceid>
          </neon:removeproductimagerequest>
       </soapenv:body>
    </soapenv:header>
</soapenv:envelope>

Response

<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:body>
      <ns2:removeproductimageresponse xmlns:ns2="http://www.z2systems.com/schemas/neonws/">
         <operationresult>SUCCESS</operationresult>
         <responsemessage>Product Image Removed.</responsemessage>
         <responsedatetime>2013-02-25T05:04:57.373-06:00</responsedatetime>
      </ns2:removeproductimageresponse>
   </soap:body>
</soap:envelope>

Request Parameters

Name Required Description
productId Yes Product ID
sequenceId Yes Image sequence ID

Error Codes

Code Text Description
12201 Product Id is required.

12202 Product Id is invalid.
12297 Image sequence Id is required.
12298 Image sequence Id is invalid.