Magidoc

RootMutationType
Object

Fields

#

acceptOrgConfirm

Non-null

Accept a confirm on behalf of organisation.

acceptUserConfirm

Non-null

Accept a confirm by user

activateKey

Non-null

A separate key activate operation, because you also need to add the key to receiving system before it is used

addAction

Non-null

Adds an action referencing contact data via contactRef

addActionContact

Non-null

Adds an action with contact data

addActionPage

Non-null

addCampaign

Non-null

Add a new campaign

addKey

Non-null

Add a key to encryption keys

addOrg

Non-null

Add an org. Calling user will become it's owner.

addOrgUser

Non-null

Add user to org by email

addStripeObject

Non-null

Create stripe object using Stripe key associated with action page owning org. Pass any of paymentIntent, subscription, customer, price json params to be sent as-is to Stripe API. The result is a JSON returned by Stripe API or a GraphQL Error object. If you provide customer along payment intent or subscription, it will be first created, then their id will be added to params for the payment intent or subscription, so you can pack 2 Stripe API calls into one. You can do the same with price object in case of a subscription.

addStripePaymentIntent

Non-null

Stripe API - add a stripe payment intent, when donating to the action page specified by id

addStripeSubscription

Non-null

Stripe API - add a stripe subscription, when donating to the action page specified by id

copyActionPage

Non-null

Adds a new Action Page based on another Action Page. Intended to be used to create a partner action page based off lead's one. Copies: campaign, locale, config, delivery flag

copyCampaignActionPage

Non-null

Adds a new Action Page based on latest Action Page from campaign. Intended to be used to create a partner action page based off lead's one. Copies: campaign, locale, config, delivery flag

deleteActionPage

Non-null

Delete an action page

deleteCampaign

Non-null

Delete a campaign. Deletion will be blocked if there are action pages with personal data (we never remove personal data unless via GDPR).

deleteOrg

Non-null

Delete an org

deleteOrgUser

generateKey

Non-null

Generate a new encryption key in org

inviteOrgUser

Non-null

Invite an user to org by email (can be not yet user!)

joinOrg

Non-null

Try becoming a staffer of the org

launchActionPage

Non-null

Sends a request to lead to set the page to live=true

linkActions

Non-null

Link actions with refs to contact with contact reference

rejectOrgConfirm

Non-null

Reject a confirm on behalf of organisation.

rejectUserConfirm

Non-null

Reject a confirm by user

requeueActions

Non-null

Requeue actions into one of processing destinations

resetApiToken

Non-null

updateActionPage

Non-null

Update an Action Page

updateCampaign

Non-null

Updates an existing campaign.

updateOrg

Non-null

Update an org

updateOrgProcessing

Non-null

Update org processing settings

updateOrgUser

Non-null

updateUser

Non-null

Update (current) user details

upsertCampaign

Non-null

Upserts a campaign.

Creates or appends campaign and it's action pages. In case of append, it will change the campaign with the matching name, and action pages with matching names. It will create new action pages if you pass new names. No Action Pages will be removed (principle of not removing signature data).

upsertService

Non-null

Insert or update a service for an org, using id to to update a particular one

upsertTargets

Non-null

Upsert multiple targets at once. external_id is used to decide if new target record is added, or existing one is updated.

upsertTemplate

Upsert an email tempalte to be used for sending various emails. It belongs to org and is identified by (name, locale), so you can have multiple "thank_you" templates for different languages.