LedgerWire

ItemNonInventory · Mod

simulated in sandbox

ItemNonInventoryMod

Non-inventory items are things you sell or buy without tracking stock: special orders, supplies or pass-through fees.

qbXML request

ItemNonInventoryModRq
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="13.0"?>
<QBXML>
  <QBXMLMsgsRq onError="stopOnError">
    <ItemNonInventoryModRq requestID="1">
      <ItemNonInventoryMod>
        <ListID>80000046-1794871862</ListID>
        <EditSequence>1775852825</EditSequence>
        <SalesOrPurchase>
          <Price>35.00</Price>
        </SalesOrPurchase>
      </ItemNonInventoryMod>
    </ItemNonInventoryModRq>
  </QBXMLMsgsRq>
</QBXML>

JSON equivalent

POST /v1/items/80000046-1794871862
{
  "type": "nonInventory",
  "editSequence": "1775852825",
  "salesOrPurchase": {
    "price": 35
  }
}
curl
curl -X POST https://ledgerwire.vibiz.app/v1/items/80000046-1794871862 \
  -H "Authorization: Bearer $LEDGERWIRE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"nonInventory","editSequence":"1775852825","salesOrPurchase":{"price":35}}'

Run this request against your own sandbox

Add and Mod requests change data, so they run in a private sandbox, not the shared demo. Get a free key (10 seconds), then POST the request above to /v1/qbxml.

qbXML response (from the sandbox seed data)

ItemNonInventoryModRs
<?xml version="1.0" ?>
<QBXML>
  <QBXMLMsgsRs>
    <ItemNonInventoryModRs requestID="1" statusCode="0" statusSeverity="Info" statusMessage="Status OK">
      <ItemNonInventoryRet>
        <ListID>80000046-1794871862</ListID>
        <TimeCreated>2026-04-10T20:27:05+00:00</TimeCreated>
        <TimeModified>2026-04-10T20:27:05+00:00</TimeModified>
        <EditSequence>1775852885</EditSequence>
        <Name>Misc Hardware</Name>
        <FullName>Misc Hardware</FullName>
        <IsActive>true</IsActive>
        <Sublevel>0</Sublevel>
        <SalesOrPurchase>
          <Price>35.00</Price>
        </SalesOrPurchase>
      </ItemNonInventoryRet>
    </ItemNonInventoryModRs>
  </QBXMLMsgsRs>
</QBXML>

FAQ

Why does ItemNonInventoryMod need EditSequence?

QuickBooks uses EditSequence for optimistic locking. Send the value from your last query; if someone changed the item since, QuickBooks answers 3200 and you re-read and retry.

Does ItemNonInventoryMod replace the whole record?

No, only the elements you send change. Lines are the exception on transactions: send every line you want to keep with its TxnLineID, and TxnLineID -1 for new ones.

How do I call ItemNonInventoryMod from JSON?

POST /v1/items/{id} with the editSequence and the fields to change. LedgerWire builds the ItemNonInventoryModRq for you.

Sandbox fidelity

The LedgerWire sandbox simulates ItemNonInventoryMod with QuickBooks rules: required fields, element names, refs that must exist (3140), unique names (3100), field lengths (3070) and EditSequence locking (3200). Tax calculation, custom fields and preferences are not simulated.

More ItemNonInventory messages

Other Mod messages

Skip the XML: call POST /v1/items/80000046-1794871862 with JSON.

Get a free sandbox key