/// <summary>
 /// Gets a count of all of the shop's customers.
 /// </summary>
 /// <returns>The count of all customers for the shop.</returns>
 public virtual async Task <int> CountAsync(CustomerSavedSearchCountFilter filter = null, CancellationToken cancellationToken = default)
 {
     return(await ExecuteGetAsync <int>($"{RootResource}/count.json", "count", filter, cancellationToken));
 }
예제 #2
0
 /// <summary>
 /// Gets a count of all of the shop's customers.
 /// </summary>
 /// <returns>The count of all customers for the shop.</returns>
 public virtual async Task <int> CountAsync(CustomerSavedSearchCountFilter filter = null)
 {
     return(await ExecuteGetAsync <int>($"{RootResource}/count.json", "count", filter));
 }