Your Welcome title here
Chuffed.org graphql schema
License
Proprietary
Terms of Service
API Endpoints
https://chuffed.org/api/graphql
Version
1.0.0
Queries
amplifyVendors
Response
Returns [AmplifyVendor!]!
Example
Query
query amplifyVendors {
amplifyVendors {
id
label
}
}
Response
{
"data": {
"amplifyVendors": [
{"id": 4, "label": "xyz789"}
]
}
}
boostFactor
Response
Returns a BoostFactor
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
query boostFactor($id: ID!) {
boostFactor(id: $id) {
tm1 {
...BoostFactorActionFragment
}
tm2 {
...BoostFactorActionFragment
}
tm3 {
...BoostFactorActionFragment
}
pil1 {
...BoostFactorActionFragment
}
vid1 {
...BoostFactorActionFragment
}
img1 {
...BoostFactorActionFragment
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"boostFactor": {
"tm1": BoostFactorAction,
"tm2": BoostFactorAction,
"tm3": BoostFactorAction,
"pil1": BoostFactorAction,
"vid1": BoostFactorAction,
"img1": BoostFactorAction
}
}
}
campaign
Example
Query
query campaign($id: ID!) {
campaign(id: $id) {
id
title
status
financialInformation {
...FinancialInformationFragment
}
slug
target {
...MoneyNodeFragment
}
collected {
...MoneyNodeFragment
}
content
url
owner {
...UserFragment
}
ownerName
teams {
...TeamFragment
}
fundraisers {
...FundraiserConnectionFragment
}
donations {
...DonationConnectionFragment
}
regularGivings {
...RegularGivingConnectionFragment
}
assets {
...AssetFragment
}
perks {
...PerkFragment
}
amplify {
...AmplifyFragment
}
donationForm {
...DonationFormFragment
}
matchedGivings {
...MatchedGivingFragment
}
giftAid {
...GiftAidFragment
}
trackingCodes {
...CampaignTrackingCodeFragment
}
comments {
...CommentConnectionFragment
}
createdAt
settings {
...CampaignSettingsFragment
}
tax {
...CampaignTaxFragment
}
campCategory
utm {
...UTMTagsFragment
}
acquisitionSource {
...AcquisitionSourceFragment
}
duration {
...CampaignDurationFragment
}
address {
...AddressFragment
}
teamMembers {
...TeamMemberFragment
}
userImage
integrations {
...CampaignIntegrationFragment
}
amplifyStatus {
...CampaignAmplifyStatusFragment
}
isAcceptingDonations
isOptinVariant
updates {
...CampaignUpdateConnectionFragment
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"campaign": {
"id": "4",
"title": "abc123",
"status": "Live",
"financialInformation": FinancialInformation,
"slug": "abc123",
"target": MoneyNode,
"collected": MoneyNode,
"content": Markup,
"url": "http://www.test.com/",
"owner": User,
"ownerName": "abc123",
"teams": [Team],
"fundraisers": FundraiserConnection,
"donations": DonationConnection,
"regularGivings": RegularGivingConnection,
"assets": [Asset],
"perks": [Perk],
"amplify": Amplify,
"donationForm": DonationForm,
"matchedGivings": [MatchedGiving],
"giftAid": GiftAid,
"trackingCodes": [CampaignTrackingCode],
"comments": CommentConnection,
"createdAt": "2007-12-03",
"settings": CampaignSettings,
"tax": CampaignTax,
"campCategory": "xyz789",
"utm": UTMTags,
"acquisitionSource": AcquisitionSource,
"duration": CampaignDuration,
"address": Address,
"teamMembers": [TeamMember],
"userImage": "abc123",
"integrations": [CampaignIntegration],
"amplifyStatus": CampaignAmplifyStatus,
"isAcceptingDonations": true,
"isOptinVariant": false,
"updates": CampaignUpdateConnection
}
}
}
campaignAmplifyReceipts
Response
Returns a CampaignAmplifyReceiptConnection!
Example
Query
query campaignAmplifyReceipts(
$after: ID,
$campaignId: ID!,
$first: Int
) {
campaignAmplifyReceipts(
after: $after,
campaignId: $campaignId,
first: $first
) {
totalCount
pageInfo {
...PageInfoFragment
}
edges {
...CampaignAmplifyReceiptEdgeFragment
}
}
}
Variables
{"after": 4, "campaignId": 4, "first": 987}
Response
{
"data": {
"campaignAmplifyReceipts": {
"totalCount": 123,
"pageInfo": PageInfo,
"edges": [CampaignAmplifyReceiptEdge]
}
}
}
campaignComments
Response
Returns a CommentConnection!
Arguments
| Name | Description |
|---|---|
campaignId - ID!
|
|
first - Int
|
|
after - ID
|
|
before - ID
|
|
sort - [CommentSortableInput!]
|
Example
Query
query campaignComments(
$campaignId: ID!,
$first: Int,
$after: ID,
$before: ID,
$sort: [CommentSortableInput!]
) {
campaignComments(
campaignId: $campaignId,
first: $first,
after: $after,
before: $before,
sort: $sort
) {
totalCount
pageInfo {
...PageInfoFragment
}
edges {
...CommentEdgeFragment
}
}
}
Variables
{
"campaignId": 4,
"first": 987,
"after": "4",
"before": 4,
"sort": [CommentSortableInput]
}
Response
{
"data": {
"campaignComments": {
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [CommentEdge]
}
}
}
campaignUpdates
Response
Returns a CampaignUpdateConnection!
Arguments
| Name | Description |
|---|---|
campaignId - ID!
|
|
first - Int
|
|
after - ID
|
|
before - ID
|
|
sort - [CampaignUpdateSortableInput!]
|
Example
Query
query campaignUpdates(
$campaignId: ID!,
$first: Int,
$after: ID,
$before: ID,
$sort: [CampaignUpdateSortableInput!]
) {
campaignUpdates(
campaignId: $campaignId,
first: $first,
after: $after,
before: $before,
sort: $sort
) {
totalCount
pageInfo {
...PageInfoFragment
}
edges {
...CampaignUpdateEdgeFragment
}
}
}
Variables
{
"campaignId": 4,
"first": 123,
"after": "4",
"before": "4",
"sort": [CampaignUpdateSortableInput]
}
Response
{
"data": {
"campaignUpdates": {
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [CampaignUpdateEdge]
}
}
}
campaignWebhook
Example
Query
query campaignWebhook($id: ID!) {
campaignWebhook(id: $id) {
id
url
description
events {
...WebhookEventFragment
}
attempts {
...WebhookAttemptConnectionFragment
}
secret
}
}
Variables
{"id": "4"}
Response
{
"data": {
"campaignWebhook": {
"id": "4",
"url": "http://www.test.com/",
"description": "abc123",
"events": [WebhookEvent],
"attempts": WebhookAttemptConnection,
"secret": "abc123"
}
}
}
campaignWebhooks
Response
Returns [Webhook]!
Arguments
| Name | Description |
|---|---|
campaignId - ID!
|
Example
Query
query campaignWebhooks($campaignId: ID!) {
campaignWebhooks(campaignId: $campaignId) {
id
url
description
events {
...WebhookEventFragment
}
attempts {
...WebhookAttemptConnectionFragment
}
secret
}
}
Variables
{"campaignId": 4}
Response
{
"data": {
"campaignWebhooks": [
{
"id": "4",
"url": "http://www.test.com/",
"description": "abc123",
"events": [WebhookEvent],
"attempts": WebhookAttemptConnection,
"secret": "xyz789"
}
]
}
}
campaigns
Response
Returns a CampaignConnection!
Arguments
| Name | Description |
|---|---|
filter - CampaignFilterInput
|
|
first - Int
|
|
after - ID
|
Example
Query
query campaigns(
$filter: CampaignFilterInput,
$first: Int,
$after: ID
) {
campaigns(
filter: $filter,
first: $first,
after: $after
) {
totalCount
pageInfo {
...PageInfoFragment
}
edges {
...CampaignEdgeFragment
}
}
}
Variables
{"filter": CampaignFilterInput, "first": 123, "after": 4}
Response
{
"data": {
"campaigns": {
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [CampaignEdge]
}
}
}
categories
Response
Returns [Category!]!
Example
Query
query categories {
categories {
id
slug
title
mobile
display
sortOrder
campaigns {
...CampaignConnectionFragment
}
assets {
...AssetFragment
}
}
}
Response
{
"data": {
"categories": [
{
"id": 4,
"slug": "xyz789",
"title": "xyz789",
"mobile": "abc123",
"display": true,
"sortOrder": 987,
"campaigns": CampaignConnection,
"assets": [Asset]
}
]
}
}
countries
Response
Returns [Country!]!
Arguments
| Name | Description |
|---|---|
filter - CountryFilterInput
|
Example
Query
query countries($filter: CountryFilterInput) {
countries(filter: $filter) {
id
name
currency {
...CurrencyFragment
}
}
}
Variables
{"filter": CountryFilterInput}
Response
{
"data": {
"countries": [
{
"id": CountryISOCode,
"name": "xyz789",
"currency": Currency
}
]
}
}
crmAction
Example
Query
query crmAction($id: ID!) {
crmAction(id: $id) {
id
description
arguments {
...CRMActionArgumentFragment
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"crmAction": {
"id": "4",
"description": "xyz789",
"arguments": [CRMActionArgument]
}
}
}
crmActions
Response
Returns [CRMAction!]!
Example
Query
query crmActions {
crmActions {
id
description
arguments {
...CRMActionArgumentFragment
}
}
}
Response
{
"data": {
"crmActions": [
{
"id": 4,
"description": "xyz789",
"arguments": [CRMActionArgument]
}
]
}
}
currencies
Response
Returns [Currency!]!
Example
Query
query currencies {
currencies {
key
name
symbol
fractional
conversions {
...CurrencyConversionFragment
}
}
}
Response
{
"data": {
"currencies": [
{
"key": CurrencyISOCode,
"name": "xyz789",
"symbol": "abc123",
"fractional": "xyz789",
"conversions": [CurrencyConversion]
}
]
}
}
currency
Response
Returns a Currency
Arguments
| Name | Description |
|---|---|
id - CurrencyISOCode!
|
Example
Query
query currency($id: CurrencyISOCode!) {
currency(id: $id) {
key
name
symbol
fractional
conversions {
...CurrencyConversionFragment
}
}
}
Variables
{"id": CurrencyISOCode}
Response
{
"data": {
"currency": {
"key": CurrencyISOCode,
"name": "xyz789",
"symbol": "xyz789",
"fractional": "xyz789",
"conversions": [CurrencyConversion]
}
}
}
disputes
Response
Returns a DisputeConnection!
Example
Query
query disputes {
disputes {
totalCount
pageInfo {
...PageInfoFragment
}
edges {
...DisputeEdgeFragment
}
}
}
Response
{
"data": {
"disputes": {
"totalCount": 123,
"pageInfo": PageInfo,
"edges": [DisputeEdge]
}
}
}
donation
Example
Query
query donation($id: ID!) {
donation(id: $id) {
id
hashId
user {
...UserFragment
}
amount {
...MoneyNodeFragment
}
name
address {
...AddressFragment
}
createdAt
source
status
visibility
receipt {
...AssetFragment
}
campaign {
...CampaignFragment
}
fundraiser {
...FundraiserFragment
}
perk {
...ClaimedPerkFragment
}
paymentMethod {
...UserPaymentMethodFragment
}
regularGiving {
...RegularGivingFragment
}
tracking {
...CampaignTrackingCodeFragment
}
utm {
...UTMTagsFragment
}
ipAddress
isRefunded
giftAid {
...GiftAidFragment
}
regularGivingOccurrence
}
}
Variables
{"id": 4}
Response
{
"data": {
"donation": {
"id": 4,
"hashId": 4,
"user": User,
"amount": MoneyNode,
"name": "xyz789",
"address": Address,
"createdAt": "2007-12-03",
"source": "Online",
"status": "Confirmed",
"visibility": "Anonymous",
"receipt": Asset,
"campaign": Campaign,
"fundraiser": Fundraiser,
"perk": ClaimedPerk,
"paymentMethod": UserPaymentMethod,
"regularGiving": RegularGiving,
"tracking": CampaignTrackingCode,
"utm": UTMTags,
"ipAddress": IPAddress,
"isRefunded": true,
"giftAid": GiftAid,
"regularGivingOccurrence": 123
}
}
}
donationFee
Response
Returns a DonationFee
Arguments
| Name | Description |
|---|---|
input - DonationFeeInput!
|
Example
Query
query donationFee($input: DonationFeeInput!) {
donationFee(input: $input) {
fee {
...MoneyNodeFragment
}
tip {
...MoneyNodeFragment
}
donation {
...MoneyNodeFragment
}
totalPaid {
...MoneyNodeFragment
}
totalReceived {
...MoneyNodeFragment
}
}
}
Variables
{"input": DonationFeeInput}
Response
{
"data": {
"donationFee": {
"fee": MoneyNode,
"tip": MoneyNode,
"donation": MoneyNode,
"totalPaid": MoneyNode,
"totalReceived": MoneyNode
}
}
}
donations
Response
Returns a DonationConnection!
Arguments
| Name | Description |
|---|---|
filter - DonationFilterInput
|
|
first - Int
|
|
after - ID
|
|
sort - [DonationSortableInput!]
|
Example
Query
query donations(
$filter: DonationFilterInput,
$first: Int,
$after: ID,
$sort: [DonationSortableInput!]
) {
donations(
filter: $filter,
first: $first,
after: $after,
sort: $sort
) {
totalCount
pageInfo {
...PageInfoFragment
}
edges {
...DonationEdgeFragment
}
}
}
Variables
{
"filter": DonationFilterInput,
"first": 987,
"after": 4,
"sort": [DonationSortableInput]
}
Response
{
"data": {
"donations": {
"totalCount": 123,
"pageInfo": PageInfo,
"edges": [DonationEdge]
}
}
}
feeStructure
Response
Returns a FeeStructure
Arguments
| Name | Description |
|---|---|
country - CountryISOCode!
|
Example
Query
query feeStructure($country: CountryISOCode!) {
feeStructure(country: $country) {
country {
...CountryFragment
}
currency {
...CurrencyFragment
}
state
}
}
Variables
{"country": CountryISOCode}
Response
{
"data": {
"feeStructure": {
"country": Country,
"currency": Currency,
"state": Object
}
}
}
fundraiser
Response
Returns a Fundraiser
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
query fundraiser($id: ID!) {
fundraiser(id: $id) {
id
campaign {
...CampaignFragment
}
status
team {
...TeamFragment
}
owner {
...UserFragment
}
title
content
slug
target {
...MoneyNodeFragment
}
collected {
...MoneyNodeFragment
}
video
url
donations {
...DonationConnectionFragment
}
assets {
...AssetFragment
}
fundraiserName
fundraiserEmail
fundraiserProfile
}
}
Variables
{"id": "4"}
Response
{
"data": {
"fundraiser": {
"id": 4,
"campaign": Campaign,
"status": "Draft",
"team": Team,
"owner": User,
"title": "xyz789",
"content": Markup,
"slug": "abc123",
"target": MoneyNode,
"collected": MoneyNode,
"video": "http://www.test.com/",
"url": "http://www.test.com/",
"donations": DonationConnection,
"assets": [Asset],
"fundraiserName": "abc123",
"fundraiserEmail": Email,
"fundraiserProfile": "http://www.test.com/"
}
}
}
landingPages
Response
Returns a LandingPageConnection!
Arguments
| Name | Description |
|---|---|
filter - LandingPageFilterInput
|
|
first - Int
|
|
after - ID
|
Example
Query
query landingPages(
$filter: LandingPageFilterInput,
$first: Int,
$after: ID
) {
landingPages(
filter: $filter,
first: $first,
after: $after
) {
totalCount
pageInfo {
...PageInfoFragment
}
edges {
...LandingPageEdgeFragment
}
}
}
Variables
{
"filter": LandingPageFilterInput,
"first": 987,
"after": "4"
}
Response
{
"data": {
"landingPages": {
"totalCount": 123,
"pageInfo": PageInfo,
"edges": [LandingPageEdge]
}
}
}
languages
Response
Returns [Language!]!
Example
Query
query languages {
languages {
id
csvFileUrl
jsonFileUrl
}
}
Response
{
"data": {
"languages": [
{
"id": "4",
"csvFileUrl": "http://www.test.com/",
"jsonFileUrl": "http://www.test.com/"
}
]
}
}
movement
Example
Query
query movement($id: ID!) {
movement(id: $id) {
id
title
heading
description
slug
}
}
Variables
{"id": "4"}
Response
{
"data": {
"movement": {
"id": "4",
"title": "xyz789",
"heading": "xyz789",
"description": "abc123",
"slug": "abc123"
}
}
}
movements
Response
Returns a MovementConnection!
Example
Query
query movements(
$first: Int,
$after: ID
) {
movements(
first: $first,
after: $after
) {
totalCount
pageInfo {
...PageInfoFragment
}
edges {
...MovementEdgeFragment
}
}
}
Variables
{"first": 123, "after": "4"}
Response
{
"data": {
"movements": {
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [MovementEdge]
}
}
}
paymentPrefill
Response
Returns a RegularGiving
Arguments
| Name | Description |
|---|---|
input - PaymentPrefillInput!
|
Example
Query
query paymentPrefill($input: PaymentPrefillInput!) {
paymentPrefill(input: $input) {
id
donations {
...DonationConnectionFragment
}
frequency
user {
...UserFragment
}
campaign {
...CampaignFragment
}
fundraiser {
...FundraiserFragment
}
status
nextPaymentAt
startAt
endAt
lastDonationAt
amount {
...MoneyNodeFragment
}
optionalDonation {
...MoneyNodeFragment
}
fees {
...MoneyNodeFragment
}
perk {
...ClaimedPerkFragment
}
paymentMethod {
...UserPaymentMethodFragment
}
schedules {
...ScheduleFragment
}
}
}
Variables
{"input": PaymentPrefillInput}
Response
{
"data": {
"paymentPrefill": {
"id": 4,
"donations": DonationConnection,
"frequency": "Weekly",
"user": User,
"campaign": Campaign,
"fundraiser": Fundraiser,
"status": "Created",
"nextPaymentAt": "2007-12-03",
"startAt": "2007-12-03",
"endAt": "2007-12-03",
"lastDonationAt": "2007-12-03",
"amount": MoneyNode,
"optionalDonation": MoneyNode,
"fees": MoneyNode,
"perk": ClaimedPerk,
"paymentMethod": UserPaymentMethod,
"schedules": [Schedule]
}
}
}
perk
Example
Query
query perk($id: ID!) {
perk(id: $id) {
id
campaign {
...CampaignFragment
}
title
amount {
...MoneyNodeFragment
}
description
useImage
assets {
...AssetFragment
}
delivery
questions {
...PerkQuestionFragment
}
isQuestionEnabled
isPublished
isHidden
quantity {
...PerkQuantityFragment
}
frequency {
...PerkRedemptionFrequencyFragment
}
allowMultiple
}
}
Variables
{"id": "4"}
Response
{
"data": {
"perk": {
"id": "4",
"campaign": Campaign,
"title": "xyz789",
"amount": MoneyNode,
"description": "xyz789",
"useImage": true,
"assets": [Asset],
"delivery": "xyz789",
"questions": [PerkQuestion],
"isQuestionEnabled": false,
"isPublished": false,
"isHidden": false,
"quantity": PerkQuantity,
"frequency": PerkRedemptionFrequency,
"allowMultiple": true
}
}
}
recipient
Example
Query
query recipient(
$type: String!,
$id: ID!
) {
recipient(
type: $type,
id: $id
) {
id
url
title
assets {
...AssetFragment
}
}
}
Variables
{"type": "abc123", "id": 4}
Response
{
"data": {
"recipient": {
"id": "4",
"url": "http://www.test.com/",
"title": "abc123",
"assets": [Asset]
}
}
}
regularGiving
Response
Returns a RegularGiving
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
query regularGiving($id: ID!) {
regularGiving(id: $id) {
id
donations {
...DonationConnectionFragment
}
frequency
user {
...UserFragment
}
campaign {
...CampaignFragment
}
fundraiser {
...FundraiserFragment
}
status
nextPaymentAt
startAt
endAt
lastDonationAt
amount {
...MoneyNodeFragment
}
optionalDonation {
...MoneyNodeFragment
}
fees {
...MoneyNodeFragment
}
perk {
...ClaimedPerkFragment
}
paymentMethod {
...UserPaymentMethodFragment
}
schedules {
...ScheduleFragment
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"regularGiving": {
"id": "4",
"donations": DonationConnection,
"frequency": "Weekly",
"user": User,
"campaign": Campaign,
"fundraiser": Fundraiser,
"status": "Created",
"nextPaymentAt": "2007-12-03",
"startAt": "2007-12-03",
"endAt": "2007-12-03",
"lastDonationAt": "2007-12-03",
"amount": MoneyNode,
"optionalDonation": MoneyNode,
"fees": MoneyNode,
"perk": ClaimedPerk,
"paymentMethod": UserPaymentMethod,
"schedules": [Schedule]
}
}
}
regularGivingFrequencyDates
Response
Returns [RegularGivingFrequencyDate!]!
Arguments
| Name | Description |
|---|---|
date - Date
|
Example
Query
query regularGivingFrequencyDates($date: Date) {
regularGivingFrequencyDates(date: $date) {
frequency
nextPaymentAt
}
}
Variables
{"date": "2007-12-03"}
Response
{
"data": {
"regularGivingFrequencyDates": [
{
"frequency": "Weekly",
"nextPaymentAt": "2007-12-03"
}
]
}
}
settings
Response
Returns a Settings!
Example
Query
query settings {
settings {
vendor {
...SettingsVendorFragment
}
}
}
Response
{"data": {"settings": {"vendor": SettingsVendor}}}
survey
Example
Query
query survey($id: ID!) {
survey(id: $id) {
id
campaign {
...CampaignFragment
}
netPromoterScore
bestExperience
worstExperience
isCompleted
triggeredBy
}
}
Variables
{"id": 4}
Response
{
"data": {
"survey": {
"id": "4",
"campaign": Campaign,
"netPromoterScore": 987,
"bestExperience": "xyz789",
"worstExperience": "abc123",
"isCompleted": true,
"triggeredBy": "CampaignCompleted"
}
}
}
translationKeys
Response
Returns [TranslationKey!]!
Example
Query
query translationKeys {
translationKeys {
id
}
}
Response
{"data": {"translationKeys": [{"id": 4}]}}
translations
Response
Returns [Translation!]!
Arguments
| Name | Description |
|---|---|
languageId - ID!
|
Example
Query
query translations($languageId: ID!) {
translations(languageId: $languageId) {
key {
...TranslationKeyFragment
}
language {
...LanguageFragment
}
translation
}
}
Variables
{"languageId": 4}
Response
{
"data": {
"translations": [
{
"key": TranslationKey,
"language": Language,
"translation": "abc123"
}
]
}
}
user
Example
Query
query user($id: ID!) {
user(id: $id) {
id
email
title
firstName
lastName
phone
address {
...AddressFragment
}
profileImage
isAdmin
isVerified
isAutoApproved
donations {
...DonationConnectionFragment
}
regularGivings {
...RegularGivingFragment
}
paymentMethods {
...UserPaymentMethodFragment
}
comments {
...CommentConnectionFragment
}
totalsByCurrency {
...DonationTotalSummaryFragment
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"user": {
"id": 4,
"email": Email,
"title": "abc123",
"firstName": "abc123",
"lastName": "xyz789",
"phone": Phone,
"address": Address,
"profileImage": "http://www.test.com/",
"isAdmin": true,
"isVerified": false,
"isAutoApproved": false,
"donations": DonationConnection,
"regularGivings": [RegularGiving],
"paymentMethods": [UserPaymentMethod],
"comments": CommentConnection,
"totalsByCurrency": DonationTotalSummary
}
}
}
userExists
Response
Returns a UserExistsPayload!
Arguments
| Name | Description |
|---|---|
email - Email!
|
Example
Query
query userExists($email: Email!) {
userExists(email: $email) {
ok
}
}
Variables
{"email": Email}
Response
{"data": {"userExists": {"ok": true}}}
users
Response
Returns a UserConnection!
Arguments
| Name | Description |
|---|---|
filter - UserFilterInput
|
|
first - Int
|
|
after - ID
|
Example
Query
query users(
$filter: UserFilterInput,
$first: Int,
$after: ID
) {
users(
filter: $filter,
first: $first,
after: $after
) {
totalCount
pageInfo {
...PageInfoFragment
}
edges {
...UserEdgeFragment
}
}
}
Variables
{"filter": UserFilterInput, "first": 987, "after": 4}
Response
{
"data": {
"users": {
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [UserEdge]
}
}
}
viewer
Response
Returns a User
Example
Query
query viewer {
viewer {
id
email
title
firstName
lastName
phone
address {
...AddressFragment
}
profileImage
isAdmin
isVerified
isAutoApproved
donations {
...DonationConnectionFragment
}
regularGivings {
...RegularGivingFragment
}
paymentMethods {
...UserPaymentMethodFragment
}
comments {
...CommentConnectionFragment
}
totalsByCurrency {
...DonationTotalSummaryFragment
}
}
}
Response
{
"data": {
"viewer": {
"id": "4",
"email": Email,
"title": "abc123",
"firstName": "abc123",
"lastName": "xyz789",
"phone": Phone,
"address": Address,
"profileImage": "http://www.test.com/",
"isAdmin": false,
"isVerified": true,
"isAutoApproved": true,
"donations": DonationConnection,
"regularGivings": [RegularGiving],
"paymentMethods": [UserPaymentMethod],
"comments": CommentConnection,
"totalsByCurrency": DonationTotalSummary
}
}
}
webhooks
Response
Returns [Webhook!]!
Example
Query
query webhooks {
webhooks {
id
url
description
events {
...WebhookEventFragment
}
attempts {
...WebhookAttemptConnectionFragment
}
secret
}
}
Response
{
"data": {
"webhooks": [
{
"id": "4",
"url": "http://www.test.com/",
"description": "xyz789",
"events": [WebhookEvent],
"attempts": WebhookAttemptConnection,
"secret": "abc123"
}
]
}
}
Mutations
approveCampaign
Response
Returns an ApproveCampaignPayload
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
mutation approveCampaign($id: ID!) {
approveCampaign(id: $id) {
campaign {
...CampaignFragment
}
}
}
Variables
{"id": "4"}
Response
{"data": {"approveCampaign": {"campaign": Campaign}}}
associateAsset
Response
Returns an AssociateAssetPayload
Arguments
| Name | Description |
|---|---|
input - AssociateAssetInput!
|
Example
Query
mutation associateAsset($input: AssociateAssetInput!) {
associateAsset(input: $input) {
asset {
...AssetFragment
}
assetsOwner {
...AssetsOwnerFragment
}
}
}
Variables
{"input": AssociateAssetInput}
Response
{
"data": {
"associateAsset": {
"asset": Asset,
"assetsOwner": AssetsOwner
}
}
}
associateCampaignAsset
Response
Returns an AssociateCampaignAssetPayload
Arguments
| Name | Description |
|---|---|
input - AssociateCampaignAssetInput!
|
Example
Query
mutation associateCampaignAsset($input: AssociateCampaignAssetInput!) {
associateCampaignAsset(input: $input) {
asset {
...AssetFragment
}
campaign {
...CampaignFragment
}
}
}
Variables
{"input": AssociateCampaignAssetInput}
Response
{
"data": {
"associateCampaignAsset": {
"asset": Asset,
"campaign": Campaign
}
}
}
associateDonationPerk
Response
Returns an AssociateDonationPerkPayload
Arguments
| Name | Description |
|---|---|
input - AssociateDonationPerkInput!
|
Example
Query
mutation associateDonationPerk($input: AssociateDonationPerkInput!) {
associateDonationPerk(input: $input) {
donation {
...DonationFragment
}
perk {
...PerkFragment
}
}
}
Variables
{"input": AssociateDonationPerkInput}
Response
{
"data": {
"associateDonationPerk": {
"donation": Donation,
"perk": Perk
}
}
}
attachWebhookEvent
Response
Returns an AttachWebhookEventPayload
Arguments
| Name | Description |
|---|---|
input - AttachWebhookEventInput!
|
Example
Query
mutation attachWebhookEvent($input: AttachWebhookEventInput!) {
attachWebhookEvent(input: $input) {
webhook {
...WebhookFragment
}
}
}
Variables
{"input": AttachWebhookEventInput}
Response
{"data": {"attachWebhookEvent": {"webhook": Webhook}}}
cancelRegularGiving
Response
Returns a CancelRegularGivingPayload
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
mutation cancelRegularGiving($id: ID!) {
cancelRegularGiving(id: $id) {
regularGiving {
...RegularGivingFragment
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"cancelRegularGiving": {
"regularGiving": RegularGiving
}
}
}
changeBacsCapabilityByCampaign
Response
Returns a ChangeCampaignBacsCapabilityPayload
Example
Query
mutation changeBacsCapabilityByCampaign(
$id: ID!,
$enabled: Boolean!
) {
changeBacsCapabilityByCampaign(
id: $id,
enabled: $enabled
) {
ok
message
}
}
Variables
{"id": "4", "enabled": true}
Response
{
"data": {
"changeBacsCapabilityByCampaign": {
"ok": false,
"message": "abc123"
}
}
}
changeBacsCapabilityByUser
Response
Returns a ChangeUserBacsCapabilityPayload
Example
Query
mutation changeBacsCapabilityByUser(
$userId: ID!,
$enabled: Boolean!
) {
changeBacsCapabilityByUser(
userId: $userId,
enabled: $enabled
) {
ok
bacsAutoEnabled
campaignErrors
successfulCampaigns
}
}
Variables
{"userId": "4", "enabled": false}
Response
{
"data": {
"changeBacsCapabilityByUser": {
"ok": true,
"bacsAutoEnabled": false,
"campaignErrors": ["abc123"],
"successfulCampaigns": ["4"]
}
}
}
changeDonationRecipient
Response
Returns a ChangeDonationRecipientPayload
Arguments
| Name | Description |
|---|---|
input - ChangeDonationRecipientInput!
|
Example
Query
mutation changeDonationRecipient($input: ChangeDonationRecipientInput!) {
changeDonationRecipient(input: $input) {
donation {
...DonationFragment
}
}
}
Variables
{"input": ChangeDonationRecipientInput}
Response
{
"data": {
"changeDonationRecipient": {"donation": Donation}
}
}
changeRegularGivingRecipient
Response
Returns a ChangeRegularGivingRecipientPayload
Arguments
| Name | Description |
|---|---|
input - ChangeRegularGivingRecipientInput!
|
Example
Query
mutation changeRegularGivingRecipient($input: ChangeRegularGivingRecipientInput!) {
changeRegularGivingRecipient(input: $input) {
regularGiving {
...RegularGivingFragment
}
}
}
Variables
{"input": ChangeRegularGivingRecipientInput}
Response
{
"data": {
"changeRegularGivingRecipient": {
"regularGiving": RegularGiving
}
}
}
completeSurvey
Response
Returns a CompleteSurveyPayload
Arguments
| Name | Description |
|---|---|
input - CompleteSurveyInput!
|
Example
Query
mutation completeSurvey($input: CompleteSurveyInput!) {
completeSurvey(input: $input) {
survey {
...SurveyFragment
}
}
}
Variables
{"input": CompleteSurveyInput}
Response
{"data": {"completeSurvey": {"survey": Survey}}}
confirmVerificationCode
Response
Returns a ConfirmVerificationCodePayload
Arguments
| Name | Description |
|---|---|
input - ConfirmVerificationCodeInput!
|
Example
Query
mutation confirmVerificationCode($input: ConfirmVerificationCodeInput!) {
confirmVerificationCode(input: $input) {
verified
}
}
Variables
{"input": ConfirmVerificationCodeInput}
Response
{"data": {"confirmVerificationCode": {"verified": true}}}
createAmplifyVendorCampaign
Response
Returns a CreateAmplifyVendorCampaignPayload
Arguments
| Name | Description |
|---|---|
input - CreateAmplifyVendorCampaignInput!
|
Example
Query
mutation createAmplifyVendorCampaign($input: CreateAmplifyVendorCampaignInput!) {
createAmplifyVendorCampaign(input: $input) {
advert {
...AmplifyVendorCampaignFragment
}
}
}
Variables
{"input": CreateAmplifyVendorCampaignInput}
Response
{
"data": {
"createAmplifyVendorCampaign": {
"advert": AmplifyVendorCampaign
}
}
}
createAsset
Response
Returns a CreateAssetPayload
Arguments
| Name | Description |
|---|---|
input - CreateAssetInput!
|
Example
Query
mutation createAsset($input: CreateAssetInput!) {
createAsset(input: $input) {
asset {
...AssetFragment
}
}
}
Variables
{"input": CreateAssetInput}
Response
{"data": {"createAsset": {"asset": Asset}}}
createCampaign
Response
Returns a CreateCampaignPayload
Arguments
| Name | Description |
|---|---|
input - CreateCampaignInput!
|
Example
Query
mutation createCampaign($input: CreateCampaignInput!) {
createCampaign(input: $input) {
campaign {
...CampaignFragment
}
}
}
Variables
{"input": CreateCampaignInput}
Response
{"data": {"createCampaign": {"campaign": Campaign}}}
createCampaignAmplifyReceipt
Response
Returns a CampaignAmplifyReceiptPayload
Arguments
| Name | Description |
|---|---|
input - CreateCampaignAmplifyReceiptInput!
|
Example
Query
mutation createCampaignAmplifyReceipt($input: CreateCampaignAmplifyReceiptInput!) {
createCampaignAmplifyReceipt(input: $input) {
receipt {
...CampaignAmplifyReceiptFragment
}
}
}
Variables
{"input": CreateCampaignAmplifyReceiptInput}
Response
{
"data": {
"createCampaignAmplifyReceipt": {
"receipt": CampaignAmplifyReceipt
}
}
}
createCampaignTrackingCode
Response
Returns a CreateCampaignTrackingCodePayload
Arguments
| Name | Description |
|---|---|
input - CreateCampaignTrackingCodeInput!
|
Example
Query
mutation createCampaignTrackingCode($input: CreateCampaignTrackingCodeInput!) {
createCampaignTrackingCode(input: $input) {
trackingCode {
...CampaignTrackingCodeFragment
}
}
}
Variables
{"input": CreateCampaignTrackingCodeInput}
Response
{
"data": {
"createCampaignTrackingCode": {
"trackingCode": CampaignTrackingCode
}
}
}
createCampaignUpdate
Response
Returns a CreateCampaignUpdatePayload
Arguments
| Name | Description |
|---|---|
input - CreateCampaignUpdateInput!
|
Example
Query
mutation createCampaignUpdate($input: CreateCampaignUpdateInput!) {
createCampaignUpdate(input: $input) {
ok
campaignId
}
}
Variables
{"input": CreateCampaignUpdateInput}
Response
{"data": {"createCampaignUpdate": {"ok": false, "campaignId": 4}}}
createCampaignWebhook
Response
Returns a CreateWebhookPayload
Arguments
| Name | Description |
|---|---|
input - CreateCampaignWebhookInput!
|
Example
Query
mutation createCampaignWebhook($input: CreateCampaignWebhookInput!) {
createCampaignWebhook(input: $input) {
webhook {
...WebhookFragment
}
}
}
Variables
{"input": CreateCampaignWebhookInput}
Response
{"data": {"createCampaignWebhook": {"webhook": Webhook}}}
createDirectDebit
Response
Returns a CreateDirectDebitPayload
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
mutation createDirectDebit($id: ID!) {
createDirectDebit(id: $id) {
session
customer
}
}
Variables
{"id": 4}
Response
{
"data": {
"createDirectDebit": {
"session": "abc123",
"customer": "xyz789"
}
}
}
createDirectDebitRegularGiving
Response
Returns a CreateDirectDebitRegularGivingPayload
Arguments
| Name | Description |
|---|---|
input - CreateDirectDebitRegularGivingInput!
|
Example
Query
mutation createDirectDebitRegularGiving($input: CreateDirectDebitRegularGivingInput!) {
createDirectDebitRegularGiving(input: $input) {
session
customer
}
}
Variables
{"input": CreateDirectDebitRegularGivingInput}
Response
{
"data": {
"createDirectDebitRegularGiving": {
"session": "xyz789",
"customer": "xyz789"
}
}
}
createFundraiser
Response
Returns a CreateFundraiserPayload
Arguments
| Name | Description |
|---|---|
input - CreateFundraiserInput!
|
Example
Query
mutation createFundraiser($input: CreateFundraiserInput!) {
createFundraiser(input: $input) {
fundraiser {
...FundraiserFragment
}
}
}
Variables
{"input": CreateFundraiserInput}
Response
{"data": {"createFundraiser": {"fundraiser": Fundraiser}}}
createLandingPage
Response
Returns a CreateLandingPagePayload
Arguments
| Name | Description |
|---|---|
input - CreateLandingPageInput!
|
Example
Query
mutation createLandingPage($input: CreateLandingPageInput!) {
createLandingPage(input: $input) {
landingPage {
...LandingPageFragment
}
}
}
Variables
{"input": CreateLandingPageInput}
Response
{
"data": {
"createLandingPage": {"landingPage": LandingPage}
}
}
createMovement
Response
Returns a CreateMovementPayload
Arguments
| Name | Description |
|---|---|
input - CreateMovementInput!
|
Example
Query
mutation createMovement($input: CreateMovementInput!) {
createMovement(input: $input) {
movement {
...MovementFragment
}
}
}
Variables
{"input": CreateMovementInput}
Response
{"data": {"createMovement": {"movement": Movement}}}
createOfflineDonation
Response
Returns a CreateOfflineDonationPayload
Arguments
| Name | Description |
|---|---|
input - CreateOfflineDonationInput!
|
Example
Query
mutation createOfflineDonation($input: CreateOfflineDonationInput!) {
createOfflineDonation(input: $input) {
donation {
...DonationFragment
}
}
}
Variables
{"input": CreateOfflineDonationInput}
Response
{
"data": {
"createOfflineDonation": {"donation": Donation}
}
}
createSetupIntentRegularGiving
Response
Returns a CreateSetupIntentRegularGivingPayload
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
mutation createSetupIntentRegularGiving($id: ID!) {
createSetupIntentRegularGiving(id: $id) {
regularGiving {
...RegularGivingFragment
}
token
}
}
Variables
{"id": "4"}
Response
{
"data": {
"createSetupIntentRegularGiving": {
"regularGiving": RegularGiving,
"token": 4
}
}
}
createTeam
Response
Returns a CreateTeamPayload
Arguments
| Name | Description |
|---|---|
input - CreateTeamInput!
|
Example
Query
mutation createTeam($input: CreateTeamInput!) {
createTeam(input: $input) {
team {
...TeamFragment
}
}
}
Variables
{"input": CreateTeamInput}
Response
{"data": {"createTeam": {"team": Team}}}
createTranslationKeys
Response
Returns a CreateTranslationKeysPayload
Arguments
| Name | Description |
|---|---|
id - [ID!]!
|
Example
Query
mutation createTranslationKeys($id: [ID!]!) {
createTranslationKeys(id: $id) {
keys {
...TranslationKeyFragment
}
}
}
Variables
{"id": ["4"]}
Response
{
"data": {
"createTranslationKeys": {"keys": [TranslationKey]}
}
}
createTranslationLanguage
Response
Returns a CreateTranslationLanguagePayload
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
mutation createTranslationLanguage($id: ID!) {
createTranslationLanguage(id: $id) {
language {
...LanguageFragment
}
}
}
Variables
{"id": "4"}
Response
{
"data": {
"createTranslationLanguage": {"language": Language}
}
}
createVerificationCode
Response
Returns a CreateVerificationCodePayload
Arguments
| Name | Description |
|---|---|
input - CreateVerificationCodeInput!
|
Example
Query
mutation createVerificationCode($input: CreateVerificationCodeInput!) {
createVerificationCode(input: $input) {
key
nextCodeAt
}
}
Variables
{"input": CreateVerificationCodeInput}
Response
{
"data": {
"createVerificationCode": {
"key": "abc123",
"nextCodeAt": "abc123"
}
}
}
createWebhook
Response
Returns a CreateWebhookPayload
Arguments
| Name | Description |
|---|---|
input - CreateWebhookInput!
|
Example
Query
mutation createWebhook($input: CreateWebhookInput!) {
createWebhook(input: $input) {
webhook {
...WebhookFragment
}
}
}
Variables
{"input": CreateWebhookInput}
Response
{"data": {"createWebhook": {"webhook": Webhook}}}
deleteAsset
Response
Returns a DeleteAssetPayload
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
mutation deleteAsset($id: ID!) {
deleteAsset(id: $id) {
asset {
...AssetFragment
}
}
}
Variables
{"id": 4}
Response
{"data": {"deleteAsset": {"asset": Asset}}}
deleteCampaign
Response
Returns a DeleteCampaignPayload
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
mutation deleteCampaign($id: ID!) {
deleteCampaign(id: $id) {
ok
}
}
Variables
{"id": 4}
Response
{"data": {"deleteCampaign": {"ok": false}}}
deleteCampaignUpdate
Response
Returns a DeleteCampaignUpdatePayload
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
mutation deleteCampaignUpdate($id: ID!) {
deleteCampaignUpdate(id: $id) {
ok
}
}
Variables
{"id": 4}
Response
{"data": {"deleteCampaignUpdate": {"ok": true}}}
deleteCampaignWebhook
Response
Returns a DeleteCampaignWebhookPayload
Arguments
| Name | Description |
|---|---|
input - DeleteCampaignWebhookInput!
|
Example
Query
mutation deleteCampaignWebhook($input: DeleteCampaignWebhookInput!) {
deleteCampaignWebhook(input: $input) {
ok
}
}
Variables
{"input": DeleteCampaignWebhookInput}
Response
{"data": {"deleteCampaignWebhook": {"ok": false}}}
deleteOfflineDonation
Response
Returns a DeleteOfflineDonationPayload
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
mutation deleteOfflineDonation($id: ID!) {
deleteOfflineDonation(id: $id) {
donation {
...DonationFragment
}
}
}
Variables
{"id": "4"}
Response
{
"data": {
"deleteOfflineDonation": {"donation": Donation}
}
}
deleteUser
Response
Returns a DeleteUserPayload
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
mutation deleteUser($id: ID!) {
deleteUser(id: $id) {
ok
}
}
Variables
{"id": 4}
Response
{"data": {"deleteUser": {"ok": true}}}
disassociateAsset
Response
Returns a DisassociateAssetPayload
Arguments
| Name | Description |
|---|---|
input - DisassociateAssetInput!
|
Example
Query
mutation disassociateAsset($input: DisassociateAssetInput!) {
disassociateAsset(input: $input) {
asset {
...AssetFragment
}
assetsOwner {
...AssetsOwnerFragment
}
}
}
Variables
{"input": DisassociateAssetInput}
Response
{
"data": {
"disassociateAsset": {
"asset": Asset,
"assetsOwner": AssetsOwner
}
}
}
disassociateCampaignAsset
Response
Returns a DisassociateCampaignAssetPayload
Arguments
| Name | Description |
|---|---|
input - DisassociateCampaignAssetInput!
|
Example
Query
mutation disassociateCampaignAsset($input: DisassociateCampaignAssetInput!) {
disassociateCampaignAsset(input: $input) {
asset {
...AssetFragment
}
campaign {
...CampaignFragment
}
}
}
Variables
{"input": DisassociateCampaignAssetInput}
Response
{
"data": {
"disassociateCampaignAsset": {
"asset": Asset,
"campaign": Campaign
}
}
}
disassociateDonationPerk
Response
Returns a DisassociateDonationPerkPayload
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
mutation disassociateDonationPerk($id: ID!) {
disassociateDonationPerk(id: $id) {
donation {
...DonationFragment
}
perk {
...PerkFragment
}
}
}
Variables
{"id": "4"}
Response
{
"data": {
"disassociateDonationPerk": {
"donation": Donation,
"perk": Perk
}
}
}
dispatchCampaignAmplifyReceipts
Response
Returns a DispatchCampaignAmplifyReceiptsPayload
Arguments
| Name | Description |
|---|---|
input - DispatchCampaignAmplifyReceiptsInput!
|
Example
Query
mutation dispatchCampaignAmplifyReceipts($input: DispatchCampaignAmplifyReceiptsInput!) {
dispatchCampaignAmplifyReceipts(input: $input) {
receipts {
...CampaignAmplifyReceiptFragment
}
}
}
Variables
{"input": DispatchCampaignAmplifyReceiptsInput}
Response
{
"data": {
"dispatchCampaignAmplifyReceipts": {
"receipts": [CampaignAmplifyReceipt]
}
}
}
dispatchEvent
Response
Returns a DispatchEventPayload
Arguments
| Name | Description |
|---|---|
input - DispatchEventInput!
|
Example
Query
mutation dispatchEvent($input: DispatchEventInput!) {
dispatchEvent(input: $input) {
ok
}
}
Variables
{"input": DispatchEventInput}
Response
{"data": {"dispatchEvent": {"ok": true}}}
executeCRMAction
Response
Returns an ExecuteCRMActionPayload
Arguments
| Name | Description |
|---|---|
input - ExecuteCRMActionInput!
|
Example
Query
mutation executeCRMAction($input: ExecuteCRMActionInput!) {
executeCRMAction(input: $input) {
message
status
context
}
}
Variables
{"input": ExecuteCRMActionInput}
Response
{
"data": {
"executeCRMAction": {
"message": "xyz789",
"status": "Success",
"context": Object
}
}
}
importTranslation
Response
Returns an ImportTranslationPayload
Arguments
| Name | Description |
|---|---|
input - ImportTranslationInput!
|
Example
Query
mutation importTranslation($input: ImportTranslationInput!) {
importTranslation(input: $input) {
accepted
}
}
Variables
{"input": ImportTranslationInput}
Response
{"data": {"importTranslation": {"accepted": true}}}
launchCampaign
Response
Returns a LaunchCampaignPayload
Arguments
| Name | Description |
|---|---|
input - LaunchCampaignInput!
|
Example
Query
mutation launchCampaign($input: LaunchCampaignInput!) {
launchCampaign(input: $input) {
campaign {
...CampaignFragment
}
}
}
Variables
{"input": LaunchCampaignInput}
Response
{"data": {"launchCampaign": {"campaign": Campaign}}}
linkCampaignTrackingCodeToAmplifyCampaign
Response
Arguments
| Name | Description |
|---|---|
input - LinkCampaignTrackingCodeToAmplifyCampaignInput!
|
Example
Query
mutation linkCampaignTrackingCodeToAmplifyCampaign($input: LinkCampaignTrackingCodeToAmplifyCampaignInput!) {
linkCampaignTrackingCodeToAmplifyCampaign(input: $input) {
trackingCode {
...CampaignTrackingCodeFragment
}
}
}
Variables
{"input": LinkCampaignTrackingCodeToAmplifyCampaignInput}
Response
{
"data": {
"linkCampaignTrackingCodeToAmplifyCampaign": {
"trackingCode": CampaignTrackingCode
}
}
}
linkFundraiserTeam
Response
Returns a LinkFundraiserTeamPayload
Arguments
| Name | Description |
|---|---|
input - LinkFundraiserTeamInput!
|
Example
Query
mutation linkFundraiserTeam($input: LinkFundraiserTeamInput!) {
linkFundraiserTeam(input: $input) {
team {
...TeamFragment
}
fundraiser {
...FundraiserFragment
}
}
}
Variables
{"input": LinkFundraiserTeamInput}
Response
{
"data": {
"linkFundraiserTeam": {
"team": Team,
"fundraiser": Fundraiser
}
}
}
login
Response
Returns a LoginPayload
Arguments
| Name | Description |
|---|---|
input - LoginInput!
|
Example
Query
mutation login($input: LoginInput!) {
login(input: $input) {
user {
...UserFragment
}
bearerToken
intended
}
}
Variables
{"input": LoginInput}
Response
{
"data": {
"login": {
"user": User,
"bearerToken": "xyz789",
"intended": "http://www.test.com/"
}
}
}
loginAs
Response
Returns a LoginAsPayload
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
mutation loginAs($id: ID!) {
loginAs(id: $id) {
ok
url
}
}
Variables
{"id": 4}
Response
{
"data": {
"loginAs": {
"ok": false,
"url": "http://www.test.com/"
}
}
}
logout
Response
Returns a LogoutPayload
Example
Query
mutation logout {
logout {
ok
}
}
Response
{"data": {"logout": {"ok": true}}}
previewCampaignUpdate
Response
Returns a PreviewCampaignUpdatePayload
Arguments
| Name | Description |
|---|---|
input - CreateCampaignUpdateInput!
|
Example
Query
mutation previewCampaignUpdate($input: CreateCampaignUpdateInput!) {
previewCampaignUpdate(input: $input) {
content
}
}
Variables
{"input": CreateCampaignUpdateInput}
Response
{
"data": {
"previewCampaignUpdate": {
"content": "abc123"
}
}
}
refundDonation
Response
Returns a RefundDonationPayload
Arguments
| Name | Description |
|---|---|
input - RefundDonationInput!
|
Example
Query
mutation refundDonation($input: RefundDonationInput!) {
refundDonation(input: $input) {
donation {
...DonationFragment
}
}
}
Variables
{"input": RefundDonationInput}
Response
{"data": {"refundDonation": {"donation": Donation}}}
rejectCampaign
Response
Returns a RejectCampaignPayload
Arguments
| Name | Description |
|---|---|
input - RejectCampaignInput!
|
Example
Query
mutation rejectCampaign($input: RejectCampaignInput!) {
rejectCampaign(input: $input) {
campaign {
...CampaignFragment
}
}
}
Variables
{"input": RejectCampaignInput}
Response
{"data": {"rejectCampaign": {"campaign": Campaign}}}
reportCampaign
Response
Returns a ReportCampaignPayload
Arguments
| Name | Description |
|---|---|
input - ReportCampaignInput!
|
Example
Query
mutation reportCampaign($input: ReportCampaignInput!) {
reportCampaign(input: $input) {
submitted
message
}
}
Variables
{"input": ReportCampaignInput}
Response
{
"data": {
"reportCampaign": {
"submitted": false,
"message": "xyz789"
}
}
}
resetPassword
Response
Returns a ResetPasswordPayload
Arguments
| Name | Description |
|---|---|
email - Email!
|
Example
Query
mutation resetPassword($email: Email!) {
resetPassword(email: $email) {
ok
}
}
Variables
{"email": Email}
Response
{"data": {"resetPassword": {"ok": true}}}
revertCampaign
Response
Returns a RevertCampaignPayload
Arguments
| Name | Description |
|---|---|
input - RevertCampaignInput!
|
Example
Query
mutation revertCampaign($input: RevertCampaignInput!) {
revertCampaign(input: $input) {
campaign {
...CampaignFragment
}
}
}
Variables
{"input": RevertCampaignInput}
Response
{"data": {"revertCampaign": {"campaign": Campaign}}}
signup
Response
Returns a SignupPayload
Arguments
| Name | Description |
|---|---|
input - SignupInput!
|
Example
Query
mutation signup($input: SignupInput!) {
signup(input: $input) {
user {
...UserFragment
}
ok
}
}
Variables
{"input": SignupInput}
Response
{"data": {"signup": {"user": User, "ok": true}}}
syncCampaignIntegration
Response
Returns a SyncCampaignIntegrationPayload
Arguments
| Name | Description |
|---|---|
input - SyncCampaignIntegrationInput!
|
Example
Query
mutation syncCampaignIntegration($input: SyncCampaignIntegrationInput!) {
syncCampaignIntegration(input: $input) {
campaign {
...CampaignFragment
}
ok
}
}
Variables
{"input": SyncCampaignIntegrationInput}
Response
{
"data": {
"syncCampaignIntegration": {
"campaign": Campaign,
"ok": false
}
}
}
transferUserResources
Response
Returns a TransferUserResourcesPayload
Arguments
| Name | Description |
|---|---|
input - TransferUserResourcesInput!
|
Example
Query
mutation transferUserResources($input: TransferUserResourcesInput!) {
transferUserResources(input: $input) {
recipient {
...UserFragment
}
}
}
Variables
{"input": TransferUserResourcesInput}
Response
{"data": {"transferUserResources": {"recipient": User}}}
unlinkCampaignTrackingCodeToAmplifyCampaign
Response
Returns an UnlinkCampaignTrackingCodeToAmplifyCampaignPayload
Arguments
| Name | Description |
|---|---|
input - UnlinkCampaignTrackingCodeToAmplifyCampaignInput!
|
Example
Query
mutation unlinkCampaignTrackingCodeToAmplifyCampaign($input: UnlinkCampaignTrackingCodeToAmplifyCampaignInput!) {
unlinkCampaignTrackingCodeToAmplifyCampaign(input: $input) {
trackingCode {
...CampaignTrackingCodeFragment
}
}
}
Variables
{
"input": UnlinkCampaignTrackingCodeToAmplifyCampaignInput
}
Response
{
"data": {
"unlinkCampaignTrackingCodeToAmplifyCampaign": {
"trackingCode": CampaignTrackingCode
}
}
}
unlinkFundraiserTeam
Response
Returns an UnlinkFundraiserTeamPayload
Arguments
| Name | Description |
|---|---|
input - UnlinkFundraiserTeamInput!
|
Example
Query
mutation unlinkFundraiserTeam($input: UnlinkFundraiserTeamInput!) {
unlinkFundraiserTeam(input: $input) {
team {
...TeamFragment
}
fundraiser {
...FundraiserFragment
}
}
}
Variables
{"input": UnlinkFundraiserTeamInput}
Response
{
"data": {
"unlinkFundraiserTeam": {
"team": Team,
"fundraiser": Fundraiser
}
}
}
updateCampaign
Response
Returns an UpdateCampaignPayload
Arguments
| Name | Description |
|---|---|
input - UpdateCampaignInput!
|
Example
Query
mutation updateCampaign($input: UpdateCampaignInput!) {
updateCampaign(input: $input) {
campaign {
...CampaignFragment
}
}
}
Variables
{"input": UpdateCampaignInput}
Response
{"data": {"updateCampaign": {"campaign": Campaign}}}
updateCampaignAmplifyReceipt
Response
Returns a CampaignAmplifyReceiptPayload
Arguments
| Name | Description |
|---|---|
input - UpdateCampaignAmplifyReceiptInput!
|
Example
Query
mutation updateCampaignAmplifyReceipt($input: UpdateCampaignAmplifyReceiptInput!) {
updateCampaignAmplifyReceipt(input: $input) {
receipt {
...CampaignAmplifyReceiptFragment
}
}
}
Variables
{"input": UpdateCampaignAmplifyReceiptInput}
Response
{
"data": {
"updateCampaignAmplifyReceipt": {
"receipt": CampaignAmplifyReceipt
}
}
}
updateCampaignAmplifyStatus
Response
Returns an UpdateCampaignAmplifyStatusPayload
Arguments
| Name | Description |
|---|---|
input - UpdateCampaignAmplifyStatusInput!
|
Example
Query
mutation updateCampaignAmplifyStatus($input: UpdateCampaignAmplifyStatusInput!) {
updateCampaignAmplifyStatus(input: $input) {
campaignAmplifyStatus {
...CampaignAmplifyStatusFragment
}
}
}
Variables
{"input": UpdateCampaignAmplifyStatusInput}
Response
{
"data": {
"updateCampaignAmplifyStatus": {
"campaignAmplifyStatus": CampaignAmplifyStatus
}
}
}
updateCampaignDonationForm
Response
Returns an UpdateCampaignDonationFormPayload
Arguments
| Name | Description |
|---|---|
input - UpdateCampaignDonationFormInput!
|
Example
Query
mutation updateCampaignDonationForm($input: UpdateCampaignDonationFormInput!) {
updateCampaignDonationForm(input: $input) {
campaign {
...CampaignFragment
}
donationForm {
...DonationFormFragment
}
}
}
Variables
{"input": UpdateCampaignDonationFormInput}
Response
{
"data": {
"updateCampaignDonationForm": {
"campaign": Campaign,
"donationForm": DonationForm
}
}
}
updateCampaignDonationFormTemplate
Response
Returns an UpdateCampaignDonationFormTemplatePayload
Arguments
| Name | Description |
|---|---|
input - UpdateCampaignDonationFormTemplateInput!
|
Example
Query
mutation updateCampaignDonationFormTemplate($input: UpdateCampaignDonationFormTemplateInput!) {
updateCampaignDonationFormTemplate(input: $input) {
template
}
}
Variables
{"input": UpdateCampaignDonationFormTemplateInput}
Response
{
"data": {
"updateCampaignDonationFormTemplate": {
"template": DonationFormTemplate
}
}
}
updateCampaignIntegration
Response
Returns an UpdateCampaignIntegrationPayload
Arguments
| Name | Description |
|---|---|
input - UpdateCampaignIntegrationInput!
|
Example
Query
mutation updateCampaignIntegration($input: UpdateCampaignIntegrationInput!) {
updateCampaignIntegration(input: $input) {
integration {
...CampaignIntegrationFragment
}
}
}
Variables
{"input": UpdateCampaignIntegrationInput}
Response
{
"data": {
"updateCampaignIntegration": {
"integration": CampaignIntegration
}
}
}
updateCampaignSettings
Response
Returns an UpdateCampaignSettingsPayload
Arguments
| Name | Description |
|---|---|
input - UpdateCampaignSettingsInput!
|
Example
Query
mutation updateCampaignSettings($input: UpdateCampaignSettingsInput!) {
updateCampaignSettings(input: $input) {
campaignSettings {
...CampaignSettingsFragment
}
}
}
Variables
{"input": UpdateCampaignSettingsInput}
Response
{
"data": {
"updateCampaignSettings": {
"campaignSettings": CampaignSettings
}
}
}
updateCampaignUpdate
Response
Returns an UpdateCampaignUpdatePayload
Arguments
| Name | Description |
|---|---|
input - UpdateCampaignUpdateInput!
|
Example
Query
mutation updateCampaignUpdate($input: UpdateCampaignUpdateInput!) {
updateCampaignUpdate(input: $input) {
ok
id
}
}
Variables
{"input": UpdateCampaignUpdateInput}
Response
{"data": {"updateCampaignUpdate": {"ok": true, "id": 4}}}
updateCampaignUpdateWeight
Response
Returns an UpdateCampaignUpdateWeightPayload
Example
Query
mutation updateCampaignUpdateWeight(
$id: ID!,
$weight: Int!
) {
updateCampaignUpdateWeight(
id: $id,
weight: $weight
) {
ok
id
weight
}
}
Variables
{"id": "4", "weight": 123}
Response
{
"data": {
"updateCampaignUpdateWeight": {
"ok": true,
"id": "4",
"weight": 987
}
}
}
updateCampaignWebhook
Response
Returns a CreateWebhookPayload
Arguments
| Name | Description |
|---|---|
input - UpdateCampaignWebhookInput!
|
Example
Query
mutation updateCampaignWebhook($input: UpdateCampaignWebhookInput!) {
updateCampaignWebhook(input: $input) {
webhook {
...WebhookFragment
}
}
}
Variables
{"input": UpdateCampaignWebhookInput}
Response
{"data": {"updateCampaignWebhook": {"webhook": Webhook}}}
updateComment
Response
Returns an UpdateCommentPayload
Arguments
| Name | Description |
|---|---|
input - UpdateCommentInput!
|
Example
Query
mutation updateComment($input: UpdateCommentInput!) {
updateComment(input: $input) {
comment {
...CommentFragment
}
}
}
Variables
{"input": UpdateCommentInput}
Response
{"data": {"updateComment": {"comment": Comment}}}
updateDonation
Response
Returns an UpdateDonationPayload
Arguments
| Name | Description |
|---|---|
input - UpdateDonationInput!
|
Example
Query
mutation updateDonation($input: UpdateDonationInput!) {
updateDonation(input: $input) {
donation {
...DonationFragment
}
}
}
Variables
{"input": UpdateDonationInput}
Response
{"data": {"updateDonation": {"donation": Donation}}}
updateDonationAddress
Response
Returns an UpdateDonationAddressPayload
Arguments
| Name | Description |
|---|---|
input - UpdateDonationAddressInput!
|
Example
Query
mutation updateDonationAddress($input: UpdateDonationAddressInput!) {
updateDonationAddress(input: $input) {
address {
...AddressFragment
}
}
}
Variables
{"input": UpdateDonationAddressInput}
Response
{"data": {"updateDonationAddress": {"address": Address}}}
updateFundraiser
Response
Returns an UpdateFundraiserPayload
Arguments
| Name | Description |
|---|---|
input - UpdateFundraiserInput!
|
Example
Query
mutation updateFundraiser($input: UpdateFundraiserInput!) {
updateFundraiser(input: $input) {
fundraiser {
...FundraiserFragment
}
}
}
Variables
{"input": UpdateFundraiserInput}
Response
{"data": {"updateFundraiser": {"fundraiser": Fundraiser}}}
updateLandingPage
Response
Returns an UpdateLandingPagePayload
Arguments
| Name | Description |
|---|---|
input - UpdateLandingPageInput!
|
Example
Query
mutation updateLandingPage($input: UpdateLandingPageInput!) {
updateLandingPage(input: $input) {
landingPage {
...LandingPageFragment
}
}
}
Variables
{"input": UpdateLandingPageInput}
Response
{
"data": {
"updateLandingPage": {"landingPage": LandingPage}
}
}
updateMovement
Response
Returns an UpdateMovementPayload
Arguments
| Name | Description |
|---|---|
input - UpdateMovementInput!
|
Example
Query
mutation updateMovement($input: UpdateMovementInput!) {
updateMovement(input: $input) {
movement {
...MovementFragment
}
}
}
Variables
{"input": UpdateMovementInput}
Response
{"data": {"updateMovement": {"movement": Movement}}}
updateRegularGiving
Response
Returns an UpdateRegularGivingPayload
Arguments
| Name | Description |
|---|---|
input - UpdateRegularGivingInput!
|
Example
Query
mutation updateRegularGiving($input: UpdateRegularGivingInput!) {
updateRegularGiving(input: $input) {
regularGiving {
...RegularGivingFragment
}
}
}
Variables
{"input": UpdateRegularGivingInput}
Response
{
"data": {
"updateRegularGiving": {
"regularGiving": RegularGiving
}
}
}
updateRegularGivingPaymentMethod
Response
Returns an UpdateRegularGivingPaymentMethodPayload
Arguments
| Name | Description |
|---|---|
input - UpdateRegularGivingPaymentMethodInput!
|
Example
Query
mutation updateRegularGivingPaymentMethod($input: UpdateRegularGivingPaymentMethodInput!) {
updateRegularGivingPaymentMethod(input: $input) {
status
statusUri
}
}
Variables
{"input": UpdateRegularGivingPaymentMethodInput}
Response
{
"data": {
"updateRegularGivingPaymentMethod": {
"status": "Success",
"statusUri": "abc123"
}
}
}
updateTranslation
Response
Returns an UpdateTranslationPayload
Arguments
| Name | Description |
|---|---|
input - UpdateTranslationInput!
|
Example
Query
mutation updateTranslation($input: UpdateTranslationInput!) {
updateTranslation(input: $input) {
translation {
...TranslationFragment
}
}
}
Variables
{"input": UpdateTranslationInput}
Response
{
"data": {
"updateTranslation": {"translation": Translation}
}
}
updateUser
Response
Returns an UpdateUserPayload
Arguments
| Name | Description |
|---|---|
input - UpdateUserInput!
|
Example
Query
mutation updateUser($input: UpdateUserInput!) {
updateUser(input: $input) {
user {
...UserFragment
}
}
}
Variables
{"input": UpdateUserInput}
Response
{"data": {"updateUser": {"user": User}}}
updateUserPaypalRestriction
Response
Returns an UpdateUserPayPalRestrictionPayload
Arguments
| Name | Description |
|---|---|
input - UpdateUserPayPalRestrictionInput!
|
Example
Query
mutation updateUserPaypalRestriction($input: UpdateUserPayPalRestrictionInput!) {
updateUserPaypalRestriction(input: $input) {
id
message
}
}
Variables
{"input": UpdateUserPayPalRestrictionInput}
Response
{
"data": {
"updateUserPaypalRestriction": {
"id": 4,
"message": "abc123"
}
}
}
Types
AcquisitionSource
Fields
| Field Name | Description |
|---|---|
label - String!
|
Example
{"label": "abc123"}
Address
Amplify
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
status - AmplifyStatus!
|
|
campaign - Campaign!
|
|
adverts - [AmplifyVendorCampaign!]!
|
Example
{
"id": "4",
"status": AmplifyStatus,
"campaign": Campaign,
"adverts": [AmplifyVendorCampaign]
}
AmplifyStatus
AmplifyStatusEnum
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Active"
AmplifyVendor
AmplifyVendorCampaign
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
amplify - Amplify!
|
|
vendor - AmplifyVendor!
|
|
vendorReference - String!
|
Example
{
"id": 4,
"amplify": Amplify,
"vendor": AmplifyVendor,
"vendorReference": "xyz789"
}
ApproveCampaignPayload
Fields
| Field Name | Description |
|---|---|
campaign - Campaign!
|
Example
{"campaign": Campaign}
Asset
AssetFilterInput
AssetType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Image"
AssetsOwner
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
assets - [Asset!]!
|
|
Arguments
|
|
Possible Types
| AssetsOwner Types |
|---|
Example
{"id": 4, "assets": [Asset]}
AssetsOwnerType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"Campaign"
AssociateAssetInput
Fields
| Input Field | Description |
|---|---|
assetId - ID!
|
|
assetsOwnerId - ID!
|
|
assetsOwnerType - AssetsOwnerType!
|
Example
{
"assetId": "4",
"assetsOwnerId": 4,
"assetsOwnerType": "Campaign"
}
AssociateAssetPayload
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
|
assetsOwner - AssetsOwner!
|
Example
{
"asset": Asset,
"assetsOwner": AssetsOwner
}
AssociateCampaignAssetInput
AssociateCampaignAssetPayload
AssociateDonationPerkInput
AssociateDonationPerkPayload
AttachWebhookEventInput
AttachWebhookEventPayload
Fields
| Field Name | Description |
|---|---|
webhook - Webhook!
|
Example
{"webhook": Webhook}
Attempt
AttemptFailureType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Hard"
Boolean
Description
The Boolean scalar type represents true or false.
BoostFactor
Fields
| Field Name | Description |
|---|---|
tm1 - BoostFactorAction!
|
|
tm2 - BoostFactorAction!
|
|
tm3 - BoostFactorAction!
|
|
pil1 - BoostFactorAction!
|
|
vid1 - BoostFactorAction!
|
|
img1 - BoostFactorAction!
|
Example
{
"tm1": BoostFactorAction,
"tm2": BoostFactorAction,
"tm3": BoostFactorAction,
"pil1": BoostFactorAction,
"vid1": BoostFactorAction,
"img1": BoostFactorAction
}
BoostFactorAction
CRMAction
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
description - String!
|
|
arguments - [CRMActionArgument!]!
|
Example
{
"id": "4",
"description": "abc123",
"arguments": [CRMActionArgument]
}
CRMActionArgument
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
label - String!
|
|
description - String
|
|
fieldType - CRMActionFieldType!
|
|
items - [String!]!
|
Example
{
"id": 4,
"label": "abc123",
"description": "xyz789",
"fieldType": "Id",
"items": ["abc123"]
}
CRMActionFieldType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"Id"
CRMActionStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Success"
Campaign
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
title - String!
|
|
status - CampaignStatus!
|
|
financialInformation - FinancialInformation!
|
|
slug - String!
|
|
target - MoneyNode!
|
|
collected - MoneyNode!
|
|
Arguments
|
|
content - Markup!
|
|
url - URL!
|
|
Arguments
|
|
owner - User!
|
|
ownerName - String!
|
|
teams - [Team!]!
|
|
fundraisers - FundraiserConnection!
|
|
Arguments |
|
donations - DonationConnection!
|
|
Arguments |
|
regularGivings - RegularGivingConnection!
|
|
Arguments |
|
assets - [Asset!]!
|
|
Arguments
|
|
perks - [Perk!]!
|
|
amplify - Amplify
|
|
donationForm - DonationForm!
|
|
matchedGivings - [MatchedGiving!]!
|
|
Arguments
|
|
giftAid - GiftAid!
|
|
trackingCodes - [CampaignTrackingCode!]!
|
|
comments - CommentConnection!
|
|
createdAt - Date!
|
|
settings - CampaignSettings!
|
|
tax - CampaignTax
|
|
campCategory - String
|
|
utm - UTMTags
|
|
acquisitionSource - AcquisitionSource
|
|
duration - CampaignDuration!
|
|
address - Address!
|
|
teamMembers - [TeamMember!]!
|
|
userImage - String
|
|
integrations - [CampaignIntegration!]!
|
|
Arguments
|
|
amplifyStatus - CampaignAmplifyStatus
|
|
isAcceptingDonations - Boolean!
|
|
isOptinVariant - Boolean!
|
|
updates - CampaignUpdateConnection!
|
|
Arguments |
|
Example
{
"id": "4",
"title": "xyz789",
"status": "Live",
"financialInformation": FinancialInformation,
"slug": "xyz789",
"target": MoneyNode,
"collected": MoneyNode,
"content": Markup,
"url": "http://www.test.com/",
"owner": User,
"ownerName": "xyz789",
"teams": [Team],
"fundraisers": FundraiserConnection,
"donations": DonationConnection,
"regularGivings": RegularGivingConnection,
"assets": [Asset],
"perks": [Perk],
"amplify": Amplify,
"donationForm": DonationForm,
"matchedGivings": [MatchedGiving],
"giftAid": GiftAid,
"trackingCodes": [CampaignTrackingCode],
"comments": CommentConnection,
"createdAt": "2007-12-03",
"settings": CampaignSettings,
"tax": CampaignTax,
"campCategory": "abc123",
"utm": UTMTags,
"acquisitionSource": AcquisitionSource,
"duration": CampaignDuration,
"address": Address,
"teamMembers": [TeamMember],
"userImage": "abc123",
"integrations": [CampaignIntegration],
"amplifyStatus": CampaignAmplifyStatus,
"isAcceptingDonations": true,
"isOptinVariant": false,
"updates": CampaignUpdateConnection
}
CampaignAmplifyReceipt
CampaignAmplifyReceiptConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [CampaignAmplifyReceiptEdge!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"edges": [CampaignAmplifyReceiptEdge]
}
CampaignAmplifyReceiptEdge
Fields
| Field Name | Description |
|---|---|
cursor - String!
|
|
node - CampaignAmplifyReceipt!
|
Example
{
"cursor": "xyz789",
"node": CampaignAmplifyReceipt
}
CampaignAmplifyReceiptPayload
Fields
| Field Name | Description |
|---|---|
receipt - CampaignAmplifyReceipt
|
Example
{"receipt": CampaignAmplifyReceipt}
CampaignAmplifyStatus
CampaignConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [CampaignEdge!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [CampaignEdge]
}
CampaignDuration
Example
{
"startAt": "2007-12-03",
"finishAt": "2007-12-03",
"isInfinityMode": true,
"finishAtServerTime": "2007-12-03",
"finishAtUtc": "2007-12-03",
"finishAtLocal": "xyz789",
"timezone": "abc123"
}
CampaignEdge
CampaignFilterInput
Fields
| Input Field | Description |
|---|---|
query - String
|
|
idIn - [Int]
|
|
email - Email
|
|
status - CampaignStatus
|
|
category - ID
|
|
amplifyStatus - AmplifyStatusEnum
|
Example
{
"query": "abc123",
"idIn": [123],
"email": Email,
"status": "Live",
"category": 4,
"amplifyStatus": "Active"
}
CampaignIntegration
Fields
| Field Name | Description |
|---|---|
type - IntegrationType!
|
|
reference - String
|
|
isEnabled - Boolean!
|
|
isConnected - Boolean!
|
|
createdAt - Date!
|
|
updatedAt - Date!
|
|
syncs - IntegrationSyncConnection!
|
Example
{
"type": "ACTION_NETWORK",
"reference": "xyz789",
"isEnabled": true,
"isConnected": true,
"createdAt": "2007-12-03",
"updatedAt": "2007-12-03",
"syncs": IntegrationSyncConnection
}
CampaignIntegrationFilterInput
Fields
| Input Field | Description |
|---|---|
type - IntegrationType
|
Example
{"type": "ACTION_NETWORK"}
CampaignSettings
CampaignStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"Live"
CampaignTax
CampaignTrackingCode
Fields
| Field Name | Description |
|---|---|
code - String!
|
|
url - URL!
|
|
adverts - [AmplifyVendorCampaign!]!
|
Example
{
"code": "abc123",
"url": "http://www.test.com/",
"adverts": [AmplifyVendorCampaign]
}
CampaignUpdate
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
title - String!
|
|
content - String!
|
|
createdAt - Date!
|
|
updateType - CampaignUpdateType!
|
|
assets - [CampaignUpdateAsset]
|
Example
{
"id": 4,
"title": "xyz789",
"content": "xyz789",
"createdAt": "2007-12-03",
"updateType": "Text",
"assets": [CampaignUpdateAsset]
}
CampaignUpdateAsset
CampaignUpdateAssetInput
CampaignUpdateConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [CampaignUpdateEdge!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [CampaignUpdateEdge]
}
CampaignUpdateEdge
Fields
| Field Name | Description |
|---|---|
cursor - String!
|
|
node - CampaignUpdate!
|
Example
{
"cursor": "abc123",
"node": CampaignUpdate
}
CampaignUpdateSortable
Values
| Enum Value | Description |
|---|---|
|
|
Example
"Recent"
CampaignUpdateSortableInput
Fields
| Input Field | Description |
|---|---|
field - CampaignUpdateSortable!
|
|
direction - SortableDirection
|
Example
{"field": "Recent", "direction": "Ascending"}
CampaignUpdateType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"Text"
CampaignUrlContextInput
Fields
| Input Field | Description |
|---|---|
legacy - Boolean
|
|
socialPlatform - SocialPlatform
|
|
source - CampaignShareUrlSource
|
Example
{"legacy": true, "socialPlatform": "Twitter", "source": "Campaign"}
CancelRegularGivingPayload
Fields
| Field Name | Description |
|---|---|
regularGiving - RegularGiving!
|
Example
{"regularGiving": RegularGiving}
CardDetailsInput
Fields
| Input Field | Description |
|---|---|
type - CardType!
|
|
originCountry - CountryISOCode!
|
Example
{"type": "Amex", "originCountry": CountryISOCode}
CardType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"Amex"
Category
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
slug - String!
|
|
title - String!
|
|
mobile - String
|
|
display - Boolean!
|
|
sortOrder - Int!
|
|
campaigns - CampaignConnection!
|
|
Arguments |
|
assets - [Asset!]!
|
|
Arguments
|
|
Example
{
"id": 4,
"slug": "xyz789",
"title": "xyz789",
"mobile": "xyz789",
"display": true,
"sortOrder": 987,
"campaigns": CampaignConnection,
"assets": [Asset]
}
ChangeCampaignBacsCapabilityPayload
ChangeDonationRecipientInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
recipientType - DonationRecipient!
|
|
recipientId - ID!
|
Example
{
"id": "4",
"recipientType": "Campaign",
"recipientId": 4
}
ChangeDonationRecipientPayload
Fields
| Field Name | Description |
|---|---|
donation - Donation!
|
Example
{"donation": Donation}
ChangeRegularGivingRecipientInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
recipientType - DonationRecipient!
|
|
recipientId - ID!
|
Example
{
"id": "4",
"recipientType": "Campaign",
"recipientId": "4"
}
ChangeRegularGivingRecipientPayload
Fields
| Field Name | Description |
|---|---|
regularGiving - RegularGiving!
|
Example
{"regularGiving": RegularGiving}
ChangeUserBacsCapabilityPayload
ClaimedPerk
Color
Example
Color
Comment
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
parent - Comment
|
|
user - User!
|
|
content - Markup!
|
|
status - CommentStatus!
|
|
recipient - CommentRecipient!
|
|
createdAt - Date!
|
Example
{
"id": "4",
"parent": Comment,
"user": User,
"content": Markup,
"status": "Published",
"recipient": CommentRecipient,
"createdAt": "2007-12-03"
}
CommentConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [CommentEdge!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"edges": [CommentEdge]
}
CommentEdge
CommentRecipient
Fields
| Field Name | Description |
|---|---|
type - CommentRecipientEnum!
|
|
name - String!
|
Example
{"type": "Campaign", "name": "xyz789"}
CommentRecipientEnum
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Campaign"
CommentSortable
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Recent"
CommentSortableInput
Fields
| Input Field | Description |
|---|---|
field - CommentSortable!
|
|
direction - SortableDirection
|
Example
{"field": "Recent", "direction": "Ascending"}
CommentStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Published"
CompleteSurveyInput
CompleteSurveyPayload
Fields
| Field Name | Description |
|---|---|
survey - Survey!
|
Example
{"survey": Survey}
ConfirmVerificationCodeInput
ConfirmVerificationCodePayload
Fields
| Field Name | Description |
|---|---|
verified - Boolean!
|
Example
{"verified": true}
Connection
Possible Types
| Connection Types |
|---|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [Edge]
}
Country
Fields
| Field Name | Description |
|---|---|
id - CountryISOCode!
|
|
name - String!
|
|
currency - Currency!
|
Example
{
"id": CountryISOCode,
"name": "xyz789",
"currency": Currency
}
CountryFilterInput
Fields
| Input Field | Description |
|---|---|
campaignSupported - Boolean
|
Example
{"campaignSupported": true}
CountryISOCode
Example
CountryISOCode
CreateAmplifyVendorCampaignInput
CreateAmplifyVendorCampaignPayload
Fields
| Field Name | Description |
|---|---|
advert - AmplifyVendorCampaign!
|
Example
{"advert": AmplifyVendorCampaign}
CreateAssetInput
Fields
| Input Field | Description |
|---|---|
asset - Upload!
|
Example
{"asset": Upload}
CreateAssetPayload
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
Example
{"asset": Asset}
CreateCampaignAmplifyReceiptInput
CreateCampaignInput
Fields
| Input Field | Description |
|---|---|
title - String!
|
|
userId - ID
|
|
target - Money!
|
|
country - CountryISOCode!
|
|
categoryId - ID!
|
|
content - Markup!
|
|
tracking - PageTrackingInput
|
|
meta - [MetaValueInput!]
|
Example
{
"title": "xyz789",
"userId": "4",
"target": Money,
"country": CountryISOCode,
"categoryId": 4,
"content": Markup,
"tracking": PageTrackingInput,
"meta": [MetaValueInput]
}
CreateCampaignPayload
Fields
| Field Name | Description |
|---|---|
campaign - Campaign!
|
Example
{"campaign": Campaign}
CreateCampaignTrackingCodeInput
CreateCampaignTrackingCodePayload
Fields
| Field Name | Description |
|---|---|
trackingCode - CampaignTrackingCode!
|
Example
{"trackingCode": CampaignTrackingCode}
CreateCampaignUpdateInput
Fields
| Input Field | Description |
|---|---|
campaignId - ID!
|
|
title - String!
|
|
content - String!
|
|
updateType - CampaignUpdateType!
|
|
assets - [CampaignUpdateAssetInput]
|
|
sendViaEmail - Boolean!
|
Example
{
"campaignId": "4",
"title": "abc123",
"content": "xyz789",
"updateType": "Text",
"assets": [CampaignUpdateAssetInput],
"sendViaEmail": false
}
CreateCampaignUpdatePayload
CreateCampaignWebhookInput
CreateDirectDebitPayload
CreateDirectDebitRegularGivingInput
CreateDirectDebitRegularGivingPayload
CreateFundraiserInput
CreateFundraiserPayload
Fields
| Field Name | Description |
|---|---|
fundraiser - Fundraiser!
|
Example
{"fundraiser": Fundraiser}
CreateLandingPageInput
Example
{
"title": "abc123",
"description": "abc123",
"slug": "abc123",
"image": "http://www.test.com/",
"category": "xyz789",
"countries": "xyz789",
"styles": "xyz789",
"customUrl": "abc123"
}
CreateLandingPagePayload
Fields
| Field Name | Description |
|---|---|
landingPage - LandingPage!
|
Example
{"landingPage": LandingPage}
CreateMovementInput
CreateMovementPayload
Fields
| Field Name | Description |
|---|---|
movement - Movement!
|
Example
{"movement": Movement}
CreateOfflineDonationInput
CreateOfflineDonationPayload
Fields
| Field Name | Description |
|---|---|
donation - Donation!
|
Example
{"donation": Donation}
CreateSetupIntentRegularGivingPayload
Fields
| Field Name | Description |
|---|---|
regularGiving - RegularGiving!
|
|
token - ID!
|
Example
{
"regularGiving": RegularGiving,
"token": "4"
}
CreateTeamInput
CreateTeamPayload
Fields
| Field Name | Description |
|---|---|
team - Team!
|
Example
{"team": Team}
CreateTranslationKeysPayload
Fields
| Field Name | Description |
|---|---|
keys - [TranslationKey!]!
|
Example
{"keys": [TranslationKey]}
CreateTranslationLanguagePayload
Fields
| Field Name | Description |
|---|---|
language - Language!
|
Example
{"language": Language}
CreateVerificationCodeInput
Fields
| Input Field | Description |
|---|---|
email - String!
|
Example
{"email": "xyz789"}
CreateVerificationCodePayload
CreateWebhookInput
CreateWebhookPayload
Fields
| Field Name | Description |
|---|---|
webhook - Webhook!
|
Example
{"webhook": Webhook}
Currency
Fields
| Field Name | Description |
|---|---|
key - CurrencyISOCode!
|
|
name - String!
|
|
symbol - String!
|
|
fractional - String!
|
|
conversions - [CurrencyConversion!]!
|
Example
{
"key": CurrencyISOCode,
"name": "abc123",
"symbol": "xyz789",
"fractional": "xyz789",
"conversions": [CurrencyConversion]
}
CurrencyConversion
Fields
| Field Name | Description |
|---|---|
key - CurrencyISOCode!
|
|
value - Float!
|
Example
{"key": CurrencyISOCode, "value": 123.45}
CurrencyISOCode
Example
CurrencyISOCode
CurrencyTotal
Date
Example
"2007-12-03"
DeleteAssetPayload
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
Example
{"asset": Asset}
DeleteCampaignPayload
Fields
| Field Name | Description |
|---|---|
ok - Boolean!
|
Example
{"ok": false}
DeleteCampaignUpdatePayload
Fields
| Field Name | Description |
|---|---|
ok - Boolean!
|
Example
{"ok": false}
DeleteCampaignWebhookInput
DeleteCampaignWebhookPayload
Fields
| Field Name | Description |
|---|---|
ok - Boolean!
|
Example
{"ok": true}
DeleteOfflineDonationPayload
Fields
| Field Name | Description |
|---|---|
donation - Donation!
|
Example
{"donation": Donation}
DeleteUserPayload
Fields
| Field Name | Description |
|---|---|
ok - Boolean!
|
Example
{"ok": false}
DisassociateAssetInput
Fields
| Input Field | Description |
|---|---|
assetId - ID!
|
|
assetsOwnerId - ID!
|
|
assetsOwnerType - AssetsOwnerType!
|
Example
{"assetId": 4, "assetsOwnerId": 4, "assetsOwnerType": "Campaign"}
DisassociateAssetPayload
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
|
assetsOwner - AssetsOwner!
|
Example
{
"asset": Asset,
"assetsOwner": AssetsOwner
}
DisassociateCampaignAssetInput
DisassociateCampaignAssetPayload
DisassociateDonationPerkPayload
DispatchCampaignAmplifyReceiptsInput
Fields
| Input Field | Description |
|---|---|
generateEmails - Boolean
|
Example
{"generateEmails": true}
DispatchCampaignAmplifyReceiptsPayload
Fields
| Field Name | Description |
|---|---|
receipts - [CampaignAmplifyReceipt]
|
Example
{"receipts": [CampaignAmplifyReceipt]}
DispatchEvent
Values
| Enum Value | Description |
|---|---|
|
|
Example
"OnboardingStarted"
DispatchEventInput
Fields
| Input Field | Description |
|---|---|
event - DispatchEvent!
|
|
identity - EventIdentityInput
|
|
payload - Object!
|
Example
{
"event": "OnboardingStarted",
"identity": EventIdentityInput,
"payload": Object
}
DispatchEventPayload
Fields
| Field Name | Description |
|---|---|
ok - Boolean!
|
Example
{"ok": true}
Dispute
Example
{
"id": "4",
"status": "Unanswered",
"amount": Money,
"reason": "xyz789",
"user": User,
"donation": Donation,
"createdAt": "2007-12-03",
"updatedAt": "2007-12-03"
}
DisputeConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [DisputeEdge!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [DisputeEdge]
}
DisputeEdge
DisputeStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"Unanswered"
Donation
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
hashId - ID!
|
|
user - User
|
|
amount - MoneyNode!
|
|
name - String!
|
|
address - Address
|
|
createdAt - Date!
|
|
source - DonationSource!
|
|
status - DonationStatus!
|
|
visibility - DonationVisibility!
|
|
receipt - Asset
|
|
campaign - Campaign!
|
|
fundraiser - Fundraiser
|
|
perk - ClaimedPerk
|
|
paymentMethod - UserPaymentMethod
|
|
regularGiving - RegularGiving
|
|
tracking - CampaignTrackingCode
|
|
utm - UTMTags
|
|
ipAddress - IPAddress
|
|
isRefunded - Boolean!
|
|
giftAid - GiftAid
|
|
regularGivingOccurrence - Int
|
Example
{
"id": 4,
"hashId": "4",
"user": User,
"amount": MoneyNode,
"name": "abc123",
"address": Address,
"createdAt": "2007-12-03",
"source": "Online",
"status": "Confirmed",
"visibility": "Anonymous",
"receipt": Asset,
"campaign": Campaign,
"fundraiser": Fundraiser,
"perk": ClaimedPerk,
"paymentMethod": UserPaymentMethod,
"regularGiving": RegularGiving,
"tracking": CampaignTrackingCode,
"utm": UTMTags,
"ipAddress": IPAddress,
"isRefunded": false,
"giftAid": GiftAid,
"regularGivingOccurrence": 123
}
DonationCategorySummary
Fields
| Field Name | Description |
|---|---|
numberOfCampaigns - Int!
|
|
donations - [CurrencyTotal!]!
|
Example
{"numberOfCampaigns": 987, "donations": [CurrencyTotal]}
DonationConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [DonationEdge!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [DonationEdge]
}
DonationEdge
DonationFee
Fields
| Field Name | Description |
|---|---|
fee - MoneyNode!
|
|
tip - MoneyNode!
|
|
donation - MoneyNode!
|
|
totalPaid - MoneyNode!
|
|
totalReceived - MoneyNode!
|
Example
{
"fee": MoneyNode,
"tip": MoneyNode,
"donation": MoneyNode,
"totalPaid": MoneyNode,
"totalReceived": MoneyNode
}
DonationFeeInput
Fields
| Input Field | Description |
|---|---|
donation - Money!
|
|
tip - Money
|
|
paymentVendor - PaymentMethodVendor!
|
|
cardDetails - CardDetailsInput
|
|
campaignId - ID
|
|
paymentModel - PaymentModelType
|
|
country - CountryISOCode
|
Example
{
"donation": Money,
"tip": Money,
"paymentVendor": "Stripe",
"cardDetails": CardDetailsInput,
"campaignId": 4,
"paymentModel": "Shared",
"country": CountryISOCode
}
DonationFilterInput
Fields
| Input Field | Description |
|---|---|
query - String
|
|
confirmed - DonationStatus
|
|
visibility - DonationVisibility
|
|
source - DonationSource
|
|
recipient - DonationRecipientFilter
|
|
paymentVendor - PaymentMethodVendor
|
|
paymentType - PaymentMethodType
|
|
isAmplified - Boolean
|
|
isRegularGiving - Boolean
|
Example
{
"query": "abc123",
"confirmed": "Confirmed",
"visibility": "Anonymous",
"source": "Online",
"recipient": "Campaign",
"paymentVendor": "Stripe",
"paymentType": "Card",
"isAmplified": true,
"isRegularGiving": true
}
DonationForm
Fields
| Field Name | Description |
|---|---|
fields - [DonationFormField!]!
|
|
levels - [DonationFormLevel!]!
|
|
defaultValueAmounts - [Int!]!
|
|
template - DonationFormTemplate
|
|
defaultPaymentMethod - PaymentFrequency!
|
|
frequency - DonationFormFrequency!
|
|
requiresOptInMarketing - Boolean!
|
|
mode - DonationFormMode!
|
Example
{
"fields": [DonationFormField],
"levels": [DonationFormLevel],
"defaultValueAmounts": [987],
"template": DonationFormTemplate,
"defaultPaymentMethod": "OneOff",
"frequency": DonationFormFrequency,
"requiresOptInMarketing": true,
"mode": "None"
}
DonationFormField
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
isCustom - Boolean!
|
|
type - FormType!
|
|
label - String!
|
|
options - [String!]!
|
|
status - FieldStatus!
|
Example
{
"id": "4",
"isCustom": true,
"type": "Select",
"label": "abc123",
"options": ["xyz789"],
"status": "Required"
}
DonationFormFrequency
DonationFormLevel
Fields
| Field Name | Description |
|---|---|
label - String!
|
|
value - MoneyNode!
|
Example
{
"label": "xyz789",
"value": MoneyNode
}
DonationFormMode
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"None"
DonationFormTemplate
Example
DonationFormTemplate
DonationRecipient
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Campaign"
DonationRecipientFilter
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"Campaign"
DonationRefundType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Full"
DonationSortable
Values
| Enum Value | Description |
|---|---|
|
|
Example
"Recent"
DonationSortableInput
Fields
| Input Field | Description |
|---|---|
field - DonationSortable!
|
|
direction - SortableDirection
|
Example
{"field": "Recent", "direction": "Ascending"}
DonationSource
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Online"
DonationStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Confirmed"
DonationTotalSummary
Fields
| Field Name | Description |
|---|---|
regularGiving - DonationCategorySummary!
|
|
oneOff - DonationCategorySummary!
|
Example
{
"regularGiving": DonationCategorySummary,
"oneOff": DonationCategorySummary
}
DonationVisibility
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Anonymous"
Edge
Example
{
"node": Node,
"cursor": "abc123"
}
Example
Email
EventIdentityInput
Fields
| Input Field | Description |
|---|---|
email - Email!
|
Example
{"email": Email}
ExecuteCRMActionInput
ExecuteCRMActionPayload
Fields
| Field Name | Description |
|---|---|
message - String!
|
|
status - CRMActionStatus!
|
|
context - Object!
|
Example
{
"message": "abc123",
"status": "Success",
"context": Object
}
FeeStructure
FieldStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"Required"
FinancialInformation
Fields
| Field Name | Description |
|---|---|
currency - Currency!
|
|
paymentMethods - [FinancialInformationPaymentMethod!]!
|
|
Arguments
|
|
feeStructure - FeeStructure
|
|
paymentModel - PaymentModel!
|
|
Example
{
"currency": Currency,
"paymentMethods": [FinancialInformationPaymentMethod],
"feeStructure": FeeStructure,
"paymentModel": PaymentModel
}
FinancialInformationPaymentMethod
Fields
| Field Name | Description |
|---|---|
paymentMethod - PaymentMethod!
|
|
key - String!
|
Example
{
"paymentMethod": PaymentMethod,
"key": "xyz789"
}
Float
Description
The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
123.45
FormType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"Select"
Fundraiser
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
campaign - Campaign!
|
|
status - FundraiserStatus!
|
|
team - Team
|
|
owner - User!
|
|
title - String!
|
use fundraiserName instead |
content - Markup!
|
|
slug - String!
|
|
target - MoneyNode!
|
|
collected - MoneyNode!
|
|
video - URL
|
|
url - URL!
|
|
donations - DonationConnection!
|
|
Arguments |
|
assets - [Asset!]!
|
|
Arguments
|
|
fundraiserName - String!
|
|
fundraiserEmail - Email!
|
|
fundraiserProfile - URL
|
|
Example
{
"id": "4",
"campaign": Campaign,
"status": "Draft",
"team": Team,
"owner": User,
"title": "xyz789",
"content": Markup,
"slug": "abc123",
"target": MoneyNode,
"collected": MoneyNode,
"video": "http://www.test.com/",
"url": "http://www.test.com/",
"donations": DonationConnection,
"assets": [Asset],
"fundraiserName": "abc123",
"fundraiserEmail": Email,
"fundraiserProfile": "http://www.test.com/"
}
FundraiserConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [FundraiserEdge!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [FundraiserEdge]
}
FundraiserEdge
Fields
| Field Name | Description |
|---|---|
cursor - String!
|
|
node - Fundraiser!
|
Example
{
"cursor": "xyz789",
"node": Fundraiser
}
FundraiserFilterInput
Fields
| Input Field | Description |
|---|---|
isActive - Boolean
|
Example
{"isActive": true}
FundraiserStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"Draft"
GiftAid
ID
Description
The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
Example
"4"
IPAddress
Example
IPAddress
ImportTranslationInput
ImportTranslationPayload
Fields
| Field Name | Description |
|---|---|
accepted - Boolean!
|
Example
{"accepted": false}
Instalment
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
createdAt - Date!
|
|
instalmentAt - Date!
|
|
attempts - [Attempt!]!
|
Example
{
"id": "4",
"createdAt": "2007-12-03",
"instalmentAt": "2007-12-03",
"attempts": [Attempt]
}
InstalmentConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [InstalmentEdge!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [InstalmentEdge]
}
InstalmentEdge
Fields
| Field Name | Description |
|---|---|
cursor - String!
|
|
node - Instalment!
|
Example
{
"cursor": "abc123",
"node": Instalment
}
Int
Description
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
123
IntegrationSync
IntegrationSyncConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [IntegrationSyncEdge!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"edges": [IntegrationSyncEdge]
}
IntegrationSyncEdge
Fields
| Field Name | Description |
|---|---|
cursor - String!
|
|
node - IntegrationSync!
|
Example
{
"cursor": "xyz789",
"node": IntegrationSync
}
IntegrationType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ACTION_NETWORK"
LandingPage
Example
{
"id": 4,
"title": "abc123",
"description": "abc123",
"image": "http://www.test.com/",
"isActive": true,
"theme": "abc123",
"slug": "xyz789",
"countries": ["abc123"]
}
LandingPageConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [LandingPageEdge!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"edges": [LandingPageEdge]
}
LandingPageEdge
Fields
| Field Name | Description |
|---|---|
cursor - String!
|
|
node - LandingPage!
|
Example
{
"cursor": "xyz789",
"node": LandingPage
}
LandingPageFilterInput
Fields
| Input Field | Description |
|---|---|
isActive - Boolean
|
Example
{"isActive": false}
Language
LaunchCampaignInput
LaunchCampaignPayload
Fields
| Field Name | Description |
|---|---|
campaign - Campaign!
|
Example
{"campaign": Campaign}
LinkCampaignTrackingCodeToAmplifyCampaignInput
LinkCampaignTrackingCodeToAmplifyCampaignPayload
Fields
| Field Name | Description |
|---|---|
trackingCode - CampaignTrackingCode!
|
Example
{"trackingCode": CampaignTrackingCode}
LinkFundraiserTeamInput
LinkFundraiserTeamPayload
Fields
| Field Name | Description |
|---|---|
team - Team!
|
|
fundraiser - Fundraiser!
|
Example
{
"team": Team,
"fundraiser": Fundraiser
}
LoginAsPayload
LoginInput
LoginPayload
LogoutPayload
Fields
| Field Name | Description |
|---|---|
ok - Boolean!
|
Example
{"ok": false}
Markup
Example
Markup
MatchedGiving
Example
{
"id": "4",
"title": "xyz789",
"image": Asset,
"target": MoneyNode,
"remaining": MoneyNode,
"hasMetTarget": false,
"startAt": "2007-12-03",
"finishAt": "2007-12-03"
}
MatchedGivingFilterInput
Fields
| Input Field | Description |
|---|---|
available - Boolean!
|
Example
{"available": true}
MetaValueInput
Money
Example
Money
MoneyNode
Movement
MovementConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [MovementEdge!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [MovementEdge]
}
MovementEdge
Node
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Possible Types
| Node Types |
|---|
Example
{"id": "4"}
Object
Example
Object
PageInfo
PageTrackingInput
Example
{
"page": "http://www.test.com/",
"source": "abc123",
"medium": "abc123",
"campaign": "abc123",
"term": "abc123",
"content": "abc123",
"fbclid": "abc123"
}
PaymentFrequency
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"OneOff"
PaymentFrequencyRecurring
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"Weekly"
PaymentMethod
Fields
| Field Name | Description |
|---|---|
vendor - PaymentMethodVendor!
|
|
publishableKey - String
|
|
accountNumber - String
|
|
connectUrl - URL
|
|
availableMethods - [String]
|
Example
{
"vendor": "Stripe",
"publishableKey": "xyz789",
"accountNumber": "abc123",
"connectUrl": "http://www.test.com/",
"availableMethods": ["abc123"]
}
PaymentMethodType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"Card"
PaymentMethodVendor
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Stripe"
PaymentModel
Fields
| Field Name | Description |
|---|---|
type - PaymentModelType!
|
|
hasOptionalDonations - Boolean!
|
|
paymentFeeBelowLine - Boolean!
|
|
platformFeePercent - Float!
|
Example
{
"type": "Shared",
"hasOptionalDonations": false,
"paymentFeeBelowLine": false,
"platformFeePercent": 123.45
}
PaymentModelType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"Shared"
PaymentPrefillInput
Perk
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
campaign - Campaign!
|
|
title - String!
|
|
amount - MoneyNode!
|
|
description - String
|
|
useImage - Boolean!
|
|
assets - [Asset!]!
|
|
Arguments
|
|
delivery - String
|
|
questions - [PerkQuestion!]!
|
|
isQuestionEnabled - Boolean!
|
|
isPublished - Boolean!
|
use isHidden instead |
isHidden - Boolean!
|
|
quantity - PerkQuantity!
|
|
frequency - PerkRedemptionFrequency!
|
|
allowMultiple - Boolean!
|
|
Example
{
"id": "4",
"campaign": Campaign,
"title": "abc123",
"amount": MoneyNode,
"description": "abc123",
"useImage": true,
"assets": [Asset],
"delivery": "xyz789",
"questions": [PerkQuestion],
"isQuestionEnabled": true,
"isPublished": false,
"isHidden": false,
"quantity": PerkQuantity,
"frequency": PerkRedemptionFrequency,
"allowMultiple": true
}
PerkQuantity
PerkQuestion
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
type - FormType!
|
|
label - String!
|
|
options - [String!]!
|
Example
{
"id": 4,
"type": "Select",
"label": "xyz789",
"options": ["xyz789"]
}
PerkRedemptionFrequency
Phone
Example
Phone
PreviewCampaignUpdatePayload
Fields
| Field Name | Description |
|---|---|
content - String!
|
Example
{"content": "abc123"}
ProcessPaymentStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"Success"
Recipient
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
url - URL!
|
|
title - String!
|
|
assets - [Asset!]!
|
|
Arguments
|
|
Possible Types
| Recipient Types |
|---|
Example
{
"id": "4",
"url": "http://www.test.com/",
"title": "xyz789",
"assets": [Asset]
}
RefundDonationInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
type - DonationRefundType
|
Example
{"id": "4", "type": "Full"}
RefundDonationPayload
Fields
| Field Name | Description |
|---|---|
donation - Donation!
|
Example
{"donation": Donation}
RegularGiving
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
donations - DonationConnection!
|
|
Arguments |
|
frequency - PaymentFrequencyRecurring!
|
|
user - User!
|
|
campaign - Campaign!
|
|
fundraiser - Fundraiser
|
|
status - RegularGivingStatus!
|
|
nextPaymentAt - Date!
|
|
startAt - Date!
|
|
endAt - Date
|
|
lastDonationAt - Date
|
|
amount - MoneyNode!
|
|
optionalDonation - MoneyNode!
|
|
fees - MoneyNode!
|
|
perk - ClaimedPerk
|
|
paymentMethod - UserPaymentMethod
|
|
schedules - [Schedule!]!
|
|
Example
{
"id": "4",
"donations": DonationConnection,
"frequency": "Weekly",
"user": User,
"campaign": Campaign,
"fundraiser": Fundraiser,
"status": "Created",
"nextPaymentAt": "2007-12-03",
"startAt": "2007-12-03",
"endAt": "2007-12-03",
"lastDonationAt": "2007-12-03",
"amount": MoneyNode,
"optionalDonation": MoneyNode,
"fees": MoneyNode,
"perk": ClaimedPerk,
"paymentMethod": UserPaymentMethod,
"schedules": [Schedule]
}
RegularGivingConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [RegularGivingEdge!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [RegularGivingEdge]
}
RegularGivingEdge
Fields
| Field Name | Description |
|---|---|
cursor - String!
|
|
node - RegularGiving!
|
Example
{
"cursor": "abc123",
"node": RegularGiving
}
RegularGivingFilterInput
Fields
| Input Field | Description |
|---|---|
status - RegularGivingStatus
|
|
userId - ID
|
Example
{"status": "Created", "userId": 4}
RegularGivingFrequencyDate
Fields
| Field Name | Description |
|---|---|
frequency - PaymentFrequencyRecurring!
|
|
nextPaymentAt - Date!
|
Example
{
"frequency": "Weekly",
"nextPaymentAt": "2007-12-03"
}
RegularGivingStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"Created"
RejectCampaignInput
RejectCampaignPayload
Fields
| Field Name | Description |
|---|---|
campaign - Campaign!
|
Example
{"campaign": Campaign}
ReportCampaignComplainantInput
ReportCampaignDetailsInput
Fields
| Input Field | Description |
|---|---|
complaintType - ReportCampaignSubjectType!
|
|
campaignLink - String!
|
|
campaignId - ID
|
|
complaintReason - [ReportCampaignReasonType]!
|
|
description - String!
|
Example
{
"complaintType": "Page",
"campaignLink": "xyz789",
"campaignId": 4,
"complaintReason": ["Defamatory"],
"description": "abc123"
}
ReportCampaignInput
Fields
| Input Field | Description |
|---|---|
complainant - ReportCampaignComplainantInput!
|
|
details - ReportCampaignDetailsInput!
|
|
verified - Boolean!
|
|
consent - Boolean!
|
|
captchaToken - String!
|
Example
{
"complainant": ReportCampaignComplainantInput,
"details": ReportCampaignDetailsInput,
"verified": true,
"consent": true,
"captchaToken": "xyz789"
}
ReportCampaignPayload
ReportCampaignReasonType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"Defamatory"
ReportCampaignSubjectType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"Page"
ResetPasswordPayload
Fields
| Field Name | Description |
|---|---|
ok - Boolean!
|
Example
{"ok": false}
RevertCampaignInput
RevertCampaignPayload
Fields
| Field Name | Description |
|---|---|
campaign - Campaign!
|
Example
{"campaign": Campaign}
Schedule
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
currentAt - Date!
|
|
startAt - Date!
|
|
frequency - PaymentFrequencyRecurring!
|
|
amount - MoneyNode!
|
|
optionalDonation - MoneyNode!
|
|
fees - MoneyNode!
|
|
instalments - InstalmentConnection!
|
Example
{
"id": 4,
"currentAt": "2007-12-03",
"startAt": "2007-12-03",
"frequency": "Weekly",
"amount": MoneyNode,
"optionalDonation": MoneyNode,
"fees": MoneyNode,
"instalments": InstalmentConnection
}
Settings
Fields
| Field Name | Description |
|---|---|
vendor - SettingsVendor!
|
Example
{"vendor": SettingsVendor}
SettingsVendor
Fields
| Field Name | Description |
|---|---|
launchDarklyClientKey - String!
|
Example
{"launchDarklyClientKey": "abc123"}
SignupInput
SignupPayload
SocialPlatform
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Twitter"
SortableDirection
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"Ascending"
String
Description
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
"xyz789"
Survey
Example
{
"id": 4,
"campaign": Campaign,
"netPromoterScore": 987,
"bestExperience": "xyz789",
"worstExperience": "abc123",
"isCompleted": false,
"triggeredBy": "CampaignCompleted"
}
SurveyEvent
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"CampaignCompleted"
SyncCampaignIntegrationInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
type - IntegrationType!
|
Example
{"id": 4, "type": "ACTION_NETWORK"}
SyncCampaignIntegrationPayload
Team
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
campaign - Campaign!
|
|
fundraisers - FundraiserConnection!
|
|
Arguments |
|
title - String!
|
|
slug - String!
|
|
target - MoneyNode!
|
|
logo - URL!
|
|
status - TeamStatus!
|
|
Example
{
"id": "4",
"campaign": Campaign,
"fundraisers": FundraiserConnection,
"title": "abc123",
"slug": "xyz789",
"target": MoneyNode,
"logo": "http://www.test.com/",
"status": "Confirmed"
}
TeamMember
TeamStatus
Values
| Enum Value | Description |
|---|---|
|
|
Example
"Confirmed"
TransferUserResourcesInput
TransferUserResourcesPayload
Fields
| Field Name | Description |
|---|---|
recipient - User!
|
Example
{"recipient": User}
Translation
Fields
| Field Name | Description |
|---|---|
key - TranslationKey!
|
|
language - Language!
|
|
translation - String!
|
Example
{
"key": TranslationKey,
"language": Language,
"translation": "xyz789"
}
TranslationKey
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Example
{"id": 4}
URL
Example
"http://www.test.com/"
UTMTags
UnlinkCampaignTrackingCodeToAmplifyCampaignInput
UnlinkCampaignTrackingCodeToAmplifyCampaignPayload
Fields
| Field Name | Description |
|---|---|
trackingCode - CampaignTrackingCode!
|
Example
{"trackingCode": CampaignTrackingCode}
UnlinkFundraiserTeamInput
UnlinkFundraiserTeamPayload
Fields
| Field Name | Description |
|---|---|
team - Team!
|
|
fundraiser - Fundraiser!
|
Example
{
"team": Team,
"fundraiser": Fundraiser
}
UpdateCampaignAmplifyReceiptInput
UpdateCampaignAmplifyStatusInput
UpdateCampaignAmplifyStatusPayload
Fields
| Field Name | Description |
|---|---|
campaignAmplifyStatus - CampaignAmplifyStatus
|
Example
{"campaignAmplifyStatus": CampaignAmplifyStatus}
UpdateCampaignDonationFormInput
Fields
| Input Field | Description |
|---|---|
campaignId - ID!
|
|
defaultPaymentMethod - PaymentFrequency
|
|
template - DonationFormTemplate
|
Example
{
"campaignId": "4",
"defaultPaymentMethod": "OneOff",
"template": DonationFormTemplate
}
UpdateCampaignDonationFormPayload
Fields
| Field Name | Description |
|---|---|
campaign - Campaign!
|
|
donationForm - DonationForm!
|
Example
{
"campaign": Campaign,
"donationForm": DonationForm
}
UpdateCampaignDonationFormTemplateInput
Example
{
"campaignId": 4,
"logo": "xyz789",
"backgroundImage": "xyz789",
"backgroundColor": Color,
"headerColor": Color,
"content": "abc123",
"successMessage": "xyz789",
"returnUrl": "http://www.test.com/"
}
UpdateCampaignDonationFormTemplatePayload
Fields
| Field Name | Description |
|---|---|
template - DonationFormTemplate
|
Example
{"template": DonationFormTemplate}
UpdateCampaignInput
UpdateCampaignIntegrationInput
Fields
| Input Field | Description |
|---|---|
campaignId - ID!
|
|
type - IntegrationType!
|
|
config - Object
|
|
token - String
|
|
reference - String
|
Example
{
"campaignId": 4,
"type": "ACTION_NETWORK",
"config": Object,
"token": "xyz789",
"reference": "xyz789"
}
UpdateCampaignIntegrationPayload
Fields
| Field Name | Description |
|---|---|
integration - CampaignIntegration!
|
Example
{"integration": CampaignIntegration}
UpdateCampaignPayload
Fields
| Field Name | Description |
|---|---|
campaign - Campaign!
|
Example
{"campaign": Campaign}
UpdateCampaignSettingsInput
UpdateCampaignSettingsPayload
Fields
| Field Name | Description |
|---|---|
campaignSettings - CampaignSettings!
|
Example
{"campaignSettings": CampaignSettings}
UpdateCampaignUpdateInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
title - String!
|
|
content - String!
|
|
assets - [CampaignUpdateAssetInput]
|
Example
{
"id": "4",
"title": "xyz789",
"content": "xyz789",
"assets": [CampaignUpdateAssetInput]
}
UpdateCampaignUpdatePayload
UpdateCampaignUpdateWeightPayload
UpdateCampaignWebhookInput
UpdateCommentInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
content - Markup
|
|
status - CommentStatus
|
Example
{"id": 4, "content": Markup, "status": "Published"}
UpdateCommentPayload
Fields
| Field Name | Description |
|---|---|
comment - Comment!
|
Example
{"comment": Comment}
UpdateDonationAddressInput
UpdateDonationAddressPayload
Fields
| Field Name | Description |
|---|---|
address - Address!
|
Example
{"address": Address}
UpdateDonationInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
visibility - DonationVisibility
|
|
name - String
|
Example
{
"id": "4",
"visibility": "Anonymous",
"name": "abc123"
}
UpdateDonationPayload
Fields
| Field Name | Description |
|---|---|
donation - Donation!
|
Example
{"donation": Donation}
UpdateFundraiserInput
Example
{
"id": 4,
"content": "abc123",
"target": Money,
"slug": "xyz789",
"fundraiserName": "xyz789",
"fundraiserEmail": Email,
"fundraiserProfile": "http://www.test.com/",
"video": "http://www.test.com/"
}
UpdateFundraiserPayload
Fields
| Field Name | Description |
|---|---|
fundraiser - Fundraiser!
|
Example
{"fundraiser": Fundraiser}
UpdateLandingPageInput
Example
{
"id": 4,
"title": "abc123",
"description": "xyz789",
"isActive": true,
"slug": "abc123",
"image": "http://www.test.com/",
"theme": "xyz789",
"countries": "xyz789",
"styles": "abc123"
}
UpdateLandingPagePayload
Fields
| Field Name | Description |
|---|---|
landingPage - LandingPage!
|
Example
{"landingPage": LandingPage}
UpdateMovementInput
UpdateMovementPayload
Fields
| Field Name | Description |
|---|---|
movement - Movement!
|
Example
{"movement": Movement}
UpdateRegularGivingInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
frequency - PaymentFrequencyRecurring
|
|
amount - Money
|
|
optionalDonation - Money
|
Example
{
"id": 4,
"frequency": "Weekly",
"amount": Money,
"optionalDonation": Money
}
UpdateRegularGivingPayload
Fields
| Field Name | Description |
|---|---|
regularGiving - RegularGiving!
|
Example
{"regularGiving": RegularGiving}
UpdateRegularGivingPaymentMethodInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
vendor - PaymentMethodVendor!
|
|
type - PaymentMethodType!
|
|
reference - String!
|
Example
{
"id": "4",
"vendor": "Stripe",
"type": "Card",
"reference": "abc123"
}
UpdateRegularGivingPaymentMethodPayload
Fields
| Field Name | Description |
|---|---|
status - ProcessPaymentStatus!
|
|
statusUri - String
|
Example
{"status": "Success", "statusUri": "xyz789"}
UpdateTranslationInput
UpdateTranslationPayload
Fields
| Field Name | Description |
|---|---|
translation - Translation!
|
Example
{"translation": Translation}
UpdateUserInput
UpdateUserPayPalRestrictionInput
UpdateUserPayPalRestrictionPayload
UpdateUserPayload
Fields
| Field Name | Description |
|---|---|
user - User!
|
Example
{"user": User}
Upload
Example
Upload
User
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
email - Email!
|
|
title - String
|
|
firstName - String!
|
|
lastName - String!
|
|
phone - Phone
|
|
address - Address
|
|
profileImage - URL
|
|
isAdmin - Boolean!
|
|
isVerified - Boolean!
|
|
isAutoApproved - Boolean!
|
|
donations - DonationConnection!
|
|
Arguments |
|
regularGivings - [RegularGiving!]!
|
|
paymentMethods - [UserPaymentMethod!]!
|
|
comments - CommentConnection!
|
|
totalsByCurrency - DonationTotalSummary!
|
|
Example
{
"id": 4,
"email": Email,
"title": "abc123",
"firstName": "abc123",
"lastName": "xyz789",
"phone": Phone,
"address": Address,
"profileImage": "http://www.test.com/",
"isAdmin": true,
"isVerified": false,
"isAutoApproved": false,
"donations": DonationConnection,
"regularGivings": [RegularGiving],
"paymentMethods": [UserPaymentMethod],
"comments": CommentConnection,
"totalsByCurrency": DonationTotalSummary
}
UserConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [UserEdge!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"edges": [UserEdge]
}
UserEdge
UserExistsPayload
Fields
| Field Name | Description |
|---|---|
ok - Boolean!
|
Example
{"ok": false}
UserFilterInput
Fields
| Input Field | Description |
|---|---|
query - String
|
Example
{"query": "xyz789"}
UserPaymentMethod
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
user - User!
|
|
vendor - PaymentMethodVendor!
|
|
details - Object
|
Example
{
"id": 4,
"user": User,
"vendor": "Stripe",
"details": Object
}
Webhook
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
url - URL!
|
|
description - String!
|
|
events - [WebhookEvent!]!
|
|
attempts - WebhookAttemptConnection!
|
|
secret - String!
|
|
Example
{
"id": "4",
"url": "http://www.test.com/",
"description": "abc123",
"events": [WebhookEvent],
"attempts": WebhookAttemptConnection,
"secret": "xyz789"
}
WebhookAttempt
Example
{
"id": 4,
"webhook": Webhook,
"event": WebhookEvent,
"request": "xyz789",
"statusCode": 987,
"response": "abc123",
"attempt": 123,
"sentAt": "2007-12-03",
"responseStatus": "abc123"
}
WebhookAttemptConnection
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
edges - [WebhookAttemptEdge!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"edges": [WebhookAttemptEdge]
}
WebhookAttemptEdge
Fields
| Field Name | Description |
|---|---|
cursor - String!
|
|
node - WebhookAttempt!
|
Example
{
"cursor": "abc123",
"node": WebhookAttempt
}