# CustomerEmailMarketingConsentUpdateInput - admin-graphql - INPUT_OBJECT Version: 2024-10 ## Description The input fields for the email consent information to update for a given customer ID. ### Access Scopes ## Fields * [customerId](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - The ID of the customer for which to update the email marketing consent information. The customer must have a unique email address associated to the record. If not, add the email address using the `customerUpdate` mutation first. * [emailMarketingConsent](/docs/api/admin-graphql/2024-10/input-objects/CustomerEmailMarketingConsentInput): CustomerEmailMarketingConsentInput! - The marketing consent information when the customer consented to receiving marketing material by email. ## Input objects with this input object * [customerEmailMarketingConsentUpdate](/docs/api/admin-graphql/2024-10/mutations/customerEmailMarketingConsentUpdate) ## Examples