Skip to main content

CustomerMarketingConsentInput

Input for updating a Customer's marketing consent

input CustomerMarketingConsentInput {
consentLevel: CustomerMarketingConsentLevel!
consentedAt: Date!
hasConsented: Boolean!
source: String
}

Fields

CustomerMarketingConsentInput.consentLevel ● CustomerMarketingConsentLevel! non-null enum

The level at which the Customer has consented to marketing

CustomerMarketingConsentInput.consentedAt ● Date! non-null scalar

The date the associated Customer agreed to the marketing consent

CustomerMarketingConsentInput.hasConsented ● Boolean! non-null scalar

CustomerMarketingConsentInput.source ● String scalar

Optional field to store where consent was sourced from

Member of

CustomerCreateInput input ● CustomerUpdateInput input