Endpoint
- Method:
GET - Path:
/affiliates/{id}/statistics - Edition: Core
- Controller:
AffiliateController@statistics - Route source:
app/Http/Routes/api.php
GET Get Affiliate Statistics
GET
/affiliates/{id}/statistics
Get detailed statistics for an affiliate.
Controller: AffiliateController@statistics
Route source: app/Http/Routes/api.php
Authorizations
ApplicationPasswords
WordPress Application Passwords — use Basic auth with username:application_password.
Type
API Key (header: Authorization)
Parameters
Path Parameters
id*
The id.
Type
Requiredinteger
Responses
Successful response
application/json
JSON
{
"data": [
{
}
],
"labels": [
"string"
]
}