using System.Collections.Generic;
namespace Retailcrm.Versions.V4
{
public partial class Client
{
///
/// Customers history
///
///
///
///
///
public Response CustomersHistory(Dictionary filter = null, int page = 1, int limit = 20)
{
Dictionary parameters = new Dictionary();
if (filter != null && filter.Count > 0)
{
parameters.Add("filter", filter);
}
if (page > 0)
{
parameters.Add("page", page);
}
if (limit > 0)
{
parameters.Add("limit", limit);
}
return Request.MakeRequest("/customers/history", Request.MethodGet, parameters);
}
}
}