---
title: "Update dimensional price group"
method: PUT
path: "/dimensional_price_groups/{dimensional_price_group_id}"
tags: ["Dimensional Price Group"]
---

# Update dimensional price group

`PUT /dimensional_price_groups/{dimensional_price_group_id}`

This endpoint can be used to update the `external_dimensional_price_group_id` and `metadata` of an existing
dimensional price group. Other fields on a dimensional price group are currently immutable.

## Path parameters

- `dimensional_price_group_id` string, required

## Request body

- EditDimensionalPriceGroup
  - `metadata` object, nullable — User-specified key/value pairs for the resource. Individual keys can be removed by setting the value to `null`, and the entire metadata mapping can be cleared by setting `metadata` to `null`.
  - `external_dimensional_price_group_id` string, nullable — An optional user-defined ID for this dimensional price group resource, used throughout the system as an alias for this dimensional price group. Use this field to identify a dimensional price group by an existing identifier in your system.

## Response `200`

OK

- DimensionalPriceGroup — A dimensional price group is used to partition the result of a billable metric by a set of dimensions. Prices in a price group must specify the partition used to derive their usage.
  - `metadata` object, required — User specified key-value pairs for the resource. If not present, this defaults to an empty dictionary. Individual keys can be removed by setting the value to `null`, and the entire metadata mapping can be cleared by setting `metadata` to `null`.
  - `id` string, required
  - `name` string, required — The name of the dimensional price group
  - `external_dimensional_price_group_id` string, nullable, required — An alias for the dimensional price group
  - `dimensions` string[], required — The dimensions that this dimensional price group is defined over
  - `billable_metric_id` string, required — The billable metric associated with this dimensional price group. All prices associated with this dimensional price group will be computed using this billable metric.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `409` — Conflict
- `413` — Content Too Large
- `429` — Too Many Requests
- `500` — Internal Server Error

---

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