Counts (sub-partners / accounts / locations)

Get headline counts of sub-partners, accounts, and locations for the authenticated partner, each with 30-day / 90-day comparison buckets.

Auth: Partner — authentication. Scope is the partner-tree walked from: sub-partners are company rows (bundle_id=1) directly under it. Accounts are bundle_id=3 rows under the company OR under its sub-partners; locations are bundle_id=2 rows under those account IDs. If the user has assign_brand set, account/location scope is further narrowed to assignBrands.

Rate limit: No rate limit.

Request

  • No path, query, or body params (reads the authenticated user only).

Response{ data. } envelope.

  • sub-partners.count (int) — total sub-partner companies under this partner.
  • sub-partners.last_30_days (int) — sub-partners created in the last 30 days.
  • sub-partners.before_30_days (int) — sub-partners created earlier than 30 days ago.
  • accounts.count (int) — total accounts in scope.
  • accounts.last_30_days (int) — accounts created in the last 30 days.
  • accounts.before_30_days (int) — accounts created earlier than 30 days ago.
  • locations.count (int) — total locations (bundle_id=2) in scope.
  • locations.last_30_days (int) — locations created in the last 30 days.
  • locations.before_30_days (int) — locations created earlier than 30 days ago.
  • locations.last_90_days (int) — locations created in the last 90 days.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Response

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json