Mutation
Object

This is the root mutation

Fields

#

addCreditCard

Non-null

Add a new payment method to be used with an Order. Scope: "orders".

addEmojiReaction

Non-null

Add an emoji reaction. Scope: "conversations", "expenses" or "updates".

addFunds

Non-null

Add funds to the given account. Scope: "host".

addPlatformTipToTransaction

Non-null

Add platform tips to a transaction. Scope: "transactions".

addTwoFactorAuthTokenToIndividual

Non-null

Add 2FA to the Individual if it does not have it. Scope: "account".

applyToHost

Non-null

Apply to an host with a collective. Scope: "account".

assignNewVirtualCard

Non-null

Assign Virtual Card information to existing hosted collective. Scope: "virtualCards".

banAccount

Non-null

[Root only] Ban accounts

cancelOrder

Cancel an order. Scope: "orders".

clearCacheForAccount

Non-null

[Root only] Clears the cache for a given account

confirmCreditCard

Non-null

Confirm a credit card is ready for use after strong customer authentication. Scope: "orders".

confirmGuestAccount

Non-null

Mark an account as confirmed

confirmOrder

Non-null

Confirm an order (strong customer authentication). Scope: "orders".

createApplication

createCollective

Create a Collective. Scope: "account".

createComment

Create a comment. Scope: "conversations", "expenses" or "updates".

createConnectedAccount

Connect external account to Open Collective Account. Scope: "connectedAccounts".

createConversation

Create a conversation. Scope: "conversations".

createEvent

Create an Event. Scope: "account".

createExpense

Non-null

Submit an expense to a collective. Scope: "expenses".

createFund

Create a Fund. Scope: "account".

createMember

Non-null

[Root only] Create a member entry directly. For non-root users, use inviteMember

createOrder

Non-null

To submit a new order. Scope: "orders".

createOrganization

Create an Organization. Scope: "account".

createPaymentIntent

Non-null

Creates a Stripe payment intent

createPayoutMethod

Create a new Payout Method to get paid through the platform. Scope: "expenses".

createPendingOrder

Non-null

To submit a new order. Scope: "orders".

createPersonalToken

createProject

Create a Project. Scope: "account".

createTier

Non-null

Create a tier.

createUpdate

Non-null

Create update. Scope: "updates".

createVirtualCard

Non-null

Create new Stripe Virtual Card for existing hosted collective. Scope: "virtualCards".

createWebhook

Create webhook. Scope: "webhooks".

deleteAccount

Adds or removes a policy on a given account. Scope: "account".

deleteApplication

deleteComment

deleteConnectedAccount

Delete ConnectedAccount. Scope: "connectedAccounts".

deleteExpense

Non-null

Delete an expense. Only work if the expense is rejected - please check permissions.canDelete. Scope: "expenses".

deletePersonalToken

deleteTier

Non-null

Delete a tier.

deleteUpdate

Non-null

Delete update. Scope: "updates".

deleteVirtualCard

Delete Virtual Card. Scope: "virtualCards".

deleteWebhook

Delete webhook. Scope: "webhooks".

draftExpenseAndInviteUser

Non-null

Persist an Expense as a draft and invite someone to edit and submit it. Scope: "expenses".

editAccount

Non-null

Edit key properties of an account. Scope: "account".

editAccountFeeStructure

Non-null

An endpoint for hosts to edit the fees structure of their hosted accounts. Scope: "host".

editAccountFlags

Non-null

[Root only] Edits account flags (deleted, banned, archived, trusted host)

editAccountFreezeStatus

Non-null

An endpoint for hosts to edit the freeze status of their hosted accounts. Scope: "host".

editAccountSetting

Non-null

Edit the settings for the given account. Scope: "account" or "host".

editComment

Edit a comment. Scope: "conversations", "expenses" or "updates".

editConversation

Edit a conversation. Scope: "conversations".

editExpense

Non-null

To update an existing expense

editMember

Non-null

Edit an existing member of the Collective. Scope: "account".

editMemberInvitation

Edit an existing member invitation of the Collective. Scope: "account".

editPendingOrder

Non-null

To edit a pending order. Scope: "orders".

editPublicMessage

Non-null

Edit the public message for the given Member of a Collective. Scope: "account".

editTier

Non-null

Edit a tier.

editUpdate

Non-null

Edit update. Scope: "updates".

editVirtualCard

Non-null

Edit existing Virtual Card information. Scope: "virtualCards".

followConversation

Returns true if user is following, false otherwise. Must be authenticated. Scope: "conversations".

inviteMember

Non-null

Invite a new member to the Collective. Scope: "account".

mergeAccounts

Non-null

[Root only] Merge two accounts, returns the result account

moveExpenses

Non-null

[Root only] A mutation to move expenses from one account to another

moveOrders

[ Order ]!
Non-null

[Root only] A mutation to move orders from one account to another

pauseVirtualCard

Non-null

Pause active Virtual Card. Scope: "virtualCards".

processExpense

Non-null

Process the expense with the given action. Scope: "expenses".

processHostApplication

Non-null

Reply to a host application. Scope: "host".

processPendingOrder

Non-null

A mutation for the host to approve or reject an order. Scope: "orders".

publishUpdate

Non-null

Publish update. Scope: "updates".

refundTransaction

Refunds a transaction. Scope: "transactions".

rejectTransaction

Non-null

Rejects transaction, removes member from Collective, and sends a message to the contributor. Scope: "transactions".

removeEmojiReaction

Non-null

Remove an emoji reaction. Scope: "conversations", "expenses" or "updates".

removeHost

Non-null

Removes the host for an account

removeMember

Remove a member from the Collective. Scope: "account".

removePayoutMethod

Non-null

Remove the given payout method. Scope: "expenses".

removeTwoFactorAuthTokenFromIndividual

Non-null

Remove 2FA from the Individual if it has been enabled. Scope: "account".

replyToMemberInvitation

Non-null

Endpoint to accept or reject an invitation to become a member. Scope: "account".

requestVirtualCard

Request Virtual Card to host. Scope: "virtualCards".

resendDraftExpenseInvite

Non-null

To re-send the invitation to complete a draft expense. Scope: "expenses".

resumeVirtualCard

Non-null

Resume paused Virtual Card. Scope: "virtualCards".

revokeOAuthAuthorization

Non-null

Revoke an OAuth authorization. Scope: "account".

sendGuestConfirmationEmail

Non-null

Sends an email for guest to confirm their emails and create their Open Collective account

sendMessage

Send a message to an account. Scope: "account"

setChangelogViewDate

Non-null

Update the time which the user viewed the changelog updates. Scope: "account".

setEmailNotification

Set email notification subscription for requesting logged-in user

setNewsletterOptIn

Non-null

Update newsletter opt-in preference. Scope: "account".

setPassword

Non-null

Set password to Individual. Scope: "account". 2FA.

setPolicies

Non-null

Adds or removes a policy on a given account. Scope: "account".

setTags

Non-null

unpublishUpdate

Non-null

Unpublish update. Scope: "updates".

updateApplication

updateOrder

Update an Order's amount, tier, or payment method. Scope: "orders".

updatePersonalToken

updateSocialLinks

Non-null

Updates collective social links

updateWebhook

Update webhook. Scope: "webhooks".

verifyExpense

Non-null

To verify and unverified expense. Scope: "expenses".