Skip to main content

page Query

Look up a page by ID or slug.

page(
id: ID
slug: String
slugLanguageCode: LanguageCodeEnum
channel: String
): Page
Show return type

Arguments

id ● ID

ID of the page.

slug ● String

The slug of the page.

slugLanguageCode ● LanguageCodeEnum

Language code of the page slug, omit to use primary slug.

Added in Saleor 3.21

channel ● String

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

Added in Saleor 3.22

Type

Page

A static page that can be manually added by a shop operator through the dashboard.