---
title: "Update dimension conversion rate mapping"
method: PUT
path: "/currencies/rates/dimension-mappings/{id}"
tags: ["Currencies"]
---

# Update dimension conversion rate mapping

`PUT /currencies/rates/dimension-mappings/{id}`

Update an existing dimension conversion rate mapping. An update may trigger the deletion of other existing mappings if the updated fields would cause a conflict with those mappings. Clients that receive a 200 OK response for an update should subsequently request the mappings list to learn of any deletions.

## Path parameters

- `id` string, required

## Headers

- `HTTP_ACCEPT` string, required
- `X-Company-ID` string, required

## Request body

- DimensionExchangeRateTypeMapping
  - `id` integer, required
  - `account` integer, required
  - `is_default` boolean
  - `rate_type` string, required
  - `exchange_rate_type` integer, required
  - `from_currency` integer, nullable
  - `to_currency` integer, nullable
  - `constant_rate` string, decimal, nullable
  - `content_type_id` integer, required — A helper property method for grabbing the id of the ContentType of this model. This is used for creating the rateable relationships with ConversionRate instances. Returns: an integer representing the content type
  - `created_at` string, date-time, required
  - `modified_at` string, date-time, required

## Response `200`

- DimensionExchangeRateTypeMapping
  - `id` integer, required
  - `account` integer, required
  - `is_default` boolean
  - `rate_type` string, required
  - `exchange_rate_type` integer, required
  - `from_currency` integer, nullable
  - `to_currency` integer, nullable
  - `constant_rate` string, decimal, nullable
  - `content_type_id` integer, required — A helper property method for grabbing the id of the ContentType of this model. This is used for creating the rateable relationships with ConversionRate instances. Returns: an integer representing the content type
  - `created_at` string, date-time, required
  - `modified_at` string, date-time, required

---

[API](https://skmtc.net/cubesoftware/apis/cube-api.md) · [All operations](https://skmtc.net/cubesoftware/apis/cube-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cubesoftware/cube-api/revisions/67d9f45bb99b/schema)
