Get Purchase Price Statistics
GET
/v1/groups/statistics/purchase-price
const url = 'https://example.com/api/v1/groups/statistics/purchase-price';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/groups/statistics/purchase-price \ --header 'Authorization: <Authorization>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” start
string
Start date
end
string
End date
Responses
Section titled “ Responses ”OK
Media type application/json
object
end
string
entries
Array<object>
object
date
string
name
string
value
number
start
string
valueAtEnd
number
valueAtStart
number
Example generated
{ "end": "example", "entries": [ { "date": "example", "name": "example", "value": 1 } ], "start": "example", "valueAtEnd": 1, "valueAtStart": 1}