Skip to main content
GET
Count and total the member's orders over a period

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a member session JWT, a portal JWT whose login is linked to a membership in that company, or an opaque member token. The credential alone identifies the member and company.

Query Parameters

period
enum<string>
default:30d

The trailing period to count: that many UTC days, today included, through now. all counts every order. Defaults to 30d.

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

Response

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

The authenticated member's own orders in a period, counted and totalled.

status
integer
required
data
object
required
meta
object
required

Envelope metadata present on every response.