Skip to content
View as Markdown

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
integer
Required

Query Parameters

provider*

The commerce provider identifier (e.g., woocommerce, edd, learndash, lifterlms).

Type
string
Required

Responses​

Purchase history data.

application/json
JSON
{
"orders": {
"orders": [
{
}
],
"total": 0
}
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI