CustomerMod qbXML example

Changes a customer. Send only the fields you want changed, with the record's ListID and EditSequence.

qbXML CustomerModRq, version 16.0
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="16.0"?>
<QBXML>
  <QBXMLMsgsRq onError="stopOnError">
    <CustomerModRq>
      <CustomerMod>
        <ListID>80000001-1700000000</ListID>
        <EditSequence>1700000000</EditSequence>
        <Phone>555-0142</Phone>
        <Email>ap@acme.example</Email>
      </CustomerMod>
    </CustomerModRq>
  </QBXMLMsgsRq>
</QBXML>
Open in the validator Check it against the qbXML 16.0 schema, edit it, and run it in your own QuickBooks.

Things to know

  • A Mod needs the record's current EditSequence. An out-of-date one is refused with 3200, and the answer still carries the record as it stands, so you can retry with its EditSequence.
  • Elements must appear in the order the schema lists them: a valid element in the wrong place fails validation.

The same request with QuBe Sync's API

QuBe Sync takes this JSON, writes the qbXML for you and delivers QuickBooks' answer to your webhook as JSON.

PUT /api/v2/connections/{connection_id}/customers
{
  "edit_sequence": "1700000000",
  "email": "ap@acme.example",
  "list_id": "80000001-1700000000",
  "phone": "555-0142"
}

Every field CustomerMod takes is in Intuit's reference.

More requests

Customers and sales

All qbXML examples