Update a customer for the authenticated workspace.
Default authentication mechanism
The unique ID of the customer. You may use either the customer's id on Dub (obtained via /customers endpoint) or their externalId (unique ID within your system, prefixed with ext_, e.g. ext_123).
Whether to include expanded fields on the customer (link, partner, discount).
Email of the customer in the client's app.
Name of the customer in the client's app. If not provided, a random name will be generated.
Avatar URL of the customer in the client's app.
Unique identifier for the customer in the client's app.
The customer's Stripe customer ID. Useful for attribution recurring sale events to the partner who referred the customer.
The customer was updated.
The unique ID of the customer. You may use either the customer's id on Dub (obtained via /customers endpoint) or their externalId (unique ID within your system, prefixed with ext_, e.g. ext_123).
Unique identifier for the customer in the client's app.
Name of the customer.
The date the customer was created.
Email of the customer.
Avatar URL of the customer.
Country of the customer.
Total number of sales for the customer.
Total amount of sales for the customer.