Cmdlets for QuickBooks Online

Build 24.0.9060

Update-QBOnline Cmdlet

Parameters   Output Objects  

Updates QuickBooks Online data.

Syntax

Update-QBOnline [parameters]

Remarks

The Update-QBOnline cmdlet allows you to use a syntax similar to SQL UPDATE statements to update QuickBooks Online data.

$conn = Connect-QBOnline
Update-QBOnline -Connection $conn -Table "Customers" -Columns @("GivenName") -Values @("Trujilo, Ana") -Id "1"
The Where parameter can also be used to specify the primary key of the table:
Update-QBOnline -Connection $conn -Table "Customers" -Columns @("GivenName") -Values @("Trujilo, Ana") -Where "Id = '1'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-QBOnline -Connection $conn -Table Customers -Where "GivenName = 'Cook, Brian'" | Update-QBOnline -Columns @("GivenName") -Values @("Cook, Brian 2")

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060