Passa al contenuto principale

Mutations

activityCreate

Type: ActivityResponse!

Creates a task on a supporter or a donation.

Arguments

NameDescription
data
ActivityCreateInput!

activityDelete

Type: ActivityResponse!

Deletes the task.

Arguments

NameDescription
id
Int!

activityDone

Type: ActivityResponse!

Marks the task as carried out today.

Arguments

NameDescription
id
Int!

activityUndone

Type: ActivityResponse!

Reopens a task that had been marked as done.

Arguments

NameDescription
id
Int!

activityUpdate

Type: ActivityResponse!

Updates the fields of the task that are present in the input.

Arguments

NameDescription
id
Int!
data
ActivityUpdateInput!

articlesCreate

Type: ArticlesResponse!

Publishes a post in one of the blogs of the site.

Arguments

NameDescription
data
ArticleInput!

articlesDelete

Type: ArticlesResponse!

Deletes the post.

Arguments

NameDescription
id
Int!

articlesUpdate

Type: ArticlesResponse!

Updates the fields of the post that are present in the input.

Arguments

NameDescription
id
Int!
data
ArticleInput!

blogsCreate

Type: BlogsResponse!

Creates a blog on the public site.

Arguments

NameDescription
data
BlogInput!

blogsDelete

Type: BlogsResponse!

Deletes the blog together with its posts.

Arguments

NameDescription
id
Int!

blogsUpdate

Type: BlogsResponse!

Updates the fields of the blog that are present in the input.

Arguments

NameDescription
id
Int!
data
BlogInput!

campaignCommentCreate

Type: CampaignCommentResponse!

Attaches a comment to a donation. Requires the CAMPAIGN_WRITE permission.

Arguments

NameDescription
data
CampaignCommentCreateInput!

campaignCommentDelete

Type: CampaignCommentResponse!

Deletes the comment. Requires the CAMPAIGN_WRITE permission.

Arguments

NameDescription
id
Int!

campaignCommentUpdate

Type: CampaignCommentResponse!

Moderates or edits a comment. Requires the CAMPAIGN_WRITE permission.

Arguments

NameDescription
id
Int!
data
CampaignCommentUpdateInput!

campaignCreate

Type: CampaignResponse!

Creates a campaign together with its public page. Requires the CAMPAIGN_WRITE permission.

Arguments

NameDescription
data
CampaignInput!

campaignDelete

Type: CampaignResponse!

Deletes the campaign. Fails when donations are already attached to it. Requires the CAMPAIGN_WRITE permission.

Arguments

NameDescription
id
Int!

campaignDuplicate

Type: CampaignResponse!

Creates a copy of the campaign, its form configuration and its cost examples. The copy starts hidden. Requires the CAMPAIGN_WRITE permission.

Arguments

NameDescription
id
Int!

campaignUpdate

Type: CampaignResponse!

Updates the fields of the campaign that are present in the input. Requires the CAMPAIGN_WRITE permission.

Arguments

NameDescription
id
Int!
data
CampaignInput!

checkoutComplete

Type: CheckoutResponse!

Closes the session, creating the supporter and the donation out of the data it holds.

Arguments

NameDescription
token
String!
data
CheckoutCompleteInput!

checkoutCreate

Type: CheckoutResponse!

Opens a checkout session and returns it, token included.

Arguments

NameDescription
data
CheckoutInput!

checkoutRegisterPayment

Type: CheckoutResponse!

Records against the session the payment collected by the gateway, and settles the resulting donation.

Arguments

NameDescription
token
String!
data
CheckoutPaymentInput!

checkoutSendRecoveryEmail

Type: CheckoutResponse!

Sends the donor an email with a link to resume the abandoned session.

Arguments

NameDescription
token
String!

checkoutUpdate

Type: CheckoutResponse!

Updates the fields of the session that are present in the input, as the donor advances through the form.

Arguments

NameDescription
token
String!
data
CheckoutInput!

customfieldDefinitionCreate

Type: CustomFieldDefinitionResponse!

Adds a custom field to one kind of record.

Arguments

NameDescription
data
CustomFieldDefinitionCreateInput!

customfieldDefinitionDelete

Type: CustomFieldDefinitionResponse!

Deletes a custom field definition together with the values recorded under it.

Arguments

NameDescription
id
Int!

customfieldDefinitionUpdate

Type: CustomFieldDefinitionResponse!

Updates the label, the hint, the options or the position of a custom field.

Arguments

NameDescription
id
Int!
data
CustomFieldDefinitionUpdateInput!

donationDelete

Type: Donation!

Deletes the donation and returns the record as it was before deletion. Requires the DONATION_WRITE permission.

Arguments

NameDescription
id
Int!

donationExport

Type: String!

Starts an asynchronous export of the donations matching the given domain and returns the email address the file will be sent to. Requires the DONATION_EXPORT permission.

Arguments

NameDescription
format
ExportFormat!
domain
DonationDomain!

donationImport

Type: ImportRun!

Uploads a file of donations and starts an asynchronous import run, returning the run to poll for progress. Requires the DONATION_WRITE permission.

Arguments

NameDescription
file
Upload!
fallbackCampaignId
Int

donationReceiptSend

Type: Boolean!

Generates the tax receipt of the donation and sends it to the supporter. Returns whether the message was actually sent. Requires the DONATION_WRITE permission.

Arguments

NameDescription
id
Int!

donationRegisterPayment

Type: DonationResponse!

Registers a payment collected outside Riseact against the donation, for example a bank transfer. Requires the DONATION_WRITE permission.

Arguments

NameDescription
id
Int!
data
DonationPaymentInput!

donationRevoke

Type: Donation!

Revokes the pledge, stopping any future collection. Already revoked donations are returned unchanged. Requires the DONATION_WRITE permission.

Arguments

NameDescription
id
Int!

donationUpdate

Type: Donation!

Updates the editable fields of a donation. Requires the DONATION_WRITE permission.

Arguments

NameDescription
id
Int!
data
DonationInput!

manualPaymentMethodCreate

Type: PaymentMethodResponse!

Creates a payment method collected outside Riseact.

Arguments

NameDescription
data
ManualPaymentMethodInput!

manualPaymentMethodDelete

Type: PaymentMethodResponse!

Deletes a manual payment method. Payments already collected with it are left untouched.

Arguments

NameDescription
id
Int!

manualPaymentMethodUpdate

Type: PaymentMethodResponse!

Updates a manual payment method.

Arguments

NameDescription
id
Int!
data
ManualPaymentMethodInput!

mediaCreate

Type: Media!

Uploads an image and returns it with its derived sizes.

Arguments

NameDescription
file
Upload!

mediaDelete

Type: MediaResponse!

Deletes an image. Records still pointing at it lose their picture.

Arguments

NameDescription
id
Int!

Type: MenuResponse!

Creates a navigation menu with its entries.

Arguments

NameDescription
data
MenuInput!

Type: MenuResponse!

Deletes the menu. A theme still calling its handle finds nothing.

Arguments

NameDescription
id
Int!

Type: MenuResponse!

Updates the menu and replaces its entries with the ones sent.

Arguments

NameDescription
id
Int!
data
MenuInput!

organizationUpdate

Type: OrganizationResponse!

Updates the profile, the contacts and the certificate settings of the organization.

Arguments

NameDescription
data
OrganizationInput!

organizationUpdateLegalData

Type: OrganizationResponse!

Updates the terms of service, the privacy policy and the default consents of the organization.

Arguments

NameDescription
data
OrganizationLegalInput!

pagesCreate

Type: PagesResponse!

Creates a static page on the public site.

Arguments

NameDescription
data
PageInput!

pagesDelete

Type: PagesResponse!

Deletes the page.

Arguments

NameDescription
id
Int!

pagesUpdate

Type: PagesResponse!

Updates the fields of the page that are present in the input.

Arguments

NameDescription
id
Int!
data
PageInput!

paymentExport

Type: String!

Starts an asynchronous export of the payments matching the given domain and returns the email address the file will be sent to.

Arguments

NameDescription
format
ExportFormat!
domain
PaymentDomain!

paymentRefund

Type: PaymentResponse!

Refunds the payment on the gateway that collected it and records the refund.

Arguments

NameDescription
id
Int!

paymentUpdate

Type: PaymentResponse!

Corrects the editable fields of a payment.

Arguments

NameDescription
id
Int!
data
ManualPaymentInput!

peerCampaignCreate

Type: PeerCampaignResponse!

Opens a peer-to-peer page for a supporter on one of the campaigns that allow it. Requires the CAMPAIGN_WRITE permission.

Arguments

NameDescription
data
PeerCampaignInput!

peerCampaignDelete

Type: PeerCampaignResponse!

Deletes the peer page. Requires the CAMPAIGN_WRITE permission.

Arguments

NameDescription
id
Int!

peerCampaignUpdate

Type: PeerCampaignResponse!

Updates the fields of the peer page that are present in the input. Requires the CAMPAIGN_WRITE permission.

Arguments

NameDescription
id
Int!
data
PeerCampaignInput!

privacyDefinitionCreate

Type: PrivacyDefinitionResponse!

Adds a consent to the ones the organization asks donors for.

Arguments

NameDescription
data
PrivacyDefinitionCreateInput!

privacyDefinitionDelete

Type: PrivacyDefinitionResponse!

Deletes a consent definition.

Arguments

NameDescription
id
Int!

privacyDefinitionUpdate

Type: PrivacyDefinitionResponse!

Updates a consent definition. Consents already recorded on supporters are left untouched.

Arguments

NameDescription
id
Int!
data
PrivacyDefinitionUpdateInput!

projectCreate

Type: ProjectResponse!

Creates a project together with its public page.

Arguments

NameDescription
data
ProjectInput!

projectDelete

Type: ProjectResponse!

Deletes the project. The campaigns it gathers are left untouched.

Arguments

NameDescription
id
Int!

projectRemoveItem

Type: ProjectResponse!

Removes one campaign from a project listed by hand.

Arguments

NameDescription
id
Int!
campaignId
Int!

projectUpdate

Type: ProjectResponse!

Updates the fields of the project that are present in the input.

Arguments

NameDescription
id
Int!
data
ProjectInput!

projectUpdateItems

Type: ProjectResponse!

Replaces the campaigns listed in the project, in the given order. Only for projects listed by hand.

Arguments

NameDescription
id
Int!
campaignIds
[Int!]!

redirectsCreate

Type: RedirectResponse!

Creates a redirect on the public site.

Arguments

NameDescription
data
RedirectInput!

redirectsDelete

Type: RedirectResponse!

Deletes the redirect, so the old address stops being forwarded.

Arguments

NameDescription
id
Int!

redirectsUpdate

Type: RedirectResponse!

Updates the path or the destination of a redirect.

Arguments

NameDescription
id
Int!
data
RedirectInput!

satispayPaymentCreate

Type: SatispayPaymentResponse!

Opens a Satispay payment for the checkout session and returns what the donor needs to pay it.

Arguments

NameDescription
checkoutToken
String!

segmentCreate

Type: SegmentResponse!

Saves a set of filters as a segment.

Arguments

NameDescription
data
SegmentInput!

segmentDelete

Type: SegmentResponse!

Deletes a segment.

Arguments

NameDescription
id
Int!

segmentUpdate

Type: SegmentResponse!

Updates the name or the filters of a segment.

Arguments

NameDescription
id
Int!
data
SegmentInput!

stripeActivate

Type: StripeAccount!

Creates the Stripe connected account of the organization, or returns the one it already has.

stripeCheckoutIntentCreate

Type: StripeCheckoutResponse!

Opens a Stripe payment for the checkout session and returns the intent for the browser to confirm.

Arguments

NameDescription
checkoutToken
String!
paymentTypes
StripePaymentTypeInput!

Type: StripeLink!

Opens a link to the Stripe dashboard of the connected account.

Type: StripeLink!

Opens a link to the Stripe onboarding, where the organization submits the details Stripe needs to let it take payments.

stripeTerminalCheckoutIntentCreate

Type: StripeCheckoutResponse!

Opens a Stripe payment for the checkout session, to be collected on a card reader instead of in a browser.

Arguments

NameDescription
checkoutToken
String!

sumupAccountCreate

Type: SumUpAccount!

Connects a SumUp merchant to the organization.

Arguments

NameDescription
data
SumUpAccountInput!

sumupAccountUpdate

Type: SumUpAccount!

Changes the SumUp merchant connected to the organization.

Arguments

NameDescription
data
SumUpAccountInput!

supporterBulkTags

Type: Boolean!

Adds or removes the given labels on every supporter matching the filters. Requires the SUPPORTER_WRITE permission.

Arguments

NameDescription
action
SupporterBulkTagAction!
filters
SupporterFiltersInput!
tags
[String!]!

supporterCreate

Type: Supporter!

Creates a supporter. Requires the SUPPORTER_WRITE permission.

Arguments

NameDescription
data
SupporterInput!

supporterDelete

Type: Supporter!

Deletes the supporter and returns the record as it was before deletion. Requires the SUPPORTER_WRITE permission.

Arguments

NameDescription
id
Int!

supporterExport

Type: String!

Starts an asynchronous export of the supporters matching the given domain and returns the email address the file will be sent to. Requires the SUPPORTER_EXPORT permission.

Arguments

NameDescription
format
ExportFormat!
domain
SupporterDomain!

supporterImport

Type: ImportRun!

Uploads a file of supporters and starts an asynchronous import run, returning the run to poll for progress. Requires the SUPPORTER_WRITE permission.

Arguments

NameDescription
file
Upload!

supporterLeadCreate

Type: Supporter!

Creates a supporter as a lead, i.e. a contact acquired before any donation. Requires the SUPPORTER_WRITE permission.

Arguments

NameDescription
data
LeadSupporterInput!

supporterMerge

Type: Supporter!

Merges the duplicate supporters into the master one, moving their donations and history, and applies the given data to the result. Requires the SUPPORTER_WRITE permission.

Arguments

NameDescription
masterId
Int!
duplicatesIds
[Int!]!
data
SupporterInput!

supporterRemovePrivacy

Type: SupporterResponse!

Removes the consent identified by the given code from the supporter. Requires the SUPPORTER_WRITE permission.

Arguments

NameDescription
id
Int!
code
String!

supporterSendTaxCertificate

Type: Supporter!

Generates the yearly tax certificate of the supporter and delivers it over the chosen channel. Requires the SUPPORTER_WRITE permission.

Arguments

NameDescription
id
Int!
method
NotificationMethods!

supporterSetPrivacy

Type: SupporterResponse!

Records a consent on the supporter, replacing any previous value for the same privacy definition. Requires the SUPPORTER_WRITE permission.

Arguments

NameDescription
id
Int!
data
SupporterPrivacyInput!

supporterUpdate

Type: Supporter!

Updates the fields of a supporter that are present in the input. Requires the SUPPORTER_WRITE permission.

Arguments

NameDescription
id
Int!
data
SupporterInput!

terminalConnectionTokenCreate

Type: String!

Issues a short-lived token the kiosk application uses to talk to the card readers.

Arguments

NameDescription
locationId
String

terminalDelete

Type: String!

Unpairs a card reader and returns its identifier.

Arguments

NameDescription
id
String!

terminalLocationCreate

Type: StripeTerminalLocation!

Creates a location card readers can be installed at.

Arguments

NameDescription
data
TerminalLocationInput!

terminalLocationDelete

Type: Void

Deletes a location. The readers installed there must be moved first.

Arguments

NameDescription
id
String!

terminalLocationUpdate

Type: StripeTerminalLocation!

Updates the address of a location.

Arguments

NameDescription
id
String!
data
TerminalLocationInput!

terminalRegister

Type: StripeTerminal!

Pairs a card reader with the organization, using the code shown on its screen.

Arguments

NameDescription
data
TerminalRegisterInput!

terminalUpdateLabel

Type: StripeTerminal!

Renames a card reader.

Arguments

NameDescription
id
String!
label
String!