Skip to content

Postman docs › QuickBooks API (proxy) › Vendor

Vendor ​

A vendor is someone the company buys from. Bills and bill payments refer to it through VendorRef. Vendor is a name-list entity. It can be created, read, queried and updated, and it is retired by deactivating it; it cannot be deleted.

Business rules

  • "Either the DisplayName attribute or at least one of Title, GivenName, MiddleName, FamilyName, or Suffix attributes are required during create."
  • DisplayName must be unique across customers, employees and vendors (6240 Duplicate Name Exists Error). The same character and e-mail rules as Customer apply.
  • A full update rewrites the AP account on historical transactions. The collection uses a sparse update instead.
  • Sparse update is not listed on Intuit's Vendor reference, but it worked on the sandbox on 2026-12-01 (this collection).
  • Canada only: T4AEligible, T5018Eligible.

Postman folder: 5. Vendors; deactivation is in 12. Cleanup. Intuit reference: Vendor.

The Vendor object ​

Fields the collection uses. The full attribute list is in Intuit's reference.

AttributeRequirementTypeDescription
Id* Required for updateread onlysystem definedStringUnique id. Goes into VendorRef.value.
SyncToken* Required for updateread onlysystem definedStringVersion number for optimistic locking.
DisplayName* Conditionally requiredmax 500 charactersStringRequired unless a name part is sent. Unique across customers, vendors and employees.
CompanyNameOptionalStringCompany name.
PrimaryEmailAddr.AddressOptionalStringMust contain @ and ..
AcctNumOptionalmax 100 charactersStringVendor account number. The collection's sparse update sets it.
ActiveOptionalBooleanfalse deactivates the vendor.

Create a vendor ​

Creates QBOC-TEST <run_id> Vendor.

Request body ​

AttributeRequirementTypeDescription
DisplayName* Conditionally requiredmax 500 charactersStringQBOC-TEST {{run_id}} Vendor.
CompanyNameOptionalStringQBO Connect Test Supplier.
PrimaryEmailAddrOptionalObject{"Address": "{{test_email}}"}.

Returns ​

The new Vendor object. The test stores Vendor.Id in vendor_id and Vendor.SyncToken in vendor_sync_token.

Request
Request URLPOST{{base_url}}/api/v1/qbo/v3/company/{{realm_id}}/vendor?requestid={{request_id}}
Intuit operationPOST/v3/company/<realmID>/vendor
Content typeapplication/json
Postman5. Vendors › Create vendor
Storesvendor_id, vendor_sync_token

Request body

json
{
  "DisplayName": "QBOC-TEST {{run_id}} Vendor",
  "CompanyName": "QBO Connect Test Supplier",
  "PrimaryEmailAddr": {
    "Address": "{{test_email}}"
  }
}

Returns (abridged)

json
{
  "Vendor": {
    "Id": "71",
    "SyncToken": "0",
    "DisplayName": "QBOC-TEST mi4x2k Vendor",
    "CompanyName": "QBO Connect Test Supplier",
    "Active": true
  },
  "time": "2026-12-01T02:12:00.000-08:00"
}

Read a vendor ​

Retrieves one Vendor object. The test refreshes vendor_sync_token.

Request
Request URLGET{{base_url}}/api/v1/qbo/v3/company/{{realm_id}}/vendor/{{vendor_id}}
Intuit operationGET/v3/company/<realmID>/vendor/<vendorId>
Acceptapplication/json
Postman5. Vendors › Read vendor
Storesvendor_sync_token

Query a vendor ​

Finds this run's vendors with LIKE. In the URL, %25 is the URL-encoded % wildcard. The test needs at least one row.

Request
Request URLGET{{base_url}}/api/v1/qbo/v3/company/{{realm_id}}/query?query=select * from Vendor where DisplayName LIKE 'QBOC-TEST {{run_id}}%25'
Intuit operationGET/v3/company/<realmID>/query?query=<selectStatement>
Acceptapplication/json
Postman5. Vendors › Query vendors (LIKE)

Sample query (decoded)

text
select * from Vendor where DisplayName LIKE 'QBOC-TEST mi4x2k%'

Returns (abridged)

json
{
  "QueryResponse": {
    "Vendor": [
      { "Id": "71", "SyncToken": "0", "DisplayName": "QBOC-TEST mi4x2k Vendor", "Active": true }
    ],
    "startPosition": 1,
    "maxResults": 1
  },
  "time": "2026-12-01T02:12:05.000-08:00"
}

Sparse update a vendor ​

Sets the account number and leaves every other field as it is.

Request body ​

AttributeRequirementTypeDescription
Id* Required for updateString{{vendor_id}}.
SyncToken* Required for updateString{{vendor_sync_token}}.
sparse* Required for a sparse updateBooleantrue.
AcctNumOptionalmax 100 charactersStringQBOC-{{run_id}}.

Returns ​

The updated Vendor object. The test stores the new SyncToken.

Request
Request URLPOST{{base_url}}/api/v1/qbo/v3/company/{{realm_id}}/vendor?requestid={{request_id}}
Intuit operationPOST/v3/company/<realmID>/vendor
Content typeapplication/json
Postman5. Vendors › Update vendor (sparse)
Storesvendor_sync_token

Request body

json
{
  "Id": "{{vendor_id}}",
  "SyncToken": "{{vendor_sync_token}}",
  "sparse": true,
  "AcctNum": "QBOC-{{run_id}}"
}

Returns (abridged)

json
{
  "Vendor": {
    "Id": "71",
    "SyncToken": "1",
    "DisplayName": "QBOC-TEST mi4x2k Vendor",
    "AcctNum": "QBOC-mi4x2k",
    "Active": true
  },
  "time": "2026-12-01T02:13:00.000-08:00"
}

Deactivate a vendor ​

A sparse update with Active: false. In folder 12, Read vendor stores the current SyncToken in cleanup_sync_token, and Deactivate vendor sends the update. The test checks that Vendor.Active is false.

Request
Request URLPOST{{base_url}}/api/v1/qbo/v3/company/{{realm_id}}/vendor?requestid={{request_id}}
Intuit operationPOST/v3/company/<realmID>/vendor
Content typeapplication/json
Postman12. Cleanup › Read vendor, Deactivate vendor

Request body

json
{
  "Id": "{{vendor_id}}",
  "SyncToken": "{{cleanup_sync_token}}",
  "sparse": true,
  "Active": false
}

Returns (abridged)

json
{
  "Vendor": {
    "Id": "71",
    "SyncToken": "2",
    "Active": false
  },
  "time": "2026-12-01T02:31:00.000-08:00"
}