GET Get Contact Purchase History​
GET
/subscribers/{id}/purchase-history
Retrieve purchase/order history for a contact from a specific commerce provider. The data is fetched via the fluent_crm/purchase_history_{provider} filter hook, so the response structure depends on the active commerce integration (e.g., WooCommerce, EDD).
Authorizations​
ApplicationPasswords
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Type
API Key (header: Authorization)
Parameters​
Path Parameters
id*
The contact ID.
Type
Requiredinteger
Query Parameters
provider*
The commerce provider identifier (e.g., woocommerce, edd, learndash, lifterlms).
Type
Requiredstring
Responses​
Purchase history data.
application/json
JSON
{
"orders": {
"orders": [
{
}
],
"total": 0
}
}