# UpdatePriceInput

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

```
input UpdatePriceInput {

  id: ID!

  active: Boolean

  nickname: String

  metadata: [KeyValueInput!]

}
```

### Fields[​](#fields "Direct link to Fields")

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

ID of the price to update.

#### [`UpdatePriceInput.active`](#active) ● [`Boolean`](https://docs.monei.com/apis/graphql/types/scalars/boolean.md) scalar[​](#active "Direct link to 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/apis/graphql/types/scalars/string.md) scalar[​](#nickname "Direct link to nickname")

Internal label of the price, up to 100 characters.

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

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

### Member Of[​](#member-of "Direct link to Member Of")

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