We need to change event_attributes.object.object_detail from type flat_object to type object because we can't do aggregate calculations, like average price, margin, etc. on a flat_object.
Change
"object_detail": { "type": "flat_object" }
to
"object_detail": { "type": "object" }
Credit to @Rasonj for finding this change is needed.
We need to change
event_attributes.object.object_detail
from typeflat_object
to typeobject
because we can't do aggregate calculations, like average price, margin, etc. on aflat_object
.Change
to
Credit to @Rasonj for finding this change is needed.