getCustomerProfile

abstract suspend fun getCustomerProfile(): LoyaltyCustomer

Retrieves a customer's profile from the loyalty program. Only enrolled customers can retrieve their profile.

Return

A LoyaltyCustomer object