Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

page Query

Look up a page by ID or slug.

page(id: ID, slug: String, slugLanguageCode: LanguageCodeEnum, channel: String): Page

Returns

Page

Show return type
type Page implements Node & ObjectWithMetadata & ObjectWithAttributes {
  id: ID!
  privateMetadata: [MetadataItem!]!
  privateMetafield(key: String!): String
  privateMetafields(keys: [String!]): Metadata
  metadata: [MetadataItem!]!
  metafield(key: String!): String
  metafields(keys: [String!]): Metadata
  assignedAttribute(slug: String!): AssignedAttribute
  assignedAttributes(limit: PositiveInt = 100): [AssignedAttribute!]!
  seoTitle: String
  seoDescription: String
  title: String!
  content: JSONString
  publicationDate: Date @deprecated(reason: "Use the `publishedAt` field to fetch the publication date.")
  publishedAt: DateTime
  isPublished: Boolean!
  slug: String!
  pageType: PageType!
  created: DateTime!
  contentJson: JSONString! @deprecated(reason: "Use the `content` field instead.")
  translation(languageCode: LanguageCodeEnum!): PageTranslation
  attribute(slug: String!): SelectedAttribute @deprecated(reason: "Use `assignedAttribute` field instead.")
  attributes: [SelectedAttribute!]! @deprecated(reason: "Use `assignedAttributes` field instead.")
}

Arguments

id

id · ID

ID of the page.

slug

slug · String

The slug of the page.

slugLanguageCode

slugLanguageCode · LanguageCodeEnum

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

channel

channel · String

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


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?