OperationalEmailEntry
One email that an operational email batch sends to one customer.
type OperationalEmailEntry implements BatchEntry { accountId: Guid! batchId: Guid! customerEmail: String! emailContent: LocalisedString! emailSubject: String! errorCode: String exceptionDetail: String id: Guid! productId: Guid! rank: Int! status: BatchEntryStatus!}Fields
Section titled “Fields”accountId ● Guid!non-nullscalar
Section titled “accountId ● Guid! ”The customer account that the email goes to.
batchId ● Guid!non-nullscalar
Section titled “batchId ● Guid! ”The batch that the entry is in.
customerEmail ● String!non-nullscalar
Section titled “customerEmail ● String! ”The customer email address that the entry sends to.
The message to put in the email template.
emailSubject ● String!non-nullscalar
Section titled “emailSubject ● String! ”The subject to put on the email template.
The error code of the entry’s last failure. Null when the error has no code.
The technical detail of the entry’s last failure.
id ● Guid!non-nullscalar
Section titled “id ● Guid! ”Unique identifier.
productId ● Guid!non-nullscalar
Section titled “productId ● Guid! ”The product whose customers get the email.
rank ● Int!non-nullscalar
Section titled “rank ● Int! ”The entry’s place in the batch. Entries run in rank order.
Where the entry stands.
Interfaces
Section titled “Interfaces”One item of work in a batch, such as one order to cancel.

