/v1/customers/{customer}Update a customer
Updates an existing customer using only the fields supplied in the request. Change contact, billing, payment source, invoice, balance, or metadata settings as needed, while omitted fields remain unchanged. Supplying a new source can retry eligible past-due subscription invoices, whereas changing default_source does not trigger that retry behavior.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Optional form-encoded fields for partially updating a customer; fields not supplied remain unchanged.
customer must identify the customer to update and may contain at most 5,000 characters. email must be no more than 512 characters, business_name and individual_name no more than 150 characters, and invoice_prefix must contain 3 to 12 uppercase letters or numbers; card details require exp_month, exp_year, and number when provided as an object.