> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdateCompanyEmailSettingsCommandRequestInput

> Changes the sender address and the BCC address of the e-mail communication of a company. Only the properties that are sent change: a property that is left out stays as it is, null clears the value, an empty text is not valid. A request that changes nothing (no properties, or only the values that are already stored) is not an error and answers with 'success' false. The company must have stored mail settings; a company whose settings read as not configured may have none. While an OAuth authorization is configured, the sender comes from the connected account: sending the same address changes nothing, a different address or null is refused and nothing else in the request is applied; the BCC address can be changed at any time. An invalid request (an empty text, an invalid address or more than 255 characters) answers 400 in REST and VALIDATION_FAILED in GraphQL; a sender that passes this check but is not accepted as a mail address answers COMPANY_EMAIL_SENDER_INVALID, as in SetCompanyEmailSettings. Error codes: COMPANY_EMAIL_SENDER_INVALID, COMPANY_NOT_FOUND, COMPANY_INACTIVE, COMPANY_EMAIL_SETTINGS_NOT_FOUND, COMPANY_EMAIL_SETTINGS_MANAGED_BY_OAUTH. - Request



**Kind**: `input`

## Fields

**`companyId`**: `ID!` (required)

The ID of the company.

---

**`senderAddress`**: `String`

The sender address of outgoing e-mail, a valid mail address of at most 255 characters. Left out: unchanged. Null clears the value.

---

**`bccAddress`**: `String`

An address that receives a blind copy of every outgoing e-mail, a valid mail address of at most 255 characters. Left out: unchanged. Null clears the value.

---

**`idempotencyKey`**: `String`

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.

