Use the QuickBooks Online query language (AQL) to filter and retrieve entities via the /query endpoint

domain: developer.intuit.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

QuickBooks OAuth refresh token rotation — the full failure-mode walkthrough related to developer.intuit.com, checked against official docs, with linked verified routes.

Steps

  1. Send a GET or POST to /v3/company/{realmId}/query with the 'query' parameter set to a SQL-like SELECT statement
  2. Basic form: SELECT * FROM Invoice WHERE TxnDate >= '2024-01-01' AND TxnDate <= '2024-12-31'
  3. Use STARTPOSITION and MAXRESULTS clauses for pagination: SELECT * FROM Customer STARTPOSITION 1 MAXRESULTS 100
  4. Filter by metadata timestamps for incremental sync: WHERE MetaData.LastUpdatedTime >= '2024-06-01T00:00:00'
  5. Use COUNT(*) queries to estimate result size before fetching pages
  6. Handle the 'QueryResponse' envelope in the response; check 'totalCount' and 'startPosition' to drive pagination loops

Known gotchas

Related routes

Execute QuickBooks Online query language (AQL) requests and handle minor-version-specific field availability
developer.intuit.com · 6 steps · unrated
Query Zoho CRM records using the COQL (CRM Object Query Language) API
www.zoho.com/crm/developer · 5 steps · unrated
Run a SuiteQL query against NetSuite via the REST endpoint and handle column-level results
docs.oracle.com/en/cloud/saas/netsuite · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans