Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

PromotionRuleInput Input Type

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

Fields

name

name · String

Promotion rule name.

description

description · JSON

Promotion rule description.

cataloguePredicate

cataloguePredicate · CataloguePredicateInput

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

orderPredicate

orderPredicate · OrderPredicateInput

Defines the conditions on the checkout/draft order level that must be met for the reward to be applied.

Added in Saleor 3.19

rewardValueType

rewardValueType · RewardValueTypeEnum

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

rewardValue

rewardValue · PositiveDecimal

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

rewardType

rewardType · RewardTypeEnum

Defines the reward type of the promotion rule.

Added in Saleor 3.19

channels

channels · [ID!]

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

gifts

gifts · [ID!]

Product variant IDs available as a gift to choose.

Added in Saleor 3.19

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?