Download OpenAPI specification:
The Publizon Reporting API provides a clear and consistent method for outbound customers (retailers and partners) to report back to Publizon on earnings, content consumption, and reader demography.
An API key and a set of credentials (email and password) must be used to authenticate. Use the auth api to get the short-lived token needed to call the retailer api endpoints.
This endpoint allows partners to upload structured data regarding the financial performance of content sold or consumed via their platform. It covers the flow of financial information back to Publizon.
required | Array of objects (RevenueTransaction) [ 1 .. 250 ] items |
{- "transactions": [
- {
- "productIdentifier": "string",
- "retailerTransactionId": "string",
- "saleDateTime": "2019-08-24T14:15:22Z",
- "quantity": {
- "value": 0,
- "type": "Units"
}, - "subscriptionType": "Unlimited",
- "unitAmount": 0,
- "totalAmount": 0,
- "currency": "DKK",
- "market": "AD"
}
]
}This endpoint allows publishers to export all of the transactional revenue data across all retailers.
| startDate required | string The start date for the query range (ISO 8601 format). The range cannot exceed 31 days. |
| endDate required | string The end date for the query range (ISO 8601 format). |
[- {
- "insert_timestamp": "string",
- "sale_timestamp": "string",
- "channel": {
- "id": "string",
- "name": "string"
}, - "product_identifier": "string",
- "retailer_transaction_id": "string",
- "quantity": {
- "value": 0,
- "type": "Units"
}, - "subscription_type": "Unlimited",
- "unit_amount": 0,
- "total_amount": 0,
- "currency": "DKK",
- "market": "string"
}
]This endpoint handles the reporting of how end-users consume the digital content.
required | Array of objects (ProductUsageReport) [ 1 .. 50 ] items |
{- "products": [
- {
- "subscriptionId": "string",
- "productIdentifier": "string",
- "usages": [
- {
- "part": 0,
- "format": "Epub",
- "startPosition": 0,
- "endPosition": 0,
- "usageId": "string",
- "usageDateTime": "2019-08-24T14:15:22Z"
}
]
}
]
}