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

***

title: updateSkuPrice
description: "Update an existing price object."
full: true
----------

mutation

Requires `commerce.product:write`.

Update an existing price object.

For `SimpleMoneyInput.value`, send `1999` for $19.99 USD, not `19.99`.

## 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` `MutationUpdateSkuPriceInput!` **required**
  * `compareAtValue` `SimpleMoneyInput` **optional**
    * `currencyCode` `String!` **required**
    * `value` `Float!` **required** — Integer minor units in the smallest currency unit (for USD, cents: `1999` = $19.99). Send `1999`, not `19.99`.
  * `value` `SimpleMoneyInput` **optional**
    * `currencyCode` `String!` **required**
    * `value` `Float!` **required** — Integer minor units in the smallest currency unit (for USD, cents: `1999` = $19.99). Send `1999`, not `19.99`.

## 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.
