Report by Period
Path Parameters | Description |
---|---|
startDate | Period start date (YYYY-MM-DD) ISO 8601 |
finishDate | Period finish date (YYYY-MM-DD) ISO 8601 |
Returns all sales in the period
GET report/:startDate/:finishDate
curl --location --request GET 'https://stock.hype.games/api/report/2022-01-01/2022-01-30' \
--header 'Authorization: Bearer ACCESS-TOKEN-HERE' \
--header 'Content-Type: application/json' \
note
The period between the start date and finish date cannot exceed 31 days
Response example
[
{
"transactionId": 21614660,
"partnerReference": "20211124180324",
"salesPrice": 9.9,
"partnerCostPrice": 0.0,
"productId": 20,
"productName": "Combat Arms - 10.000 CASH",
"status": "Canceled in stock",
"transactionDate": "2022-01-20T09:16:22.02",
"countryCode": "BR",
"salesCurrencyCode": "BRL",
"salesCurrencySymbol": "R$",
"key": "AAAA1111-BB22-CC33-DD44-EEE555FFF666",
"keySentToCustomer": false
},
...
]