pick_sessions_read
Arguments
String
Forward pagination cursor — returns items after it. Pass an
edges[].cursor or pageInfo.endCursor from a previous page.String
Backward pagination cursor — returns items before it. Pass an
edges[].cursor or pageInfo.startCursor from a previous page.Int
Forward pagination: returns the first N items (max 100, default 25). Use with
after; mutually exclusive with last/before.Int
Backward pagination: returns the last N items (max 100, default 25). Use with
before; mutually exclusive with first/after.ID
Only include sessions picking from this location.
Which key to sort by. Sessions sort by creation time, newest first; pass
reverse for oldest first.Boolean
Reverses the sort direction selected by
orderBy (or its default).Only include sessions with one of these statuses, e.g. [CREATING, ACTIVE] for work in progress.
Returns
required
A paginated list of PickSession items.
Show fields
Show fields
required
The list of edges (each a node plus its pagination
cursor).Show fields
Show fields
String!
required
Opaque cursor for this item; pass to
after/before to page from here.required
The item at this edge.
Show fields
Show fields
The team member who queued the session for its picker. Null when the picker created it themselves.Requires:
pick_sessions_readZone picking: the session this one’s items were moved into, when its status is CONSOLIDATED.Requires:
pick_sessions_readZone picking: the upstream session whose leftover items started this one.Requires:
pick_sessions_readString
The name of the saved pick filter the session was built from, if any.
ID!
required
The id of this pick session.
required
Which stock the session draws from.
required
The session’s active lines in pick order. Archived lines after a split are omitted; session totals still include them.Requires:
pick_sessions_readShow fields
Show fields
Arguments
String
Forward pagination cursor — returns items after it. Pass an
edges[].cursor or pageInfo.endCursor from a previous page.String
Backward pagination cursor — returns items before it. Pass an
edges[].cursor or pageInfo.startCursor from a previous page.Int
Forward pagination: returns the first N items (max 100, default 25). Use with
after; mutually exclusive with last/before.Int
Backward pagination: returns the last N items (max 100, default 25). Use with
before; mutually exclusive with first/after.String!
required
The pick session’s legacy Mongo ObjectId (24-char hex), as shown in the Redo app’s URLs.
The warehouse the session picks from. Null if unset or no longer readable.Requires:
locations_readInt!
required
How many orders the session holds, including orders on archived lines.
The team member picking the session. Null before someone claims it or when the user no longer exists.Requires:
pick_sessions_readInt!
required
Units marked out of stock across every line, including archived lines.
Int!
required
Units picked so far across every line, including archived lines.
required
Where picked items are scanned and sorted into orders.
required
Where the session is in its lifecycle.
required
How orders were grouped into the session.
Int!
required
Units to pick across every line, including archived lines.
required
The nodes in this page, without the edge/cursor wrapper — a convenience over
edges.Show fields
Show fields
The team member who queued the session for its picker. Null when the picker created it themselves.Requires:
pick_sessions_readZone picking: the session this one’s items were moved into, when its status is CONSOLIDATED.Requires:
pick_sessions_readZone picking: the upstream session whose leftover items started this one.Requires:
pick_sessions_readString
The name of the saved pick filter the session was built from, if any.
ID!
required
The id of this pick session.
required
Which stock the session draws from.
required
The session’s active lines in pick order. Archived lines after a split are omitted; session totals still include them.Requires:
pick_sessions_readShow fields
Show fields
ArgumentsFields
String
Forward pagination cursor — returns items after it. Pass an
edges[].cursor or pageInfo.endCursor from a previous page.String
Backward pagination cursor — returns items before it. Pass an
edges[].cursor or pageInfo.startCursor from a previous page.Int
Forward pagination: returns the first N items (max 100, default 25). Use with
after; mutually exclusive with last/before.Int
Backward pagination: returns the last N items (max 100, default 25). Use with
before; mutually exclusive with first/after.required
The list of edges (each a node plus its pagination
cursor).required
The nodes in this page, without the edge/cursor wrapper — a convenience over
edges.String!
required
The pick session’s legacy Mongo ObjectId (24-char hex), as shown in the Redo app’s URLs.
The warehouse the session picks from. Null if unset or no longer readable.Requires:
locations_readShow fields
Show fields
String
The city of the location’s address.
String
The company name associated with the location.
String
The country code, e.g. “US”.
ID!
required
The id of this location.
required
Traceable inventory units at this warehouse.Requires:
inventory_readShow fields
Show fields
Arguments
String
Forward pagination cursor — returns items after it. Pass an
edges[].cursor or pageInfo.endCursor from a previous page.String
Backward pagination cursor — returns items before it. Pass an
edges[].cursor or pageInfo.startCursor from a previous page.Int
Forward pagination: returns the first N items (max 100, default 25). Use with
after; mutually exclusive with last/before.Int
Backward pagination: returns the last N items (max 100, default 25). Use with
before; mutually exclusive with first/after.Per-product inventory levels held at this location.Requires:
inventory_readShow fields
Show fields
Arguments
String
Forward pagination cursor — returns items after it. Pass an
edges[].cursor or pageInfo.endCursor from a previous page.String
Backward pagination cursor — returns items before it. Pass an
edges[].cursor or pageInfo.startCursor from a previous page.Int
Forward pagination: returns the first N items (max 100, default 25). Use with
after; mutually exclusive with last/before.Int
Backward pagination: returns the last N items (max 100, default 25). Use with
before; mutually exclusive with first/after.String!
required
The location’s display name.
String
The contact phone number for the location.
String
The postal or ZIP code, e.g. “84101”.
String
The state or province code, e.g. “UT”.
required
Bins and other storage locations within this warehouse.Requires:
locations_readShow fields
Show fields
Arguments
String
Forward pagination cursor — returns items after it. Pass an
edges[].cursor or pageInfo.endCursor from a previous page.String
Backward pagination cursor — returns items before it. Pass an
edges[].cursor or pageInfo.startCursor from a previous page.Int
Forward pagination: returns the first N items (max 100, default 25). Use with
after; mutually exclusive with last/before.Int
Backward pagination: returns the last N items (max 100, default 25). Use with
before; mutually exclusive with first/after.String
The first line of the street address.
String
The second line of the street address.
Int!
required
How many orders the session holds, including orders on archived lines.
The team member picking the session. Null before someone claims it or when the user no longer exists.Requires:
pick_sessions_readInt!
required
Units marked out of stock across every line, including archived lines.
Int!
required
Units picked so far across every line, including archived lines.
required
Where picked items are scanned and sorted into orders.
required
Where the session is in its lifecycle.
required
How orders were grouped into the session.
Int!
required
Units to pick across every line, including archived lines.
Pagination metadata for the current page.
Show fields
Show fields
String
Cursor of the last edge in this page; pass to
after to page forward.Boolean!
required
Whether more items exist after this page (drives forward pagination with
first/after).Boolean!
required
Whether more items exist before this page (drives backward pagination with
last/before).String
Cursor of the first edge in this page; pass to
before to page backward.Example
query {
pickSessions(after: "...", before: "...", createdAtMax: "...", createdAtMin: "...", first: 10, last: 10, locationId: "...", orderBy: CREATED_AT, reverse: true, status: ACTIVE) {
nodes {
completedAt
createdAt
filterName
id
inventorySource
legacyId
orderCount
pickedAt
# ...
}
pageInfo { hasNextPage endCursor }
}
}