Batch
A job that runs one operation over many entries, such as a print or an import.
type Batch { completeCount: Int! createdAt: Instant! createdUserId: Guid! entries( after: String before: String entryStatus: BatchEntryStatus first: Int last: Int ): BatchEntryInterfaceConnection executingCount: Int! failedCount: Int! id: Guid! name: String! status: BatchStatus! summary: BatchSummary totalEntryCount: Int! type: BatchType!}Fields
Section titled “Fields”completeCount ● Int!non-nullscalar
Section titled “completeCount ● Int! ”The number of complete entries.
createdAt ● Instant!non-nullscalar
Section titled “createdAt ● Instant! ”When the batch was created.
createdUserId ● Guid!non-nullscalar
Section titled “createdUserId ● Guid! ”The user who created the batch.
entries ● BatchEntryInterfaceConnectionobject
Section titled “entries ● BatchEntryInterfaceConnection ”The batch’s entries, in rank order.
Only items after this cursor: the endCursor of the page before.
Only items before this cursor: the startCursor of the page after.
Only entries at this status. Omitted: every status.
At most this many items, from the start or after the after cursor.
last ● Intscalar
Section titled “last ● Int ”At most this many items, from the end or before the before cursor.
executingCount ● Int!non-nullscalar
Section titled “executingCount ● Int! ”The number of entries in progress now.
failedCount ● Int!non-nullscalar
Section titled “failedCount ● Int! ”The number of errored entries, retryable or not.
id ● Guid!non-nullscalar
Section titled “id ● Guid! ”Unique identifier.
name ● String!non-nullscalar
Section titled “name ● String! ”The batch’s display name, such as Cancel or Timed Reports.
status ● BatchStatus!non-nullenum
Section titled “status ● BatchStatus! ”Where the batch stands.
The batch’s input and the totals of its entries.
totalEntryCount ● Int!non-nullscalar
Section titled “totalEntryCount ● Int! ”The number of entries in the batch.
type ● BatchType!non-nullenum
Section titled “type ● BatchType! ”What the batch does.
Returned By
Section titled “Returned By”batches.close mutation ● batches.createCancel mutation ● batches.createCopy mutation ● batches.createImportCustomers mutation ● batches.createImportStockTake mutation ● batches.createImportThirdPartyEntryCodes mutation ● batches.createImportTrackingReferences mutation ● batches.createMarketingEmail mutation ● batches.createOperationalEmail mutation ● batches.createPrint mutation ● batches.createRemindInactive mutation ● batches.createTakeScheduledPayments mutation ● batches.execute mutation ● batches.stop mutation
Member Of
Section titled “Member Of”BatchConnection object ● BatchEdge object

