Magento API integration – complex filter – multiple values

Integrating with Magento?
Here is a Magento API example of how to query with multiple values using the operator “in” (In the given array):
<filters xsi:type=”urn:filters”>
            <complex_filter xsi:type=”urn:complexFilterArray” soapenc:arrayType=”urn:complexFilter[]”>
<filter>
<key>status</key>
<value>
<key>in</key>
<value>pending</value>
<value>processing</value>
                                <value>holded</value>
</value>
</filter>
    </complex_filter>
         </filters>
Another key that supports multiple values is “nin” (Not in the given array), which is the opposite of “in” operator. The “in” operator matches the values with the given array while “nin” returns a result which does not contain the values specified.
Please note that if the operator is not recognised by Magento then by default “eq”(equal) will be used.
Hope you find that helpful.