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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

PromotionRuleCreateError Object

type PromotionRuleCreateError {
  field: String
  message: String
  code: PromotionRuleCreateErrorCode!
  rulesLimit: Int
  rulesLimitExceedBy: Int
  giftsLimit: Int
  giftsLimitExceedBy: Int
}

Fields

field

field · String

Name of a field that caused the error. A value of null indicates that the error isn’t associated with a particular field.

message

message · String

The error message.

code

code · PromotionRuleCreateErrorCode!

The error code.

rulesLimit

rulesLimit · Int

Limit of rules with orderPredicate defined.

rulesLimitExceedBy

rulesLimitExceedBy · Int

Number of rules with orderPredicate defined exceeding the limit.

giftsLimit

giftsLimit · Int

Limit of gifts assigned to promotion rule.

giftsLimitExceedBy

giftsLimitExceedBy · Int

Number of gifts defined for this promotion rule exceeding the limit.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?