Skip to main content
QUERY
evaluateLifecycles(cardDefinitionId: String!, entries: [LifecycleEntryDraftInput!]!, lifecycleIds: [UUID!]): [LifecycleEntryDraftEvaluation!]!

Arguments

cardDefinitionId
String!
required

Raw id of the card definition (e.g. products), not the global CardDefinition.id.

entries

Unsaved entries of this card definition.

lifecycleIds
[UUID!]

Ids of the active lifecycles to evaluate. Omit it to evaluate every active lifecycle of the card definition.

entryId
String

Id sent with the entry. Null for a new entry.

index
Int!

Position of the entry in the request's entries.

One result per evaluated lifecycle, ordered by lifecycle id.

Query
Variables
Response