CampaignUpdate
Update a campaign's details.
CampaignUpdate(
name: String
description: String
goal: Int
deadline: String
photoBase64: String
photoFileName: String
photo: Upload
isActive: Boolean
postalCode: String
coordinates: CoordinatesInput
country: Country
city: String
province: String
privacyLevel: PrivacyLevel
seasonReminder: DateISO
shopInitialized: DateISO
fundsObjective: FundsObjectiveInput
): CampaignUpdateUnion!
Arguments
CampaignUpdate.name ● String scalar
The campaign's name.
CampaignUpdate.description ● String scalar
The campaign's description.
CampaignUpdate.goal ● Int scalar
The campaign's target.
CampaignUpdate.deadline ● String scalar
The Campaign's Deadline
CampaignUpdate.photoBase64 ● String scalar
The base64 encoded version of the user's photo to upload.
CampaignUpdate.photoFileName ● String scalar
File name of user's photo.
CampaignUpdate.photo ● Upload scalar
Campaign photo.
CampaignUpdate.isActive ● Boolean scalar
If the campaign should be active.
CampaignUpdate.postalCode ● String scalar
The campaign's postal code.
CampaignUpdate.coordinates ● CoordinatesInput input
Location of campaign
CampaignUpdate.country ● Country enum
The campaign's country.
CampaignUpdate.city ● String scalar
The campaign's city.
CampaignUpdate.province ● String scalar
The campaign's province.
CampaignUpdate.privacyLevel ● PrivacyLevel enum
The campaign's privacy level.
CampaignUpdate.seasonReminder ● DateISO scalar
Set upcoming season reminder for campaign.
CampaignUpdate.shopInitialized ● DateISO scalar
Set the date the shop app was initialized
CampaignUpdate.fundsObjective ● FundsObjectiveInput input
Attributes for setting a team's objective.
Type
CampaignUpdateUnion union
If mutation is successful, the Campaign will be returned, otherwise a MutationError is returned.