Skip to main content

PromotionRuleCreateError

No description

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

Fields

PromotionRuleCreateError.field ● String scalar miscellaneous

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

PromotionRuleCreateError.message ● String scalar miscellaneous

The error message.

PromotionRuleCreateError.code ● PromotionRuleCreateErrorCode! non-null enum miscellaneous

The error code.

PromotionRuleCreateError.rulesLimit ● Int scalar miscellaneous

Limit of rules with orderPredicate defined.

PromotionRuleCreateError.rulesLimitExceedBy ● Int scalar miscellaneous

Number of rules with orderPredicate defined exceeding the limit.

PromotionRuleCreateError.giftsLimit ● Int scalar miscellaneous

Limit of gifts assigned to promotion rule.

PromotionRuleCreateError.giftsLimitExceedBy ● Int scalar miscellaneous

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

Member Of

PromotionRuleCreate object