Skip to content

Customer.update

PATCH /{namespace}/customers/{id}

Changes the given properties of a Customer.

Mode
do
Event
Customer.updated

Update changes the given properties of a Customer. It is inherited: every Noun has get, list, create, update and delete.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Customer.
sincedatetimeWhen the party first accepted an Offer.
outsidebooleanComputed: true when it shares no owner, account, or sibling chain with the Startup.
billingEmailemailWhere Invoices and receipts go, when it differs from the sign-in email.
billingAddresstextThe address printed on new Invoices; Stripe Tax reads it to compute tax.
taxIdsstring[]The Customer’s tax ids, such as a VAT number, printed on new Invoices and read by Stripe Tax.
creditRechargejsonWhen unspent credit falls below below, buy amount of the credit Offer with the default Payment Source.

Outputs

OutputTypeRequiredDescription
customerCustomerrequiredThe Customer.

Effects

  • Emits Customer.updated.
  • Two-way: try, send, do.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.Customer.update

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.