AccountUpdateRequest

@Serializable
data class AccountUpdateRequest(val externalId: String? = null, val profile: String? = null, val accountInformation: AccountUpdateInformationRequest, val metadata: Map<String, JsonPrimitive>? = null)

Updates an account in the system.

Constructors

Link copied to clipboard
constructor(externalId: String? = null, profile: String? = null, accountInformation: AccountUpdateInformationRequest, metadata: Map<String, JsonPrimitive>? = null)

Properties

Link copied to clipboard
@SerialName(value = "information")
val accountInformation: AccountUpdateInformationRequest

The account information to be updated.

Link copied to clipboard
@SerialName(value = "external_id")
val externalId: String? = null

External identifier in your platform

Link copied to clipboard
@SerialName(value = "metadata")
val metadata: Map<String, JsonPrimitive>? = null

The account metadata to be updated. Be aware that updating this value will override all metadata fields.

Link copied to clipboard
@SerialName(value = "profile")
val profile: String? = null

Profile that this Account should be updated to