createRegistrationsFromBrandProfile
abstract suspend fun createRegistrationsFromBrandProfile(input: CreateRegistrationsFromBrandProfileRequest): CreateRegistrationsFromBrandProfileResponse
Creates one or more registrations in the DRAFT state and prefills their fields from the attributes of a brand profile. This operation runs asynchronously. Use the GetJob operation to track its progress.
Samples
// Create draft registrations from a brand profile
val resp = endUserMessagingClient.createRegistrationsFromBrandProfile {
brandProfileId = "bp-abc12345678901234"
registrationTypes = listOf<String>(
"US_TOLL_FREE_REGISTRATION"
)
smartMatch = true
}Content copied to clipboard