Authorization: Bearer ********************curl --location 'https://api.hyperzod.app/admin/v1/stats/segments' \
--header 'x-tenant: 42' \
--header 'x-client-device: web' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"type": "user",
"name": "Regular Customers",
"filters": [
{
"conditions": [
{
"property": "total_orders",
"type": "integer",
"operator": "greater_than",
"value": 5
}
],
"logicalOperator": "and"
}
]
}'{
"success": true,
"service": "stats",
"status_code": 200
}