---
title: "Changes to Update Compound Aggregation"
method: PUT
path: "/organizations/{orgId}/compoundaggregations/{id}"
---

# Changes to Update Compound Aggregation

`PUT /organizations/{orgId}/compoundaggregations/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 11 revisions.

- **2026-10-16** `85c514abc692`: 10 breaking, 6 warning, 3 info
- **2025-08-29** `0f92c877619f`: 1 warning
- **2025-08-01** `9f9e5f3dbde7`: 4 breaking, 1 info
- **2025-02-26** `6c3e1a3cfb8f`: 1 warning
- **2025-02-21** `d064a12d0d93`: 2 breaking, 2 warning, 3 info

## Changes

- **2026-10-16** `85c514abc692`: 10 breaking, 6 warning, 3 info
  - added `subschema #1, subschema #2` to the `allOf[#/components/schemas/AbstractAggregationRequest]/allOf[#/components/schemas/AbstractRequestWithCustomFields]/allOf[subschema #2]/customFields` request property `allOf` list
  - added `subschema #1, subschema #2` to the `allOf[#/components/schemas/AbstractRequestWithCustomFields]/allOf[subschema #2]/customFields` request property `allOf` list
  - the `allOf[#/components/schemas/AbstractAggregationRequest]/allOf[#/components/schemas/AbstractRequestWithCustomFields]/allOf[subschema #2]/` request property type changed from no type to `object`
  - the `allOf[#/components/schemas/AbstractAggregationRequest]/allOf[subschema #3]/` request property type changed from no type to `object`
  - the `allOf[#/components/schemas/AbstractRequestWithCustomFields]/allOf[subschema #2]/` request property type changed from no type to `object`
  - the `allOf[subschema #4]/` request property type changed from no type to `object`
  - the `allOf[#/components/schemas/AbstractAggregationResponse]/allOf[#/components/schemas/AbstractResponseWithCustomFields]/allOf[subschema #2]/` response's property type changed from no type to `object` for status `200`
  - the `allOf[#/components/schemas/AbstractAggregationResponse]/allOf[subschema #3]/` response's property type changed from no type to `object` for status `200`
  - the `allOf[#/components/schemas/AbstractResponseWithCustomFields]/allOf[subschema #2]/` response's property type changed from no type to `object` for status `200`
  - the `allOf[subschema #4]/` response's property type changed from no type to `object` for status `200`
  - removed the optional property `allOf[subschema #4]/aggregation` from the response with the `200` status
  - removed the optional property `allOf[subschema #4]/customSql` from the response with the `200` status
  - removed the optional property `allOf[subschema #4]/defaultValue` from the response with the `200` status
  - removed the optional property `allOf[subschema #4]/meterId` from the response with the `200` status
  - removed the optional property `allOf[subschema #4]/segmentedFields` from the response with the `200` status
  - removed the optional property `allOf[subschema #4]/targetField` from the response with the `200` status
  - added the optional property `allOf[subschema #4]/calculation` to the response with the `200` status
  - added the optional property `allOf[subschema #4]/evaluateNullAggregations` to the response with the `200` status
  - added the optional property `allOf[subschema #4]/productId` to the response with the `200` status
- **2025-08-29** `0f92c877619f`: 1 warning
  - added the new `CUSTOM_SQL` enum value to the `allOf[subschema #4]/aggregation` response property for the response status `200`
- **2025-08-01** `9f9e5f3dbde7`: 4 breaking, 1 info
  - the response property `allOf[#/components/schemas/AbstractAggregationResponse]/allOf[#/components/schemas/AbstractResponseWithCustomFields]/allOf[#/components/schemas/AbstractResponse]/version` became optional for the status `200`
  - the response property `allOf[#/components/schemas/AbstractAggregationResponse]/allOf[#/components/schemas/AbstractResponse]/version` became optional for the status `200`
  - the response property `allOf[#/components/schemas/AbstractResponseWithCustomFields]/allOf[#/components/schemas/AbstractResponse]/version` became optional for the status `200`
  - the response property `allOf[#/components/schemas/AbstractResponse]/version` became optional for the status `200`
  - removed the `CUSTOM_SQL` enum value from the `allOf[subschema #4]/aggregation` response property for the response status `200`
- **2025-02-26** `6c3e1a3cfb8f`: 1 warning
  - added the new `CUSTOM_SQL` enum value to the `allOf[subschema #4]/aggregation` response property for the response status `200`
- **2025-02-21** `d064a12d0d93`: 2 breaking, 2 warning, 3 info
  - the `allOf[#/components/schemas/AbstractAggregationRequest]/allOf[#/components/schemas/AbstractRequestWithCustomFields]/allOf[subschema #2]/customFields` request property type changed from no type to `object`
  - the `allOf[#/components/schemas/AbstractRequestWithCustomFields]/allOf[subschema #2]/customFields` request property type changed from no type to `object`
  - removed `subschema #1, subschema #2` from the `allOf[#/components/schemas/AbstractAggregationRequest]/allOf[#/components/schemas/AbstractRequestWithCustomFields]/allOf[subschema #2]/customFields` request property `allOf` list
  - removed `subschema #1, subschema #2` from the `allOf[#/components/schemas/AbstractRequestWithCustomFields]/allOf[subschema #2]/customFields` request property `allOf` list
  - added the new optional request property `allOf[#/components/schemas/AbstractAggregationRequest]/allOf[subschema #3]/accountingProductId`
  - added the optional property `allOf[#/components/schemas/AbstractAggregationResponse]/allOf[subschema #3]/accountingProductId` to the response with the `200` status
  - added the optional property `allOf[subschema #4]/customSql` to the response with the `200` status

---

[Operation](https://skmtc.dev/m3ter-com/apis/m3ter-api/docs/organizations/:orgId/compoundaggregations/:id/put.md) - [API](https://skmtc.dev/m3ter-com/apis/m3ter-api.md) - [Page](https://skmtc.dev/m3ter-com/apis/m3ter-api/changes/organizations/:orgId/compoundaggregations/:id/put)
