Skip to content
Leadtime
English
Esc
navigateopen⌘Jpreview

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-snapshot
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:read
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
projectIdstringrequired
Responses
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"
Response
Products retrieved successfully