Skip to main content

PromotionCreateError

No description

type PromotionCreateError {
field: String
message: String
code: PromotionCreateErrorCode!
index: Int
rulesLimit: Int
rulesLimitExceedBy: Int
giftsLimit: Int
giftsLimitExceedBy: Int
}

Fields

PromotionCreateError.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.

PromotionCreateError.message ● String scalar miscellaneous

The error message.

PromotionCreateError.code ● PromotionCreateErrorCode! non-null enum miscellaneous

The error code.

PromotionCreateError.index ● Int scalar miscellaneous

Index of an input list item that caused the error.

PromotionCreateError.rulesLimit ● Int scalar miscellaneous

Limit of rules with orderPredicate defined.

PromotionCreateError.rulesLimitExceedBy ● Int scalar miscellaneous

Number of rules with orderPredicate defined exceeding the limit.

PromotionCreateError.giftsLimit ● Int scalar miscellaneous

Limit of gifts assigned to promotion rule.

PromotionCreateError.giftsLimitExceedBy ● Int scalar miscellaneous

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

Member Of

PromotionCreate object