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>  …

Read More

Tips: Retrieving the Product Quantity from the Magento API

Getting the product stock quantity in Magento is a bit tricky as you can’t get it from catalog_product.info API call. You need to use cataloginventory_stock_item.list API call. It has only one argument: array products – list of product IDs or SKUs   The array of products here means that you can request multiple product IDs in a…

Read More