# CustomerEmailMarketingConsentInput - admin-graphql - INPUT_OBJECT Version: 2024-10 ## Description Information that describes when a customer consented to receiving marketing material by email. ### Access Scopes ## Fields * [consentUpdatedAt](/docs/api/admin-graphql/2024-10/scalars/DateTime): DateTime - The latest date and time when the customer consented or objected to receiving marketing material by email. * [marketingOptInLevel](/docs/api/admin-graphql/2024-10/enums/CustomerMarketingOptInLevel): CustomerMarketingOptInLevel - The customer opt-in level at the time of subscribing to marketing material. * [marketingState](/docs/api/admin-graphql/2024-10/enums/CustomerEmailMarketingState): CustomerEmailMarketingState! - The current marketing state associated with the customer's email. If the customer doesn't have an email, then this field is `null`. ## Input objects with this input object * [CustomerEmailMarketingConsentUpdateInput](/docs/api/admin-graphql/2024-10/input-objects/CustomerEmailMarketingConsentUpdateInput) * [CustomerInput](/docs/api/admin-graphql/2024-10/input-objects/CustomerInput) ## Examples