# UpdateCodeInput

Input for `updateCode`.

```
input UpdateCodeInput {

  id: ID!

  enabled: Boolean

  pointOfSaleId: ID

}
```

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

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

Code ID.

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

Whether the code is active.

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

Point of Sale to re-attach the code to.

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

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