Cmdlets for Avalara

Build 24.0.8963

Update-Avalara Cmdlet

Parameters   Output Objects  

Updates Avalara data.

Syntax

Update-Avalara [parameters]

Remarks

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

$conn = Connect-Avalara -User "MYUser" -Password "myPassword"
Update-Avalara -Connection $conn -Table "Transactions" -Columns @("TotalTax") -Values @("Jon Doe") -Id "4000121038642"
The Where parameter can also be used to specify the primary key of the table:
Update-Avalara -Connection $conn -Table "Transactions" -Columns @("TotalTax") -Values @("Jon Doe") -Where "Id = '4000121038642'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Avalara -Connection $conn -Table Transactions -Where "Code = '051349'" | Update-Avalara -Columns @("Code") -Values @("051349 2")

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