OBJECT

DiscountAction

A discount action can either be an entry point itself, or a "sub-action" of some other entry point action. On a flat list of actions, a sub-action's entrypoint is the recent one above it on the list. You can also check the sub-action's entry point directly via entryPoint field.

link GraphQL Schema definition

1type DiscountAction {
2id: Int!
3
4isEntryPoint: Boolean!
5
6# Required permission: Discount:read
7entryPoint: DiscountAction
8
9continueStrategy: DiscountActionContinueStrategy!
10
11# Required permission: Discount:read
12#
13# All elements are always returned
14criteria: [DiscountActionCriteria!]!
15
16# Required permission: Discount:read
17result: DiscountActionResult
18
19}