# CustomerEmailMarketingConsentState - admin - OBJECT Version: unstable ## 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/unstable/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/unstable/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/unstable/enums/CustomerEmailMarketingState): CustomerEmailMarketingState! - The current email marketing state for the customer. * [sourceLocation](/docs/api/admin/unstable/objects/Location): Location - The location where the customer consented to receive marketing material by email. ## Connections ## Related queries ## Related mutations ## Related Unions ## Examples