Customers
Customer records, addresses, purchase history, and account details.
Your customer database, fully exposed. Create, update, and query customer records — complete with addresses, WordPress user linking, and lifetime value tracking.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | List customers | Paginated list with filtering and search |
GET | Get customer details | Detailed info for a specific customer |
GET | Get customer addresses | All addresses for a customer |
GET | Get address select options | Address dropdown options |
GET | Get customer orders | Customer orders in simplified format |
GET | Get customer stats | Customer statistics |
GET | Get attachable users | WordPress users available for linking |
POST | Create customer | Create a new customer record |
POST | Create customer address | Add a new address |
POST | Add customer address | Alternative address creation endpoint |
POST | Attach user | Link a WordPress user to a customer |
POST | Detach user | Unlink a WordPress user from a customer |
POST | Set primary address | Set an address as primary |
POST | Recalculate customer LTV | Recalculate lifetime value |
POST | Bulk customer actions | Perform bulk actions on customers |
PUT | Update customer | Update customer information |
PUT | Update customer address | Update an existing address |
PUT | Update additional info | Update additional customer fields |
DELETE | Delete customer address | Delete a customer's address |