Skip to main content
Version: 3.x

PromotionRuleUpdateInput

No description

input PromotionRuleUpdateInput {
name: String
description: JSON
cataloguePredicate: CataloguePredicateInput
rewardValueType: RewardValueTypeEnum
rewardValue: PositiveDecimal
addChannels: [ID!]
removeChannels: [ID!]
}

Fields

PromotionRuleUpdateInput.name ● String scalar

Promotion rule name.

PromotionRuleUpdateInput.description ● JSON scalar

Promotion rule description.

PromotionRuleUpdateInput.cataloguePredicate ● CataloguePredicateInput input

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

PromotionRuleUpdateInput.rewardValueType ● RewardValueTypeEnum enum

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

PromotionRuleUpdateInput.rewardValue ● PositiveDecimal scalar

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

PromotionRuleUpdateInput.addChannels ● [ID!] list scalar

List of channel ids to remove.

PromotionRuleUpdateInput.removeChannels ● [ID!] list scalar

List of channel ids to remove.

Member of

promotionRuleUpdate mutation


Was this page helpful?