# updateSkuPriceCurrencyCode (https://developer.godaddy.com/en/docs/references/rest/catalog/sku/mutations/updateSkuPriceCurrencyCode)

***

title: updateSkuPriceCurrencyCode
description: "Update the currency code for an existing price. This updates the currency code for both value and compareAtValue."
full: true
----------

mutation

Requires `commerce.product:write`.

Update the currency code for an existing price. This updates the currency code for both value and compareAtValue.

## Required headers

| Header       | Required | Description                                                                                                                     |
| ------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `x-store-id` | Yes      | ID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: `extensions.code: "UNAUTHENTICATED"`. |

Go to [Authentication](https://developer.godaddy.com/docs/api-users/auth) for credential setup.

## Arguments

* `id` `String!` **required**
* `input` `MutationUpdateSkuPriceCurrencyCodeInput!` **required**
  * `currencyCode` `String!` **required**

## Possible returns

* `SKUPrice` `SKUPrice` — Represents the cost of a SKU

- `compareAtValue` `SimpleMoney` **nullable** — The compare-at value of the price.
- `createdAt` `DateTime!` **non-null** — The timestamp of when the price was created.
- `id` `ID!` **non-null** — The globally-unique ID of the price.
- `sku` `SKU` **nullable** — A SKU represents a stock keeping unit (SKU) in the catalog.
- `updatedAt` `DateTime!` **non-null** — The last update timestamp of the price.
- `value` `SimpleMoney!` **non-null** — The value of the price.
- `SKU` `SKU` **nullable** deprecated — A SKU represents a stock keeping unit (SKU) in the catalog. Deprecated: Use sku instead.
