---
title: "Update BillGroupingKey"
method: PUT
path: "/organizations/{orgId}/picklists/billgroupingkeys/{id}"
tags: ["BillGroupingKey"]
---

# Update BillGroupingKey

`PUT /organizations/{orgId}/picklists/billgroupingkeys/{id}`

Update a BillGroupingKey for the given UUID.

## Path parameters

- `orgId` string, required
- `id` string, required

## Request body

- BillGroupingKeyRequest
  - `version` integer — The version number of the entity: - **Create entity:** Not valid for initial insertion of new entity - *do not use for Create*. On initial Create, version is set at 1 and listed in the response. - **Update Entity:** On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.
  - `code` string — The short code for the entity.
  - `name` string, required — The name of the entity.
  - `archived` boolean — A Boolean TRUE / FALSE flag indicating whether the entity is archived. An entity can be archived if it is obsolete. * TRUE - the entity is in the archived state. * FALSE - the entity is not in the archived state.
  - `exclusive` boolean, required — Whether or not the bill grouping key is exclusively to be used by one entity.

## Response `200`

Return the updated BillGroupingKey

- BillGroupingKeyResponse
  - `id` string, required — The UUID of the entity.
  - `version` integer — The version number: - **Create:** On initial Create to insert a new entity, the version is set at 1 in the response. - **Update:** On successful Update, the version is incremented by 1 in the response.
  - `code` string — The short code of the data entity.
  - `name` string — The name of the data entity.
  - `archived` boolean — TRUE / FALSE flag indicating whether the data entity is archived. An entity can be archived if it is obsolete.
  - `exclusive` boolean — Whether or not the bill grouping key is exclusively to be used by one entity.
  - `dtCreated` string, date-time — The DateTime when the grouping key was created.
  - `dtLastModified` string, date-time — The DateTime when the grouping key was last modified.
  - `createdBy` string — The id of the user who created this grouping key.
  - `lastModifiedBy` string — The id of the user who last modified this grouping key.

## Other responses

- `4XX` — Error message
- `5XX` — Error message

## Changes

- **2025-12-03** `ac93d1a9e6d9` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/m3ter-com/apis/m3ter-api/changes/organizations/:orgId/picklists/billgroupingkeys/:id/put.md)

---

[API](https://skmtc.dev/m3ter-com/apis/m3ter-api.md) · [All operations](https://skmtc.dev/m3ter-com/apis/m3ter-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/m3ter-com/m3ter-api/revisions/ac93d1a9e6d9/schema)
