Adds a customer type to an account.
The unique ID of the account.
A valid API key with a scope of AccountLists
The name of the customer type. Must not be empty and must be 32 characters or fewer.
Indicates if the customer type is active or inactive. Defaults to true if omitted.
name is required, cannot be empty, and cannot exceed 32 characters. If active is omitted, the customer type is created as active.
Customer type names must be unique per account. This is enforced by the API itself, not by a database constraint. Attempting to create a customer type with a name that already exists for the account will fail with a 409 conflict.
Location — the URL of the newly created customer type.
The customer type was created.
The customer type was not created. This occurs if name is missing, empty, or longer than 32 characters.
The API key is missing, invalid, disabled, or does not have the correct scope.
The API key does not belong to this account, the account does not have the API keys feature enabled, or the key does not have the required scope.
A customer type with that name already exists for this account.
The unique ID of the customer type.
The name of the customer type.
Indicates if the customer type is active or inactive.