Cmdlets for TaxJar

Build 21.0.7930

Update-TaxJar Cmdlet

Parameters   Output Objects  

Updates TaxJar data.

Syntax

Update-TaxJar [parameters]

Remarks

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

$conn = Connect-TaxJar -APIKey "3bb04218ef8t80efdf1739abf7257144"
Update-TaxJar -Connection $conn -Table "Orders" -Columns @("UserID") -Values @("Jon Doe") -Id "6"
The Where parameter can also be used to specify the primary key of the table:
Update-TaxJar -Connection $conn -Table "Orders" -Columns @("UserID") -Values @("Jon Doe") -Where "Id = '6'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-TaxJar -Connection $conn -Table Orders -Where "TransactionID = '123'" | Update-TaxJar -Columns @("TransactionID") -Values @("123 2")

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930