PromotionCreateInput
No description
input PromotionCreateInput {
description: JSON
startDate: DateTime
endDate: DateTime
name: String!
type: PromotionTypeEnum!
rules: [PromotionRuleInput!]
}
Fields
PromotionCreateInput.description ● JSON scalar miscellaneous
Promotion description.
PromotionCreateInput.startDate ● DateTime scalar miscellaneous
The start date of the promotion in ISO 8601 format.
PromotionCreateInput.endDate ● DateTime scalar miscellaneous
The end date of the promotion in ISO 8601 format.
PromotionCreateInput.name ● String! non-null scalar miscellaneous
Promotion name.
PromotionCreateInput.type ● PromotionTypeEnum! non-null enum discounts
Defines the promotion type. Implicate the required promotion rules predicate type and whether the promotion rules will give the catalogue or order discount.
Added in Saleor 3.19
PromotionCreateInput.rules ● [PromotionRuleInput!] list input discounts
List of promotion rules.
Member Of
promotionCreate mutation