Cmdlets for Amazon Marketplace

Build 24.0.9060

Update-AmazonMarketplace Cmdlet

Parameters   Output Objects  

Updates Amazon Marketplace data.

Syntax

Update-AmazonMarketplace [parameters]

Remarks

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

$conn = Connect-AmazonMarketplace -InitiateOAuth "GETANDREFRESH" -Marketplace "United States" 
Update-AmazonMarketplace -Connection $conn -Table "Orders" -Columns @("SellerOrderId") -Values @("Jon Doe") -Id "6"
The Where parameter can also be used to specify the primary key of the table:
Update-AmazonMarketplace -Connection $conn -Table "Orders" -Columns @("SellerOrderId") -Values @("Jon Doe") -Where "Id = '6'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-AmazonMarketplace -Connection $conn -Table Orders -Where "BuyerEmail = '[email protected]'" | Update-AmazonMarketplace -Columns @("BuyerEmail") -Values @("[email protected] 2")

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