Skip to main content

pages Query

List of the shop's pages.

pages(
sortBy: PageSortingInput
filter: PageFilterInput
search: String
where: PageWhereInput
channel: String
before: String
after: String
first: Int
last: Int
): PageCountableConnection

Arguments

pages.sortBy ● PageSortingInput input pages

Sort pages.

pages.filter ● PageFilterInput deprecated input pages

DEPRECATED
  • Use where and search instead.

Filtering options for pages.

pages.search ● String scalar miscellaneous

Search pages. Overrides filter.search input.

Added in Saleor 3.22

pages.where ● PageWhereInput input pages

Where filtering options for pages.

Added in Saleor 3.22

pages.channel ● String scalar miscellaneous

Slug of a channel for which the data should be returned.

Added in Saleor 3.22

pages.before ● String scalar miscellaneous

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

pages.after ● String scalar miscellaneous

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

pages.first ● Int scalar miscellaneous

Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

pages.last ● Int scalar miscellaneous

Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

Type

PageCountableConnection object pages