Cmdlets for Zoho Books

Build 24.0.9060

Update-ZohoBooks Cmdlet

Parameters   Output Objects  

Updates Zoho Books data.

Syntax

Update-ZohoBooks [parameters]

Remarks

The Update-ZohoBooks cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Zoho Books data.

$conn = Connect-ZohoBooks -InitiateOAuth "GETANDREFRESH" -OrganizationId "YourOrganizationId"
Update-ZohoBooks -Connection $conn -Table "INVOICES" -Columns @("InvoiceNumber") -Values @("Jon Doe") -Id "1894553000000026007"
The Where parameter can also be used to specify the primary key of the table:
Update-ZohoBooks -Connection $conn -Table "INVOICES" -Columns @("InvoiceNumber") -Values @("Jon Doe") -Where "Id = '1894553000000026007'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-ZohoBooks -Connection $conn -Table INVOICES -Where "CustomerName = 'NewTech Industries'" | Update-ZohoBooks -Columns @("CustomerName") -Values @("NewTech Industries 2")

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