Perform sparse (partial) updates on QuickBooks Online records using SyncToken for optimistic concurrency

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. GET the entity you intend to update and capture both its 'Id' and 'SyncToken' from the response
  2. Construct a POST body containing only the fields you wish to change, plus the required 'Id', 'SyncToken', and 'sparse': true flag
  3. POST to /v3/company/{realmId}/{entityType} (e.g., /invoice) — for sparse update, QBO updates only the supplied fields and leaves others unchanged
  4. If you omit 'sparse': true, QBO treats the request as a full replace and may null out fields you did not include
  5. Handle 400 responses with fault code 'PMT-5006' or similar; re-read the entity to get the current SyncToken and retry
  6. After a successful update, the response contains the new SyncToken; store it if you plan to update the same record again in the same session

Known gotchas

Related routes

Perform a sparse update on a QuickBooks Online Invoice with SyncToken concurrency control
accounting-general · 6 steps · unrated
Perform a sparse update using SyncTokens in QuickBooks Online
developer.intuit.com · 6 steps · unrated
Update a Zoho CRM record with optimistic concurrency control
zoho.com · 4 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