Schema for creating a new member.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
customer_id |
str | ✔️ | The ID of the customer this member belongs to. | |
email |
str | ✔️ | The email address of the member. | member@example.com |
name |
OptionalNullable[str] | ➖ | N/A | Jane Doe |
external_id |
OptionalNullable[str] | ➖ | The ID of the member in your system. This must be unique within the customer. | usr_1337 |
role |
Optional[models.Role] | ➖ | The role of the member within the customer. To assign or transfer ownership, use the member update endpoint. | member |