Skip to main content
Version: Streamsheets 3.0

STRIPE.CUSTOMER.UPDATE

Premium

Updates settings for specified customer.

Syntax

=STRIPE.CUSTOMER.UPDATE(CustomerID, [Name], [EMail], [Options], [ResponseTarget])

Arguments

NameTypeDescription
CustomerIDStringThe unique ID of the customer to update.
Name (optional)StringOptional new name for specfied customer.
EMail (optional)StringOptional new email address for specfied customer.
Options (optional)JSONJSON which defines additional options as key value pairs. See Stripe API for supported options and their values.
ResponseTarget (optional)TargetSpecify inbox, outbox, cell or cell-range to write any response to

Return

TypeDescription
Boolean,Result,ErrorRequest result if no target is specified otherwise TRUE. In case of an error the corresponding error-code is returned.

Examples

AB
1metadata[order_id]6735
FormulaResultComment
=STRIPE.CUSTOMER.UPDATE("cus_9BoKyB2Km2T7TE",,"newEmail@customer.me")
JSONUpdates the eMail of CUSTOMER with id "cus_9BoKyB2Km2T7TE".
=STRIPE.CUSTOMER.UPDATE("cus_9BoKyB2Km2T7TE",,"newEmail@customer.me",JSON(A1:B1))
JSONSame as before but additionally adds an metadata.order_id specified by given JSON object.