# UpdateCodeInput

Input for `updateCode`. An omitted field is left unchanged.

```
input UpdateCodeInput {

  id: ID!

  enabled: Boolean

  pointOfSaleId: ID

}
```

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

#### [`UpdateCodeInput.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 code to update.

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

Enable or disable the code. See `Code.enabled`.

#### [`UpdateCodeInput.pointOfSaleId`](#point-of-sale-id) ● [`ID`](https://docs.monei.com/es/apis/graphql/types/scalars/id.md) scalar[​](#point-of-sale-id "Enlace directo al point-of-sale-id")

ID of a point of sale of the current account to attach the code to.

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

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