API v1 Reference

Remove Product Option

Delete a specific option from a specific product.

REST

Request

https://api.neoncrm.com/neonws/services/api/store/removeProductOption?userSessionId=[session id]&optionId=41

Response

{
    "RemoveProductOptionResponse": {
        "operationResult": "SUCCESS",
        "responseMessage": "Product option removed",
        "responseDateTime": "2013-02-20T01:00:15.667-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:removeproductoptionrequest>
            <usersessionid>T1361790282286</usersessionid>
            <optionid>45</optionid>
          </neon:removeproductoptionrequest>
       </soapenv:body>
    </soapenv:header>
</soapenv:envelope>

Response

<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:body>
      <ns2:removeproductoptionresponse xmlns:ns2="http://www.z2systems.com/schemas/neonws/">
         <operationresult>SUCCESS</operationresult>
         <responsemessage>Product option removed</responsemessage>
         <responsedatetime>2013-02-25T05:12:11.455-06:00</responsedatetime>
      </ns2:removeproductoptionresponse>
   </soap:body>
</soap:envelope>

Request Parameters

Name Required Description
optionId Yes

Error Codes

Code Text Description
12500 Product option id is required.
12501 Product option id is invalid.