Query list of customers with store credits balance
GET: /wp-json/wc-store-credits/v1/customers
Query Parameters
Required
Type
Default value
Description
GET: http://example.com/wp-json/wc-store-credits/v1/customersGET: http://example.com/wp-json/wc-store-credits/v1/customers?search=testHeaders:
{
...
X-TOTAL: 20
}
[
{
"key": "9",
"id": 9,
"first_name": "Indo",
"last_name": "Nesia",
"email": "indonesia@acfw.test",
"balance_raw": 55,
"balance": "$55.00"
},
{
"key": "5",
"id": 5,
"first_name": "",
"last_name": "",
"email": "dummy3@acfw.test",
"balance_raw": 95.5,
"balance": "$95.50"
},
{
"key": "4",
"id": 4,
"first_name": "",
"last_name": "",
"email": "dummy2@acfw.test",
"balance_raw": 0,
"balance": "$0.00"
},
...
]Last updated