Get products from billing snapshot
What this endpoint does: Returns products from the current billing snapshot for Single type projects. These products represent what will be used for invoice generation and show how invoice rows will be formed.
What data is returned:
- Products from the billing snapshot (productsBillingProjectSnapshotId or billingProjectSnapshotId)
- Only for Single type projects
- Products are sorted by their sort order
- Includes product details: name, prices, quantities, active dates, etc.
Use cases:
- Display products that will be used for billing
- Preview how invoice rows will be formed
- Show read-only product information for subscription billing
GET
/projects/{projectId}/subscription-billings/products-from-snapshotAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:reador
AuthorizationBearer token (JWT) · headerrequiredPath parameters
projectIdstringrequiredResponses
200Products retrieved successfully
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
404Project not found or access denied
Request
curl -X GET "https://leadtime.app/api/public/projects/string/subscription-billings/products-from-snapshot" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/projects/string/subscription-billings/products-from-snapshot", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.get(
"https://leadtime.app/api/public/projects/string/subscription-billings/products-from-snapshot",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
Products retrieved successfully
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions
Project not found or access denied