Cmdlets for Zoho Inventory

Build 24.0.8963

Update-ZohoInventory Cmdlet

Parameters   Output Objects  

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")

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