curl --request POST \
--url http://localhost/api/v3/profile/aggregations/batch.json \
--header 'Content-Type: application/json' \
--data '
{
"aggregations": [
{
"profile_id": "<string>",
"shop_days": 123,
"shop_count": 123,
"spend_12m": 123,
"spend_12m_now": 123,
"spend_all": 123,
"spend_atv_12m": 123,
"spend_atv_all": 123,
"spend_first_date": "2023-11-07T05:31:56Z",
"spend_last_date": "2023-11-07T05:31:56Z",
"dimension_frequency": "<string>",
"dimension_recency": "<string>",
"dimension_join": "<string>",
"channel": "<string>",
"likely_country": "<string>",
"likely_country_score": 123,
"purchased_brands": [
"<string>"
],
"discount_avg": 123,
"total_shop_days": 123,
"first_shop_days": 123,
"second_shop_days": 123,
"latest_shop_days": 123,
"average_shop_days": 123,
"second_shop_date": "2023-11-07T05:31:56Z",
"previous_shop_date": "2023-11-07T05:31:56Z",
"at_risk_date": "2023-11-07T05:31:56Z",
"latest_shop_spend": 123,
"latest_shop_currency_id": 123,
"latest_transacted_location_id": 123,
"transacted_locations": [
"<string>"
],
"likely_country_iso": "<string>",
"likely_country_iso_score": 123,
"likely_state_iso": "<string>",
"likely_state_iso_score": 123,
"likely_region": "<string>",
"likely_region_score": 123,
"most_spend_location_id": 123,
"most_spend_12m_location_id": 123,
"top_historic_status_id": 123
}
]
}
'{
"message": "<string>"
}A POST to the /profile/aggregations/batch.json endpoint allows your application to process profile aggregations in batch.
curl --request POST \
--url http://localhost/api/v3/profile/aggregations/batch.json \
--header 'Content-Type: application/json' \
--data '
{
"aggregations": [
{
"profile_id": "<string>",
"shop_days": 123,
"shop_count": 123,
"spend_12m": 123,
"spend_12m_now": 123,
"spend_all": 123,
"spend_atv_12m": 123,
"spend_atv_all": 123,
"spend_first_date": "2023-11-07T05:31:56Z",
"spend_last_date": "2023-11-07T05:31:56Z",
"dimension_frequency": "<string>",
"dimension_recency": "<string>",
"dimension_join": "<string>",
"channel": "<string>",
"likely_country": "<string>",
"likely_country_score": 123,
"purchased_brands": [
"<string>"
],
"discount_avg": 123,
"total_shop_days": 123,
"first_shop_days": 123,
"second_shop_days": 123,
"latest_shop_days": 123,
"average_shop_days": 123,
"second_shop_date": "2023-11-07T05:31:56Z",
"previous_shop_date": "2023-11-07T05:31:56Z",
"at_risk_date": "2023-11-07T05:31:56Z",
"latest_shop_spend": 123,
"latest_shop_currency_id": 123,
"latest_transacted_location_id": 123,
"transacted_locations": [
"<string>"
],
"likely_country_iso": "<string>",
"likely_country_iso_score": 123,
"likely_state_iso": "<string>",
"likely_state_iso_score": 123,
"likely_region": "<string>",
"likely_region_score": 123,
"most_spend_location_id": 123,
"most_spend_12m_location_id": 123,
"top_historic_status_id": 123
}
]
}
'{
"message": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.omneo.io/llms.txt
Use this file to discover all available pages before exploring further.