Update-ZohoInventory Cmdlet
Updates Zoho Inventory data.
Syntax
Update-ZohoInventory [parameters]
Remarks
The Update-ZohoInventory cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Zoho Inventory data.
$conn = Connect-ZohoInventory -InitiateOAuth "GETANDREFRESH" -OrganizationId "YourOrganizationId" Update-ZohoInventory -Connection $conn -Table "Contacts" -Columns @("CustomerName") -Values @("Jon Doe") -Id "3449524000000101001"The Where parameter can also be used to specify the primary key of the table:
Update-ZohoInventory -Connection $conn -Table "Contacts" -Columns @("CustomerName") -Values @("Jon Doe") -Where "Id = '3449524000000101001'"The primary key can also be passed to the cmdlet along the pipeline:
Select-ZohoInventory -Connection $conn -Table Contacts -Where "FirstName = 'Test'" | Update-ZohoInventory -Columns @("FirstName") -Values @("Test 2")