Update-Ebay Cmdlet
Updates eBay data.
Syntax
Update-Ebay [parameters]
Remarks
The Update-Ebay cmdlet allows you to use a syntax similar to SQL UPDATE statements to update eBay data.
$conn = Connect-Ebay -DevID 'MyDevID' -OAuthClientId 'MyAppID' -OAuthClientSecret 'MyCertID' -RuName 'MyRuName' -SiteID 0 Update-Ebay -Connection $conn -Table "ItemListing" -Columns @("Title") -Values @("My Awesome Book") -Id "Jq74mCczmFXk1tC10GB"The Where parameter can also be used to specify the primary key of the table:
Update-Ebay -Connection $conn -Table "ItemListing" -Columns @("Title") -Values @("My Awesome Book") -Where "ItemId = 'Jq74mCczmFXk1tC10GB'"The primary key can also be passed to the cmdlet along the pipeline:
Select-Ebay -Connection $conn -Table ItemListing -Where "AdminEndedItemsOnly = 'true'" | Update-Ebay -Columns @("AdminEndedItemsOnly") -Values @("true 2")