Skip to content

Customer.create

POST /{namespace}/customers

Creates a Customer.

Mode
do
Event
Customer.created

Create makes a new Customer from the inputs below. It is inherited: every Noun has get, list, create, update and delete.

Inputs

InputTypeRequiredDescription
sincedatetimerequiredWhen 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.
portalPortalCustomers sign in to a Portal to order, track delivery, accept work, and pay.
acquisitionAcquisitionA Customer inherits the Acquisition of the Lead it was; Metrics and payouts read this one row.

Outputs

OutputTypeRequiredDescription
customerCustomerrequiredThe Customer.

Effects

  • Emits Customer.created.
  • 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.create

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.