Cmdlets for Stripe

Build 24.0.9060

Update-Stripe Cmdlet

Parameters   Output Objects  

Updates Stripe data.

Syntax

Update-Stripe [parameters]

Remarks

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

$conn = Connect-Stripe -OAuthClientId 'MyClientId' -OAuthClientSecret 'MySecretKey' -CallbackURL 'http://localhost:33333'
Update-Stripe -Connection $conn -Table "Customers" -Columns @("Email") -Values @("[email protected]") -Id "123456"
The Where parameter can also be used to specify the primary key of the table:
Update-Stripe -Connection $conn -Table "Customers" -Columns @("Email") -Values @("[email protected]") -Where "Id = '123456'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Stripe -Connection $conn -Table Customers -Where "Delinquent = 'False'" | Update-Stripe -Columns @("Delinquent") -Values @("False 2")

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