Browse questionnaire sessions (paginated, filtered). The merchant dashboard's "catalog items needing answers" view is filter: {containerType: CATALOG_ITEM, statuses: [IN_PROGRESS]} — each node's containerId is the catalog item id, and totalCount is the aggregate badge count (sessions are only opened for items with outstanding programs, so open session ⇔ item needs answers).
Query.
questionnaireSessions
Browse questionnaire sessions (paginated, filtered). The merchant dashboard's "catalog items needing answers" view is filter: {containerType: CATALOG_ITEM, statuses: [IN_PROGRESS]} — each node's containerId is the catalog item id, and totalCount is the aggregate badge count (sessions are only opened for items with outstanding programs, so open session ⇔ item needs answers).
Arguments
after
String
before
String
filter
QuestionnaireSessionFilter
first
Int
last
Int
Returns:
QuestionnaireSessionConnection!
type Query { questionnaireSessions(after: String, before: String, filter: QuestionnaireSessionFilter, first: Int, last: Int): QuestionnaireSessionConnection! }