Cmdlets for Amazon Marketplace

Build 23.0.8839

Remove-AmazonMarketplace Cmdlet

Parameters   Output Objects  

Deletes Amazon Marketplace data.

Syntax

Remove-AmazonMarketplace [parameters]

Remarks

The Remove-AmazonMarketplace cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Amazon Marketplace data.

$conn = Connect-AmazonMarketplace -AWSAccessKeyId "myAWSAccessKeyId" -AWSSecretKey "myAWSSecretKey" -MWSAuthToken "myMWSAuthToken" -SellerId "mySellerId" -Marketplace "United States" 
Remove-AmazonMarketplace -Connection $conn -Table "Orders" -Id "6"
The Where parameter can also be used to specify the primary key:
Remove-AmazonMarketplace -Connection $conn -Table "exTablePowershell;" -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]'" | Remove-AmazonMarketplace

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