# CustomerEmailMarketingConsentState - admin-graphql - OBJECT Version: 2024-07 ## Description The record of when a customer consented to receive marketing material by email. ### Access Scopes `read_customers` access scope. ## Fields * [consentUpdatedAt](/docs/api/admin-graphql/2024-07/scalars/DateTime): DateTime - The date and time at which the customer consented to receive marketing material by email. The customer's consent state reflects the consent record with the most recent `consent_updated_at` date. If no date is provided, then the date and time at which the consent information was sent is used. * [marketingOptInLevel](/docs/api/admin-graphql/2024-07/enums/CustomerMarketingOptInLevel): CustomerMarketingOptInLevel - The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines, that the customer gave when they consented to receive marketing material by email. * [marketingState](/docs/api/admin-graphql/2024-07/enums/CustomerEmailMarketingState): CustomerEmailMarketingState! - The current email marketing state for the customer. ## Connections ## Related queries ## Related mutations ## Related Unions ## Examples