Cmdlets for Shopify

Build 24.0.8963

Remove-Shopify Cmdlet

Parameters   Output Objects  

Shopify データを削除します。

Syntax

Remove-Shopify [parameters]

Remarks

Remove-Shopify コマンドレットを使って、SQL DELETE ステートメントに似た構文を用いてShopify データを削除できます。

$conn = Connect-Shopify -InitiateOAuth 'GETANDREFRESH' -ShopURL 'https://yourshopname.myshopify.com' -OAuthClientId 'myoauthclientid' -OAuthClientSecret 'myoauthclientsecret'
Remove-Shopify -Connection $conn -Table "Customers" -Id "25"
Where パラメータは主キーを指定するためにも使われます。
Remove-Shopify -Connection $conn -Table "exTablePowershell;" -Where "Id = 25"
主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-Shopify -Connection $conn -Table Customers -Where "FirstName = 'jdoe1234'" | Remove-Shopify

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