Skip to main content

crowdfundingCampaignPagination

Returns pages of crowdfunding campaigns that match the arguments. Page with the result's nextCrowdfundingCampaigns and previousCrowdfundingCampaigns fields.

crowdfundingCampaignPagination(
allocationStatus: [CampaignAllocationStatus!]
goalType: [CrowdfundingGoalType!]
isAllocating: Boolean
isArchived: Boolean
productIds: [SharedGlobalID!]
productVariantIds: [SharedGlobalID!]
query: String
sortDirection: SortDirection
sortKey: CrowdfundingCampaignSortKey
status: [CampaignStatus!]
): PaginationResult

Arguments​

crowdfundingCampaignPagination.allocationStatus ● [CampaignAllocationStatus!] list enum types​

Return only campaigns with any of these allocation statuses.

crowdfundingCampaignPagination.goalType ● [CrowdfundingGoalType!] list enum types​

Return only campaigns with any of these goal types.

crowdfundingCampaignPagination.isAllocating ● Boolean scalar types​

Filter by whether the campaign is allocating inventory.

crowdfundingCampaignPagination.isArchived ● Boolean scalar types​

Filter by whether the campaign is archived.

crowdfundingCampaignPagination.productIds ● [SharedGlobalID!] list scalar types​

Return only campaigns that include any of these products.

crowdfundingCampaignPagination.productVariantIds ● [SharedGlobalID!] list scalar types​

Return only campaigns that include any of these product variants.

crowdfundingCampaignPagination.query ● String scalar types​

A search query to filter campaigns by. It matches the campaign's ID, reference or identifier, such as #1486, and matching products or product variants.

crowdfundingCampaignPagination.sortDirection ● SortDirection enum types​

The direction to sort campaigns in. Defaults to ascending.

crowdfundingCampaignPagination.sortKey ● CrowdfundingCampaignSortKey enum types​

The field to sort campaigns by. Defaults to ID.

crowdfundingCampaignPagination.status ● [CampaignStatus!] list enum types​

Return only campaigns with any of these statuses.

Type​

PaginationResult object types​

The results of a paginated search, identified by its query arguments.