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

***

title: removePricesFromOptionValue
description: "Remove prices from an existing OptionValue."
full: true
----------

mutation

Requires `commerce.product:write`.

Remove prices from an existing OptionValue.

## 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` `MutationRemovePricesFromOptionValueInput!` **required**
  * `priceIds` `[String!]!` **required**

## Possible returns

* `OptionValue` `OptionValue`

- `createdAt` `DateTime!` **non-null** — The timestamp of when the Option Value was created.
- `id` `ID!` **non-null** — The UUID of the Option Value.
- `label` `String` **nullable** — The display label of the Option Value.
- `metafields` `OptionValueMetafieldsConnection` **nullable**
- `name` `String!` **non-null** — A unique name of the Option Value.
- `option` `ListOption` **nullable** — The option that this value belongs to.
- `position` `Int` **nullable** — The position of the option value.
- `prices` `OptionValuePricesConnection` **nullable** — These are all the prices the Option Value can be sold at. The price can be different based the channel where it is listed or if there is a promotion running.
- `updatedAt` `DateTime!` **non-null** — The timestamp of when the Option Value was updated.
