Skip to main content

PresaleCampaignUpdateInput

The input fields for updating a presale campaign.

input PresaleCampaignUpdateInput {
deposit: CampaignDepositInput
description: String
endAt: ISO8601DateTime
fulfilAt: ISO8601DateTime
gracePeriodHours: Int
id: GlobalID!
itemsToCreate: [CampaignItemCreateInput!]
itemsToDelete: [GlobalID!]
itemsToUpdate: [CampaignItemUpdateInput!]
launchAt: ISO8601DateTime
limit: Int
name: String
reference: String
}

Fields​

PresaleCampaignUpdateInput.deposit ● CampaignDepositInput input types​

The deposit to collect at checkout. It can only change while the campaign is pending, or launched if the channel allows it.

PresaleCampaignUpdateInput.description ● String scalar types​

The campaign's description. It can only change while the campaign is pending or launched.

PresaleCampaignUpdateInput.endAt ● ISO8601DateTime scalar types​

The date and time when the campaign is scheduled to end. It can only change while the campaign is pending or launched.

PresaleCampaignUpdateInput.fulfilAt ● ISO8601DateTime scalar types​

The date and time when the campaign is scheduled to start fulfilling. It can only change until the campaign starts fulfilling.

PresaleCampaignUpdateInput.gracePeriodHours ● Int scalar types​

The number of hours a customer has to fix a failed payment before their campaign order is cancelled. It can't change once the campaign is completed or cancelled.

PresaleCampaignUpdateInput.id ● GlobalID! non-null scalar types​

The ID of the presale campaign to update.

PresaleCampaignUpdateInput.itemsToCreate ● [CampaignItemCreateInput!] list input types​

The items to add to the campaign. Items can only be added while the campaign is pending.

PresaleCampaignUpdateInput.itemsToDelete ● [GlobalID!] list scalar types​

The IDs of the campaign items to remove. Items can only be removed while the campaign is pending.

PresaleCampaignUpdateInput.itemsToUpdate ● [CampaignItemUpdateInput!] list input types​

The campaign items to update. Items can only change while the campaign is pending or launched.

PresaleCampaignUpdateInput.launchAt ● ISO8601DateTime scalar types​

The date and time when the campaign is scheduled to launch. It can only change while the campaign is pending.

PresaleCampaignUpdateInput.limit ● Int scalar types​

The maximum number of units of the campaign's products that can be sold. It can only change while the campaign is pending or launched.

PresaleCampaignUpdateInput.name ● String scalar types​

The campaign's name. It can only change while the campaign is pending or launched.

PresaleCampaignUpdateInput.reference ● String scalar types​

The merchant's reference for the campaign.

Member Of​

presaleCampaignUpdate mutation