Zum Inhalt springen

updateDiscountCampaign

Update an existing discountCampaign. The user must have update access on the target object.

Type: DiscountCampaignUpdatePayload!

Arguments

mutation($discountCampaign: DiscountCampaignUpdateInput!, $id: UID!) {
updateDiscountCampaign(discountCampaign: $discountCampaign, id: $id) {
changes {
field
newValue
oldValue
}
discountCampaign {
childItemLinkType
codeCount
courseFrom
courseTo
discountType
id
itemTypeCodes
name
redemptionCount
registrationFrom
registrationTo
scopeObjectTypes
usedCodeCount
value
}
id
object {
accountingItemsAsText
aclInherit
categoriesAsString
code
createdAt
customNumber
hasChildren
hasReports
id
importID
isFavorite
isMember
isSubscribed
journalEntriesAsText
lastChangedAt
longName
membersAsText
name
numbering
objectGuid
objectName
objectTypeID
orderNr
orderType
parentObjectID
remarks
resourceBusyByTerms
shortName
specialType
suffix
suffixManual
thumbnail
validFrom
validTo
}
runtime
}
}