# UpdatePriceInput

Input for `updatePrice`. Only `active`, `nickname` and `metadata` can change.

```
input UpdatePriceInput {

  id: ID!

  active: Boolean

  nickname: String

  metadata: [KeyValueInput!]

}
```

### Fields[​](#fields "Enlace directo al Fields")

#### [`UpdatePriceInput.id`](#id) ● [`ID!`](https://docs.monei.com/es/apis/graphql/types/scalars/id.md) non-null scalar[​](#id "Enlace directo al id")

ID of the price to update.

#### [`UpdatePriceInput.active`](#active) ● [`Boolean`](https://docs.monei.com/es/apis/graphql/types/scalars/boolean.md) scalar[​](#active "Enlace directo al active")

Whether the price is active. `false` archives it: subscriptions that already use it keep their copy.

#### [`UpdatePriceInput.nickname`](#nickname) ● [`String`](https://docs.monei.com/es/apis/graphql/types/scalars/string.md) scalar[​](#nickname "Enlace directo al nickname")

Internal label of the price, up to 100 characters.

#### [`UpdatePriceInput.metadata`](#metadata) ● [`[KeyValueInput!]`](https://docs.monei.com/es/apis/graphql/types/inputs/key-value-input.md) list input[​](#metadata "Enlace directo al metadata")

Key/value metadata. Replaces the stored metadata as a whole.

### Member Of[​](#member-of "Enlace directo al Member Of")

[`updatePrice`](https://docs.monei.com/es/apis/graphql/operations/mutations/update-price.md) mutation
