Querying for Customers

Fetching All Customers

This query will fetch all customers in QuickBooks. If you have a lot of customers in QuickBooks, there's a good chance that this will take a very long time and might even return so much data that your Web Server (Apache, IIS, etc.) will close the connection or die. If that occurs, you'll need to think about using iterators or limiting the amount of data returned with the IncludeRetElement tag.

<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="2.1"?>
<QBXML>
	<QBXMLMsgsRq onError="stopOnError">
		<CustomerQueryRq requestID="whatever"> 
		</CustomerQueryRq>
	</QBXMLMsgsRq>
</QBXML>
quickbooks_qbxml_customerquery.txt · Last modified: 2013/01/21 12:44 (external edit)