New vs closed location count (last 4 months)

Get new-vs-closed location counts for each of the last four calendar months for the authenticated partner.

Auth: Partner — authentication (under the partner/stats group). Scope joins store, then company(loc, bundle_id=2), then brand, then partner, then main_partner and matches when either partner.id or main_partner.id equals. New counts use the account's created_at over active/pending stores (narrowed by assignBrands when you set assign_brand). Closed counts use soft-deleted the account's deleted_at (withTrashed), narrowed by when you set assign_location.

Rate limit: No rate limit.

Request

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

Response{ data: [.] } envelope: an array of exactly 4 month entries (oldest to newest), each:

  • month (string) — short month-year label, e.g. "Jun 26" (CarbonM y format).
  • closed_count (int) — locations deleted that month (0 if none).
  • new_count (int) — locations created that month (0 if none).
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