Customers API
List
GET /customers/get/
Create
POST /customers/add/
{
"name": "Ada Lovelace",
"email": "ada@example.com",
"phone": "+44 20 7946 0958",
"timezone": "Europe/London",
"language": "en_GB"
}
Use createUser=true as a query parameter to create a linked WordPress user. Alternatively pass an existing wpUserId.
Edit
POST /customers/edit/ requires id and accepts updated profile, WordPress user, status, and timezone fields.
Remove
POST /customers/remove/?id=c_example
The standard endpoint refuses to remove a customer who still has reservations. GDPR erasure is an administrator workflow in the WordPress interface, not a public API operation.