FCHubFCHub.co

Get top sold products

Retrieve top-selling products with revenue and quantity data.

GET
/reports/fetch-top-sold-products

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

Query Parameters

params[startDate]?string
Formatdate
params[endDate]?string
Formatdate
params[per_page]?integer

Response Body

application/json

curl -X GET "https://your-site.com/wp-json/fluent-cart/v2/reports/fetch-top-sold-products"
{}