Skip to content

CampaignInput

A campaign to save.

input CampaignInput {
code: String!
codes: [PromotionCodeInput!]!
id: Guid
name: LocalisedString!
tagTypeId: Guid
timezone: String!
type: CampaignType!
validFrom: LocalDateTime!
validTo: LocalDateTime!
}

The campaign’s code. Orders from an engagement’s links are attributed to the campaign by it.

The campaign’s promotion codes.

The item to update. Omitted: a new item is created.

The campaign’s name.

The tag applied to a purchasing account that redeems a promotion code. Null: none.

The time zone of validFrom and validTo, such as Europe/London.

How the campaign’s promotion codes can be used.

When the campaign is valid from, in its time zone. This time is included.

When the campaign is valid until, in its time zone. This time is not included.

marketing.saveCampaign mutation