Update a customer
Update the editable fields of a customer. Only first_name and last_name may be changed; both are optional so a request may update just one. Returns the updated customer.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
"cus_mi4f0oda6x9m7gcsvjk0ole1"
Body
The customer fields to update
Customer's first name
1 - 100"John"
Customer's last name
1 - 100"Doe"
Company name. Only valid for company customers; must be non-empty when provided.
1 - 100"Example GmbH"
Response
The updated customer
- Person
- Company
Type of the object, always 'customer'
customer Unique identifier for the customer
"cus_mi4f0oda6x9m7gcsvjk0ole1"
Customer's first name
1 - 100"John"
Customer's last name
1 - 100"Doe"
Email address
"john.doe@example.com"
Timestamp when the customer was created
"2024-03-14T12:00:00Z"
Type of the customer, always 'person'
person VAT identification number (USt-IdNr.) of the customer
"DE123456789"