Search Customers (Premium)
coupons/v1/searchcustomers
GET: /wp-json/coupons/v1/searchcustomers
GET: http://example.com/wp-json/coupons/v1/searchcustomers?search=John[
{
"user_id": 7,
"user_fullname": "John Smith",
"user_email": "johnsmith@example.com"
},
{
"user_id": 6,
"user_fullname": "John Wayne",
"user_email": "johnwayne@example.com"
},
...
]{
"code": "rest_forbidden_context",
"message": "Sorry, you are not allowed access to this endpoint.",
"data": {
"status": 401
}
}Last updated