Skip to main content

CampaignSearch

Find campaigns

CampaignSearch(
first: Int
after: String
last: Int
before: String
query: String
mineOnly: Boolean = true
status: CampaignStatus = RUNNING
currency: Currency
useViewerCurrency: Boolean = false
): CampaignConnection!

Arguments

CampaignSearch.first ● Int scalar

Returns the first n elements from the list.

CampaignSearch.after ● String scalar

Returns the elements in the list that come after the specified cursor.

CampaignSearch.last ● Int scalar

Returns the last n elements from the list.

CampaignSearch.before ● String scalar

Returns the elements in the list that come before the specified cursor.

CampaignSearch.query ● String scalar

CampaignSearch.mineOnly ● Boolean scalar

CampaignSearch.status ● CampaignStatus enum

CampaignSearch.currency ● Currency enum

Search campaigns which use a specific currency.

CampaignSearch.useViewerCurrency ● Boolean scalar

Without needing to pass a currency, it will base query off of viewer's default currency.

Type

CampaignConnection object

The connection type for Campaign.