Download OpenAPI specification:Download
Affiliate reports API for:
Get promotions report
startDate required | string <date> Example: startDate=2022-12-31 |
endDate required | string <date> Example: endDate=2022-12-31 |
Authorization | string |
{- "items": [
- {
- "date": "string",
- "siteName": "string",
- "siteCode": "string",
- "frameType": "string",
- "name": "string",
- "subId": "string",
- "clicks": 0,
- "impressions": 0,
- "clickThroughRate": 0,
- "commission": 0,
- "earningsPerClick": 0,
- "earningsPerMille": 0,
- "orders": 0,
- "conversion": 0,
- "revenueExclVat": 0,
- "revenueInclVat": 0,
- "averageOrderValue": 0
}
]
}
Get orders report
startDate required | string <date> Example: startDate=2022-10-10 |
endDate required | string <date> Example: endDate=2022-10-10 |
Authorization | string |
{- "items": [
- {
- "orderDate": "string",
- "orderDateTime": "string",
- "orderId": "string",
- "orderItemId": "string",
- "productTitle": "string",
- "productId": "string",
- "quantity": 0,
- "chunkName": "string",
- "siteName": "string",
- "siteCode": "string",
- "frameType": "string",
- "name": "string",
- "subId": "string",
- "priceExclVat": 0,
- "priceInclVat": 0,
- "commissionPercentage": 0,
- "commission": 0,
- "status": "string",
- "statusFinal": true,
- "approvedForPayment": true
}
]
}
Get commissions report for a given affiliate
startDate required | string <date> Example: startDate=2022-10-10 |
endDate required | string <date> Example: endDate=2022-10-10 |
Authorization | string |
{- "items": [
- {
- "orderDate": "string",
- "siteName": "string",
- "siteCode": "string",
- "frameType": "string",
- "name": "string",
- "subId": "string",
- "commissionPercentage": 0,
- "commissionOriginal": 0,
- "commissionApproved": 0,
- "commissionOpen": 0,
- "revenueOriginalExclVat": 0,
- "revenueOriginalInclVat": 0,
- "revenueApprovedExclVat": 0,
- "revenueApprovedInclVat": 0,
- "revenueOpenExclVat": 0,
- "revenueOpenInclVat": 0,
- "quantityPayable": 0
}
]
}