getCustomerAdditional

Get Customer with additional details

This function retrieves the Customer details of the customer whose Id matches the Id from the parameters. Also retrieves all of the AdditionalCustomerFields linked to that customer.

suspend fun getCustomerAdditional(
    token: String,
    customerId: String
): ResponseHolder<ApiCustomerWithAdditionalFieldsResultView?> {
    return CustomerRequests(baseUrl, activity).getCustomerAdditional(
        token, schemeId, customerId
    )
}