> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/pages/llms.txt)
> Source: https://docs.saleor.io/api-reference/pages/objects/page

# Page Object

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

```graphql
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
  publishedAt: DateTime
  isPublished: Boolean!
  slug: String!
  pageType: PageType!
  created: DateTime!
  contentJson: JSONString! @deprecated
  translation(
    languageCode: LanguageCodeEnum!
  ): PageTranslation
  attribute(
    slug: String!
  ): SelectedAttribute @deprecated
  attributes: [SelectedAttribute!]! @deprecated
}
```

<a id="fields"></a>

### Fields

<a id="id"></a>

#### [`id`](#id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

ID of the page.

<a id="private-metadata"></a>

#### [`privateMetadata`](#private-metadata) ● [`[MetadataItem!]!`](/api-reference/miscellaneous/objects/metadata-item.md)

List of private metadata items. Requires staff permissions to access.

<a id="private-metafield"></a>

#### [`privateMetafield`](#private-metafield) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

A single key from private metadata. Requires staff permissions to access.

Tip: Use GraphQL aliases to fetch multiple keys.

<a id="page-private-metafield-key"></a>

##### [`key`](#page-private-metafield-key) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

<a id="private-metafields"></a>

#### [`privateMetafields`](#private-metafields) ● [`Metadata`](/api-reference/miscellaneous/scalars/metadata.md)

Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.

<a id="page-private-metafields-keys"></a>

##### [`keys`](#page-private-metafields-keys) ● [`[String!]`](/api-reference/miscellaneous/scalars/string.md)

<a id="metadata"></a>

#### [`metadata`](#metadata) ● [`[MetadataItem!]!`](/api-reference/miscellaneous/objects/metadata-item.md)

List of public metadata items. Can be accessed without permissions.

<a id="metafield"></a>

#### [`metafield`](#metafield) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

A single key from public metadata.

Tip: Use GraphQL aliases to fetch multiple keys.

<a id="page-metafield-key"></a>

##### [`key`](#page-metafield-key) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

<a id="metafields"></a>

#### [`metafields`](#metafields) ● [`Metadata`](/api-reference/miscellaneous/scalars/metadata.md)

Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.

<a id="page-metafields-keys"></a>

##### [`keys`](#page-metafields-keys) ● [`[String!]`](/api-reference/miscellaneous/scalars/string.md)

<a id="assigned-attribute"></a>

#### [`assignedAttribute`](#assigned-attribute) ● [`AssignedAttribute`](/api-reference/attributes/interfaces/assigned-attribute.md)

Get a single attribute attached to page by attribute slug.

Added in Saleor 3.22

<a id="page-assigned-attribute-slug"></a>

##### [`slug`](#page-assigned-attribute-slug) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

Slug of the attribute

<a id="assigned-attributes"></a>

#### [`assignedAttributes`](#assigned-attributes) ● [`[AssignedAttribute!]!`](/api-reference/attributes/interfaces/assigned-attribute.md)

List of attributes assigned to this page.

Added in Saleor 3.22

<a id="page-assigned-attributes-limit"></a>

##### [`limit`](#page-assigned-attributes-limit) ● [`PositiveInt`](/api-reference/miscellaneous/scalars/positive-int.md)

Maximum number of attributes to return. Default is 100.

<a id="seo-title"></a>

#### [`seoTitle`](#seo-title) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Title of the page for SEO.

<a id="seo-description"></a>

#### [`seoDescription`](#seo-description) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Description of the page for SEO.

<a id="title"></a>

#### [`title`](#title) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

Title of the page.

<a id="content"></a>

#### [`content`](#content) ● [`JSONString`](/api-reference/miscellaneous/scalars/jsonstring.md)

Content of the page.

Rich text format. For reference see [https://editorjs.io/](https://editorjs.io/)

<a id="published-at"></a>

#### [`publishedAt`](#published-at) ● [`DateTime`](/api-reference/miscellaneous/scalars/date-time.md)

The page publication date.

<a id="is-published"></a>

#### [`isPublished`](#is-published) ● [`Boolean!`](/api-reference/miscellaneous/scalars/boolean.md)

Determines if the page is published.

<a id="slug"></a>

#### [`slug`](#slug) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

Slug of the page.

<a id="page-type"></a>

#### [`pageType`](#page-type) ● [`PageType!`](/api-reference/pages/objects/page-type.md)

Determines the type of page

<a id="created"></a>

#### [`created`](#created) ● [`DateTime!`](/api-reference/miscellaneous/scalars/date-time.md)

Date and time at which page was created.

<a id="translation"></a>

#### [`translation`](#translation) ● [`PageTranslation`](/api-reference/pages/objects/page-translation.md)

Returns translated page fields for the given language code.

<a id="page-translation-language-code"></a>

##### [`languageCode`](#page-translation-language-code) ● [`LanguageCodeEnum!`](/api-reference/miscellaneous/enums/language-code-enum.md)

A language code to return the translation for page.

Show deprecatedHide deprecated

<a id="publication-date"></a>

#### [`publicationDate`](#publication-date) ● [`Date`](/api-reference/miscellaneous/scalars/date.md)

DEPRECATED

Use the `publishedAt` field to fetch the publication date.

<a id="content-json"></a>

#### [`contentJson`](#content-json) ● [`JSONString!`](/api-reference/miscellaneous/scalars/jsonstring.md)

DEPRECATED

Use the `content` field instead.

Content of the page.

Rich text format. For reference see [https://editorjs.io/](https://editorjs.io/)

<a id="attribute"></a>

#### [`attribute`](#attribute) ● [`SelectedAttribute`](/api-reference/attributes/objects/selected-attribute.md)

DEPRECATED

Use `assignedAttribute` field instead.

Get a single attribute attached to page by attribute slug.

<a id="page-attribute-slug"></a>

##### [`slug`](#page-attribute-slug) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

Slug of the attribute

<a id="attributes"></a>

#### [`attributes`](#attributes) ● [`[SelectedAttribute!]!`](/api-reference/attributes/objects/selected-attribute.md)

DEPRECATED

Use `assignedAttributes` field instead.

List of attributes assigned to this page.

<a id="interfaces"></a>

### Interfaces

<a id="node"></a>

#### [`Node`](/api-reference/miscellaneous/interfaces/node.md)

An object with an ID

<a id="objectwithmetadata"></a>

#### [`ObjectWithMetadata`](/api-reference/miscellaneous/interfaces/object-with-metadata.md)

<a id="objectwithattributes"></a>

#### [`ObjectWithAttributes`](/api-reference/attributes/interfaces/object-with-attributes.md)

An object with attributes.

Added in Saleor 3.22

<a id="returned-by"></a>

### Returned By

[`page`](/api-reference/pages/queries/page.md) query

<a id="member-of"></a>

### Member Of

[`AssignedMultiPageReferenceAttribute`](/api-reference/attributes/objects/assigned-multi-page-reference-attribute.md) object  ● [`AssignedSinglePageReferenceAttribute`](/api-reference/attributes/objects/assigned-single-page-reference-attribute.md) object  ● [`Fulfillment`](/api-reference/orders/objects/fulfillment.md) object  ● [`FulfillmentLine`](/api-reference/orders/objects/fulfillment-line.md) object  ● [`MenuItem`](/api-reference/menu/objects/menu-item.md) object  ● [`OrderGrantedRefund`](/api-reference/orders/objects/order-granted-refund.md) object  ● [`OrderGrantedRefundLine`](/api-reference/miscellaneous/objects/order-granted-refund-line.md) object  ● [`PageCountableEdge`](/api-reference/pages/objects/page-countable-edge.md) object  ● [`PageCreate`](/api-reference/pages/objects/page-create.md) object  ● [`PageCreated`](/api-reference/pages/objects/page-created.md) object  ● [`PageDelete`](/api-reference/pages/objects/page-delete.md) object  ● [`PageDeleted`](/api-reference/pages/objects/page-deleted.md) object  ● [`PageReorderAttributeValues`](/api-reference/pages/objects/page-reorder-attribute-values.md) object  ● [`PageTranslatableContent`](/api-reference/pages/objects/page-translatable-content.md) object  ● [`PageUpdate`](/api-reference/pages/objects/page-update.md) object  ● [`PageUpdated`](/api-reference/pages/objects/page-updated.md) object  ● [`TransactionEvent`](/api-reference/payments/objects/transaction-event.md) object  ● [`TransactionItem`](/api-reference/payments/objects/transaction-item.md) object
