Report aggregation field. If no value is provided, the report aggregates by product.id.
Security
SecretApiKey or JWT
Criteria for filtering collection items. This field requires a special format. Use , to specify multiple allowed values. Use ; to specify multiple fields.
For more information, see Search filters.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/experimental/reports/journal
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/experimental/reports/journal
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/experimental/reports/journal
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/experimental/reports/journal?currency=USD&bookedFrom=2022-01&bookedTo=2022-01&recognizedAt=2022-04&aggregationField=product.accountingCode&limit=0&offset=0&filter=string' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Response
{ "aggregationField": "product.accountingCode", "currency": "USD", "bookedFrom": "2022-01", "bookedTo": "2022-01", "recognizedAt": "2022-01", "data": [ { … } ] }