ConsentRecord
A recorded customer consent such as a policy acceptance, marketing permission, cookie policy, or custom type.
Type Definition
type ConsentRecord {
id: ID!
type: String!
accepted: Boolean!
text: String
locale: String
source: String
metafields: [Metafield]!
createdAt: String
}Fields
Relationships
ConsentRecord represents a customer consent event and maintains a relationship with Metafield objects through the metafields field, allowing additional custom data to be stored and associated with each consent record.
Example
{
id
type
accepted
text
locale
source
metafields {
id
key
value
}
createdAt
}Implements
This type does not implement any interfaces.