Sales¶
Mulitple¶
path:
/portal/api/sales
response:
[
{
"id": 4870,
"status": "open",
"revenue": "35.0",
"revenue_api_client": "24.5",
"revenue_supplier": "10.5",
"timestamp": "2016-11-08T17:46:55.767Z",
"click_out_timestamp": "2016-11-04T17:18:43.403Z",
"api_client_click_out_id": "123456",
"affiliate_network": {
"id": 1
},
"api_client": {
"id": 1
},
"shop": {
"id": 17
}
},
{
"id": 4874,
"status": "open",
"revenue": "35.0",
"revenue_api_client": "24.5",
"revenue_supplier": "10.5",
"timestamp": "2016-11-08T17: 46: 55.767Z",
"click_out_timestamp": "2016-11-04T17: 18: 43.403Z",
"api_client_click_out_id": "123499",
"affiliate_network": {
"id": 1
},
"api_client": {
"id": 1
},
"shop": {
"id": 20
}
}
]
Single¶
path:
/portal/api/sales/4870
response:
{
"id": 4870,
"status": "open",
"revenue": "35.0",
"revenue_api_client": "24.5",
"revenue_supplier": "10.5",
"timestamp": "2016-11-08T17:46:55.767Z",
"click_out_timestamp": "2016-11-04T17:18:43.403Z",
"api_client_click_out_id": "123456",
"affiliate_network": {
"id": 1
},
"api_client": {
"id": 1
},
"shop": {
"id": 17
}
}
Available Filters¶
- end_date
- start_date