Lead
Get leads stats
List total leads, total conversions, number of leads and conversions made over the past 30 days, and rate of conversions over the past 30 days.
get/api/business/{businessId}/branch/{branchId}/leads/stats
Request
- Base URLhttp://api-gateway-eu.phorest.com/third-party-api-server
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
businessIdstring required
branchIdstring required
Response
Leads stats listed
Example response
{
"totalLeads": 13,
"totalConversions": 3,
"leads30Day": 5,
"conversions30Day": 2,
"conversionRate30Day": 2
}Changes
No recorded changes to this operation across all 2 revisions of this API.