Get customer stats
Retrieve statistics for a specific customer including order count and total spend.
Authorization
applicationPassword AuthorizationBasic <token>
WordPress Application Password authentication. Generate one at wp-admin > Users > Application Passwords. Use as Basic Auth with username:application_password (base64-encoded).
In: header
Path Parameters
customer_id*integer
Customer ID
Response Body
application/json
application/json
curl -X GET "https://your-site.com/wp-json/fluent-cart/v2/customers/get-stats/0"{}{
"code": "rest_forbidden",
"message": "Sorry, you are not allowed to do that.",
"data": {
"status": 401
}
}