Skip to content

Campaign

A campaign, which measures a promotion’s impact by its promotion codes and engagements.

type Campaign {
code: String!
codes: [PromotionCode!]!
id: Guid!
isArchived: Boolean!
name: LocalisedString!
tagType: TagType
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.

Unique identifier.

Whether the campaign is archived.

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.campaign query ● marketing.saveCampaign mutation ● marketing.toggleArchiveCampaign mutation