Cmdlets for BigCommerce

Build 24.0.9060

Remove-BigCommerce Cmdlet

Parameters   Output Objects  

Deletes BigCommerce data.

Syntax

Remove-BigCommerce [parameters]

Remarks

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

$conn = Connect-BigCommerce -OAuthClientId -OAuthClientSecret -CallbackURL 'http://localhost:33333' -StoreId 'YoUrSToREId'
Remove-BigCommerce -Connection $conn -Table "Customers" -Id "10002"
The Where parameter can also be used to specify the primary key:
Remove-BigCommerce -Connection $conn -Table "exTablePowershell;" -Where "Id = 10002"
The primary key can also be passed to the cmdlet along the pipeline:
Select-BigCommerce -Connection $conn -Table Customers -Where "Column2 = 'Bob'" | Remove-BigCommerce

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