Skip to main content
/transactions (2023-06)
Heiko Vogelgesang avatar
Written by Heiko Vogelgesang
Updated over 11 months ago

--- THIS VERSION IS DEPRECATED, PLEASE USE THE NEWER VERSION ---

Simple REST API to get all your statistics and transactions programmatically.

Authorization

For your authorization, you need a token. In order to receive a token please read advanced API - Get an access token.

SiteId

The siteId is a unique identifier of your registered ad spaces. You'll find the ID in the user interface.

Endpoint

Header:
"authorization: ACCESS_TOKEN",
"content-type: application/vnd.api+json“

https://advanced-store.cloud/function/api/2023-06/transactions?startDate=2022-08-01&endDate=2022-08-22&siteId=SITE_ID&page=1&size=10

Get a list of all transactions.

* HTTP GET 
* Querystring
* page: number
* siteId: number
* startDate: string (YYYY-MM-DD)
* endDate: string (YYYY-MM-DD)
* programId?: number
* statusId?: number
* size?: number (size <= 100) (page size)
* dateRangeType: 'updatedAt' | 'createdAt'

Example response:

{
"data": {
"totalEntries": 2,
"currentPage": 1,
"totalPageCount": 1,
"data": [
{
"transactionDate": "2023-03-14 11:17:50",
"commission": 5.572,
"basketValue": 0,
"clickTime": "2023-03-11 08:18:14",
"conversionTime": "2d 14h 59m 36s",
"program": "Name of Program DE",
"programId": "114321",
"site": "YourSiteName",
"status": "pending",
"subIdOrText": "YourSubId",
"transactionId": "bd337af117651b",
"transactionType": "sale(PC)",
"transactionUpdateDate": "2023-03-14"
"currency": "EUR"
},
{
"transactionDate": "2023-03-17 11:12:11",
"commission": 2.884,
"basketValue": 361,
"clickTime": "2023-03-17 11:12:11",
"conversionTime": "",
"program": "computer salg",
"programId": "80699",
"site": "YourSiteName",
"status": "pending",
"subIdOrText": "YourSubId",
"transactionId": "bc46a6805d5fcc490ae",
"transactionType": "sale(PC)",
"transactionUpdateDate": "2023-03-18 11:12:11",
"currency": "EUR"
}
],
"pageSize": 50
},
"errors": null,
"success": true
}

Did this answer your question?