Skip to content

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!
}

The customer account that the email goes to.

The batch that the entry is in.

The customer email address that the entry sends to.

The message to put in the email template.

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.

Unique identifier.

The product whose customers get the email.

The entry’s place in the batch. Entries run in rank order.

Where the entry stands.

One item of work in a batch, such as one order to cancel.