How to set a field to NULL via SOAP API
User needs to set a field that has an existing value to NULL using update() call via SOAP API. For example, an account has Notes = 'Account has been suspended.' and now the note needs to be removed. User creates an update() Account call.
<ns1:update> <ns1:zObjects xsi:type="ns2:Account"> <ns2:Id>2c92a0fe56b17c5f0156beb8fdf826fc</ns2:Id> <ns2:Notes></ns2:Notes> </ns1:zObjects> </ns1:update>
However, when checking the Notes field, the value 'Account has been suspended.' is still there.
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √