Archive API docs
    Jump to

    Narrow by kind with a prefix — q: queries, m: mutations, t: types, g: guides, f: fields and arguments.

    Input object

    UpdateCampaignInput

    Input for the updateCampaign mutation. Omitted fields are left unchanged. The campaign-level changes (name, dateEnd) apply together or not at all, and before the roster changes, which apply before the posts changes; if a campaign-level change is refused, nothing in the call applies.

    Fields

    Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.

    creators CampaignCreatorsPatchInput
    Creators to add to or remove from the campaign's roster.
    dateEnd DateTime
    New end of the campaign's window (UTC), not before its dateStart. For CREATOR_MONITORING, moving it later also extends tracking for creators already on the roster. Uses the supplied instant at whole-second precision; choose your timezone and day boundaries, then convert to UTC before sending it.
    id ID! required
    UUID of the campaign to update. It must be of a type the API provisions (campaignType not null).
    name String
    New campaign name, under the same rules as CreateCampaignInput.name: a blank or invalid name is a userError on input.name. Omit it, or send the current name back unchanged, to keep the name as stored.
    posts CampaignPostsPatchInput
    Posts to add to or remove from a CONTENT_CAPTURE campaign; refused on any other type.