Create a customer.
Scopes: customers:write
Create an Workspace Access Token in your workspace's settings page.
The email address of the customer. This must be unique within the workspace.
"customer@example.com"
Custom key-value attributes.
Keys: string, max 40 chars. Values: string (max 500 chars), integer, float, or boolean. Limit: 50 pairs.
The ID of the customer in your system. This must be unique within the workspace. Once set, it can't be updated.
"usr_1337"
The name of the customer.
256"John Doe"
The type of customer. Defaults to 'individual'. Set to 'team' for customers that can have multiple members.
individual, team "individual"
The workspace ID.
"1dbfc517-0bbf-4301-9ba8-555ca42b9737"
Optional owner member to create with the customer. If not provided, an owner member will be automatically created using the customer's email and name.
Customer created.
A customer in an workspace with their members loaded.
The ID of the customer.
"992fae2a-2a17-4b7a-8d9e-e287cf90131b"
Creation timestamp of the object.
Last modification timestamp of the object.
The ID of the customer in your system. This must be unique within the workspace. Once set, it can't be updated.
"usr_1337"
The email address of the customer. This must be unique within the workspace.
"customer@example.com"
Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.
true
The name of the customer.
"John Doe"
A postal address with optional subdivision (state/province) validation.
The ID of the workspace owning the customer.
"1dbfc517-0bbf-4301-9ba8-555ca42b9737"
Timestamp for when the customer was soft deleted.
"https://www.gravatar.com/avatar/xxx?d=404"
The type of customer: 'individual' for single users, 'team' for customers with multiple members. Legacy customers may have NULL type which is treated as 'individual'.
individual, team "individual"
List of members belonging to this customer.