Customers


Overview

The customers methods API allows you to retrieve an individual result or a batch of results.


List all customers

Returns customers back from WooCommerce, include parementers to query data.

getCustomers()

Parameters

int page,
int perPage,
String search,
List<int> exclude,
List<int> include,
int offset,
String order,
String orderBy,
bool hideEmpty,
int parent,
int product,
String email,
String slug,
String role

API Call

WooSignal wooSignal = new WooSignal();
wooSignal.setAppKey("your app key");

wooSignal.getCustomers().then((customers){
    print(customers.toString());
});

Response

List<Customer> instance

Represents the following object - WooCommerce list all customers