Skip to main content

TenderIncentive

An incentive rule that applies to the tender.

Recorded the last time incentives were applied (tenderApplyIncentives, or the order the tender was started from) and kept until they are applied again, like the item discounts it gave. Stored on the order when the tender is processed.

type TenderIncentive {
businessRuleId: String
name: String
action: String!
affectedOrderItemUuids: [String!]
params: TenderIncentiveParams!
}

Fields​

TenderIncentive.businessRuleId ● String scalar​

Identifier of the incentive business rule that applied. A rule whose decision table matched more than one row can appear more than once.

TenderIncentive.name ● String scalar​

Name of the incentive, as configured in the rule.

TenderIncentive.action ● String! non-null scalar​

What the incentive did, for example GIVE_DISCOUNT_TO_ORDER_ITEM or ADD_PRODUCT_TO_BONUS_ITEMS.

TenderIncentive.affectedOrderItemUuids ● [String!] list scalar​

UUIDs of the tender lines the rule's conditions matched. Null when the rule has no item conditions, so the whole tender qualified; an empty list when its item conditions matched no lines.

TenderIncentive.params ● TenderIncentiveParams! non-null object​

The parameters the incentive ran with.

Member Of​

Tender object