Revenue from a publication
Fetch the revenue earned from a specific publication.
Request
Invocation
const result = await client.revenue.fromPublication({
for: "PUBLICATION_ID",
});
query RevenueFromPublication($request: RevenueFromPublicationRequest!) {
result: revenueFromPublication(request: $request) {
...PublicationRevenue
}
}
Response
Full GraphQL API Example
Updated about 1 month ago