Skip to main content

UpdatePromotionInput

No description

input UpdatePromotionInput {
name: String!
active: Boolean
promotionType: PromotionType
subject: PromotionSubject
discountValue: Float
creditValue: Float
rules: [CreateRuleInput!]
redemptionCodeFormat: String
startDate: Date
endDate: Date
tremendous: CreateTremendousPromotionInput
connectedServiceType: ConnectedServiceType
merchantUuid: String
destinations: [AddPromotionDestinationInput!]
}

Fields

UpdatePromotionInput.name ● String! non-null scalar

The name of the promotion

UpdatePromotionInput.active ● Boolean scalar

Set the promotion to active or inactive

UpdatePromotionInput.promotionType ● PromotionType enum

The type of promotion

UpdatePromotionInput.subject ● PromotionSubject enum

The subject of the promotion

UpdatePromotionInput.discountValue ● Float scalar

Discount value

UpdatePromotionInput.creditValue ● Float scalar

Credit value

UpdatePromotionInput.rules ● [CreateRuleInput!] list input

Rules for the promotion

UpdatePromotionInput.redemptionCodeFormat ● String scalar

Redemption Code Format

UpdatePromotionInput.startDate ● Date scalar

The date and time when the promotion starts

UpdatePromotionInput.endDate ● Date scalar

The date and time when the promotion ends

UpdatePromotionInput.tremendous ● CreateTremendousPromotionInput input

Additional configuration for Tremendous promotions

UpdatePromotionInput.connectedServiceType ● ConnectedServiceType enum

The connected service type for the promotion

UpdatePromotionInput.merchantUuid ● String scalar

UUID of the merchant to associate with this promotion

UpdatePromotionInput.destinations ● [AddPromotionDestinationInput!] list input

Destination services to set for this promotion

Member Of

updatePromotion mutation