Skip to content

Instantly share code, notes, and snippets.

@rgranadino
Created July 16, 2014 19:26
Show Gist options
  • Save rgranadino/13b863c725a26d3373d5 to your computer and use it in GitHub Desktop.
Save rgranadino/13b863c725a26d3373d5 to your computer and use it in GitHub Desktop.
magento soap order list limited by increment ID
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:Magento" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<soapenv:Header/>
<soapenv:Body>
<urn:salesOrderList soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<sessionId xsi:type="xsd:string">?</sessionId>
<filters xsi:type="urn:filters">
<complex_filter SOAP-ENC:arrayType="ns1:complexFilter[0]" xsi:type="ns1:complexFilterArray">
<item xsi:type="ns1:complexFilter">
<key xsi:type="xsd:string">increment_id</key>
<value xsi:type="ns1:associativeEntity">
<key xsi:type="xsd:string">gteq</key>
<value xsi:type="xsd:string">2420298</value>
</value>
</item>
<item xsi:type="ns1:complexFilter">
<key xsi:type="xsd:string">increment_ID</key>
<value xsi:type="ns1:associativeEntity">
<key xsi:type="xsd:string">lteq</key>
<value xsi:type="xsd:string">2420299</value>
</value>
</item>
</complex_filter>
</filters>
</urn:salesOrderList>
</soapenv:Body>
</soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment