Skip to main content
GET
Count and total the orders the Team placed

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a portal JWT whose login is linked to a membership in that company, or a member token. The credential alone identifies the member and company. A member session JWT, the kind order and subscription email links carry, is refused with 403, as legacy My Team needs a rep session. A customer or preferred-customer membership is refused with 403 too: legacy My Team (authorize_rep_tier) admits reps, company admins and root admins. A company admin's own credential is not a member credential and gets 401, so in practice a rep's or a root admin's membership reads the Team.

Headers

If-None-Match
string

A previously returned ETag. Authentication and the current Team read run before a 304 is considered.

Query Parameters

period
enum<string>
default:30d

The trailing period to count. Defaults to 30d.

Available options:
7d,
30d,
90d,
1y,
all

Response

The Team's orders in the period, counted and totalled.

The orders the signed-in member's Team placed.

status
integer
required
data
object
required

The orders the signed-in member's Team members placed in a period, counted by status, and counted and totalled per level. Counts and sums only: no Team member, order or buyer is named.

meta
object
required

Envelope metadata present on every response.