Skip to main content

PresaleCampaignCreateInput

The input fields for creating a presale campaign.

input PresaleCampaignCreateInput {
deposit: CampaignDepositInput
description: String
endAt: ISO8601DateTime!
fulfilAt: ISO8601DateTime
gracePeriodHours: Int!
inventoryTrackingPolicy: PresaleInventoryTrackingPolicyInput!
items: [CampaignItemCreateInput!]
launchAt: ISO8601DateTime!
limit: Int
name: String
reference: String!
}

Fields​

PresaleCampaignCreateInput.deposit ● CampaignDepositInput input types​

The deposit to collect at checkout for the campaign's orders.

PresaleCampaignCreateInput.description ● String scalar types​

The campaign's description. It defaults to the channel's template when blank.

PresaleCampaignCreateInput.endAt ● ISO8601DateTime! non-null scalar types​

The date and time when the campaign is scheduled to end. It must be after launchAt.

PresaleCampaignCreateInput.fulfilAt ● ISO8601DateTime scalar types​

The date and time when the campaign is scheduled to start fulfilling. It must be after endAt.

PresaleCampaignCreateInput.gracePeriodHours ● Int! non-null scalar types​

The number of hours a customer has to fix a failed payment before their campaign order is cancelled.

PresaleCampaignCreateInput.inventoryTrackingPolicy ● PresaleInventoryTrackingPolicyInput! non-null enum types​

How the campaign's inventory is tracked. Items need a limit with SUBMARINE, and must not have one otherwise.

PresaleCampaignCreateInput.items ● [CampaignItemCreateInput!] list input types​

The products or product variants to include in the campaign. At least one is required.

PresaleCampaignCreateInput.launchAt ● ISO8601DateTime! non-null scalar types​

The date and time when the campaign is scheduled to launch.

PresaleCampaignCreateInput.limit ● Int scalar types​

The maximum number of units of the campaign's products that can be sold.

PresaleCampaignCreateInput.name ● String scalar types​

The campaign's name. It defaults to the channel's template when blank.

PresaleCampaignCreateInput.reference ● String! non-null scalar types​

The merchant's reference for the campaign.

Member Of​

presaleCampaignCreate mutation