Get new customers
POST/stats/app/new-customers
Get new customers.
Request
- application/json
Body
required
timeframe stringrequired
Possible values: [day
, week
, month
, year
, allTime
]
cmsProjectId stringrequired
Responses
- 200
- default
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
subject stringnullable
windowStart date-timerequired
windowEnd date-timerequired
value numberrequired
groupBy objectrequired
object
[
{
"subject": "string",
"windowStart": "2024-07-29T15:51:28.071Z",
"windowEnd": "2024-07-29T15:51:28.071Z",
"value": 0,
"groupBy": {}
}
]
Error response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
message stringrequired
code stringrequired
issues object[]
message stringrequired
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}
Loading...