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!}Fields
Section titled “Fields”code ● String!non-nullscalar
Section titled “code ● String! ”The campaign’s code. Orders from an engagement’s links are attributed to the campaign by it.
The campaign’s promotion codes.
id ● Guidscalar
Section titled “id ● Guid ”The item to update. Omitted: a new item is created.
name ● LocalisedString!non-nullscalar
Section titled “name ● LocalisedString! ”The campaign’s name.
The tag applied to a purchasing account that redeems a promotion code. Null: none.
timezone ● String!non-nullscalar
Section titled “timezone ● String! ”The time zone of validFrom and validTo, such as Europe/London.
type ● CampaignType!non-nullenum
Section titled “type ● CampaignType! ”How the campaign’s promotion codes can be used.
validFrom ● LocalDateTime!non-nullscalar
Section titled “validFrom ● LocalDateTime! ”When the campaign is valid from, in its time zone. This time is included.
validTo ● LocalDateTime!non-nullscalar
Section titled “validTo ● LocalDateTime! ”When the campaign is valid until, in its time zone. This time is not included.
Member Of
Section titled “Member Of”marketing.saveCampaign mutation

