# updatePrice

Updates the `active`, `nickname` or `metadata` of a price of the current account and returns it. Arguments: - `input`: ID of the price and the fields to change.

```
updatePrice(

  input: UpdatePriceInput!

): Price!
```

### Arguments[​](#arguments "Enlace directo al Arguments")

#### [`updatePrice.input`](#input) ● [`UpdatePriceInput!`](https://docs.monei.com/es/apis/graphql/types/inputs/update-price-input.md) non-null input[​](#input "Enlace directo al input")

### Type[​](#type "Enlace directo al Type")

#### [`Price`](https://docs.monei.com/es/apis/graphql/types/objects/price.md) object[​](#price- "Enlace directo al price-")

How much a product costs and how often it bills. Pass its `id` as `priceId` to `createSubscription` or `updateSubscription`: the subscription copies `unitAmount`, `currency` and `recurring`, so a later change to the price never changes an existing subscription. Only `active`, `nickname` and `metadata` can change; to change the amount or the billing period, create a new price.
