Update Customer
Update a customer by ID.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
customer_id
account_id
Request
This endpoint expects an object.
email
Customer email
first_name
Customer first name
last_name
Customer last name
phone
Customer phone
billing_email
Customer billing email
business_name
Customer business name
address
shipping_address
tax_ids
Customer tax IDs
currency
Customer currency
language
Customer language
invoice_settings
Customer invoice settings
metadata
Customer metadata
custom_fields
Custom field values to set on this customer. Keys must match defined field keys for the customer entity type. Set a key to null to delete that field's value.
allow_duplicate_email
When true, skip duplicate email check and create a new customer even if one with the same email exists.
simulation_id
Simulation ID - creates customer in simulation context for test clock scenarios
Response
Successful Response
id
name
first_name
last_name
email
phone
billing_email
business_name
address
shipping_address
tax_ids
currency
ISO 4217 currency codes.
language
invoice_settings
total_spent
Cash captured from this customer, minus refunds and chargebacks. Null when no cash was captured — including invoices settled outside the platform and customers who were fully refunded.
metadata
created_at
updated_at
credit_balance
Primary credit balance (largest currency). Deprecated: use credit_balances.
credit_balances
Credit balances per currency
custom_fields
Custom field values. Only included when expand=custom_fields is specified.
Errors
422
Unprocessable Entity Error