Skip to main content
Version: 3.x

PromotionRuleInput

No description

input PromotionRuleInput {
name: String
description: JSON
cataloguePredicate: CataloguePredicateInput
rewardValueType: RewardValueTypeEnum
rewardValue: PositiveDecimal
channels: [ID!]
}

Fields

PromotionRuleInput.name ● String scalar

Promotion rule name.

PromotionRuleInput.description ● JSON scalar

Promotion rule description.

PromotionRuleInput.cataloguePredicate ● CataloguePredicateInput input

Defines the conditions on the catalogue level that must be met for the reward to be applied.

PromotionRuleInput.rewardValueType ● RewardValueTypeEnum enum

Defines the promotion rule reward value type. Must be provided together with reward value.

PromotionRuleInput.rewardValue ● PositiveDecimal scalar

Defines the discount value. Required when catalogue predicate is provided.

PromotionRuleInput.channels ● [ID!] list scalar

List of channel ids to which the rule should apply to.

Member of

PromotionCreateInput input


Was this page helpful?