FCHubFCHub.co

Recalculate customer LTV

Recalculate the lifetime value for a customer. LTV is stored in cents.

POST
/customers/{customer_id}/recalculate-ltv

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 POST "https://your-site.com/wp-json/fluent-cart/v2/customers/0/recalculate-ltv"
{}