Update Customer
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Headers
Request
Billing address. An address with every field empty or blank (e.g. {}) is not stored: on create it is ignored, and on update it removes the customer’s billing address.
Shipping address. An address with every field empty or blank (e.g. {}) is not stored: on create it is ignored, and on update it removes the customer’s shipping address.
Customer language as an ISO 639-1 code, e.g. ‘es’
Per-processor email overrides keyed by processor id, e.g. {“proc_…”: {“email”: “institutional@edu”}}. Stripe + email only for now; rejected (422) for non-Stripe processors or unknown fields. Set to {} to clear. Omit to leave unchanged.
Simulation ID - creates customer in simulation context for test clock scenarios
Optional free-text note to attach to the customer on creation. Merchant-private. Ignored on PUT — use PATCH to edit or clear it.
Response
Deprecated: use total_spent_by_currency. Cash captured from this customer, minus refunds and chargebacks, added across currencies and labelled with one of them. Null when no cash was captured — including invoices settled outside the platform and customers who were fully refunded.
Primary credit balance (largest currency). Deprecated: use credit_balances.
Per-processor overrides keyed by processor id, e.g. {“proc_…”: {“email”: “institutional@edu”}}. Currently Stripe + email only. When set, the override email is used for that processor instead of the primary email; the primary email is never mutated and non-Stripe processors are unaffected.
Custom field values. Only included when expand=custom_fields is specified.
Free-text note attached to this customer, from the notes side-table. Merchant-private — never returned on customer-facing surfaces.
Distinct IP addresses collected across this customer’s checkout attempts, most-recently-seen first, capped at the 20 most recent. Opt-in: populated only on GET /customers/{id} when the request asks for it with expand=ip_addresses; null otherwise, and never present on list responses.