# updateCode

Updates a QR code (enable/disable, re-attach to a Point of Sale). Returns `NotFound` when the code does not exist.

```
updateCode(

  input: UpdateCodeInput!

): Code!
```

### Arguments[​](#arguments "Direct link to Arguments")

#### [`updateCode.input`](#input) ● [`UpdateCodeInput!`](https://docs.monei.com/apis/graphql/types/inputs/update-code-input/.md) non-null input[​](#input "Direct link to input")

### Type[​](#type "Direct link to Type")

#### [`Code`](https://docs.monei.com/apis/graphql/types/objects/code/.md) object[​](#code- "Direct link to code-")

Permanent QR code that routes a customer to a Point of Sale checkout. Render the image via `https://secure.monei.com/codes/{id}/qr?format=png|svg&size=100..1000` (defaults: `png`, `500`).
