GET
/
product
/
{id}
/
stats
Get Product Stats
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/product/{id}/stats \
  --header 'Authorization: Bearer <token>'
{
  "totalRoyalties": 5000.75,
  "totalPaid": 3000,
  "totalDue": 2000.75,
  "totalStreams": 50000,
  "totalSales": 1500,
  "assetCount": 12
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

Product ID

Response

200
application/json

Success

The response is of type object.