createCustomer

Register a new Customer

This function saves the new customer to the Loyale system.

suspend fun createCustomer(
    token: String,
    customerData: ApiCustomerInsertView
): ResponseHolder<ApiCustomerResultView?> {
    return CustomerRequests(baseUrl, activity).createCustomer(
        token, schemeId, customerData
    )
}