Add a member to the customer, or change their name and e-mail
`member_id` is your own id of the person. The first member of a customer becomes its billing owner; everybody added after is a member until ownership is handed to them. A member that exists keeps its role.
Loading the operation...
Replace the customer's name and e-mail address PUT
Invoices, receipts and dunning mails carry the name and go to the e-mail address, in the customer's language. Name and e-mail are required, with the limits of customer creation. Language, kind and phone are optional; omit one to keep what the customer has (only the phone can be cleared, with an empty string). The external id cannot change.
Replace the customer's tax data used on e-invoices PUT
Tax id (VKN/TCKN in Turkey, VAT id in the EU), tax office (Turkey) and whether the customer is registered for e-fatura. Empty values clear them. An id that does not look right for the customer's country and kind is stored all the same: the customer comes back with tax_id_warning set, and tax_id_validated_at is set only for an id that passes the local checksum or shape check. Error key plans.customer.tax_invalid (only for an id that is not 5 to 20 letters and digits, or a tax office that is not one line).