date_from/date_to window from the standard date-rangecustomers.first_touch_at (cohortcustomers.first_touch_attribution —"direct" bucket so they aren't dropped from the rollup.group_by accepts source (default), medium, orcampaign. Invalid values 422 at the route layer before anyAuthorization: Bearer ********************curl --location 'https://numueg.app/api/v1/stores//analytics/ltv-by-channel?group_by=&days=&start_date=&end_date=&granularity=&tz=' \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"group_by": "string",
"channels": [
{
"channel": "string",
"customer_count": 0,
"total_orders": 0,
"total_revenue_cents": 0,
"average_order_value_cents": 0,
"orders_per_customer": 0,
"ltv_cents": 0
}
],
"totals": {
"customer_count": 0,
"total_orders": 0,
"total_revenue_cents": 0,
"average_ltv_cents": 0
}
},
"message": "string"
}