Page object

Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store.

Required access

unauthenticated_read_content access scope.

Fields

  • body (HTML!)

    The description of the page, complete with HTML formatting.

  • bodySummary (String!)

    Summary of the page body.

  • createdAt (DateTime!)

    The timestamp of the page creation.

  • handle (String!)

    A human-friendly unique string for the page automatically generated from its title.

  • id (ID!)

    A globally-unique identifier.

  • metafield (Metafield)

    Returns a metafield found by namespace and key.

    Argument Description
    key ( String! ) required

    Identifier for the metafield (maximum of 30 characters).

    namespace ( String! ) required

    Container for a set of metafields (maximum of 20 characters).

  • onlineStoreUrl (URL)

    The URL used for viewing the resource on the shop's Online Store. Returns null if the resource is currently not published to the Online Store sales channel.

  • seo (SEO)

    The page's SEO information.

  • title (String!)

    The title of the page.

  • updatedAt (DateTime!)

    The timestamp of the latest page update.

Types that return Page

Implements

Deprecated fields

  • metafields (MetafieldConnection!) deprecated

    A paginated list of metafields associated with the resource.

    Deprecation warning

    The metafields field will be removed in the future in favor of using aliases with the metafield field.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    namespace ( String )

    Container for a set of metafields (maximum of 20 characters).

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

An auto-generated type for paginating through multiple Pages.

Fields

Types that return Page

An auto-generated type which holds one Page and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (Page!)

    The item at the end of PageEdge.

Types that return Page

Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store.

Required access

unauthenticated_read_content access scope.

Fields

  • body (HTML!)

    The description of the page, complete with HTML formatting.

  • bodySummary (String!)

    Summary of the page body.

  • createdAt (DateTime!)

    The timestamp of the page creation.

  • handle (String!)

    A human-friendly unique string for the page automatically generated from its title.

  • id (ID!)

    A globally-unique identifier.

  • metafield (Metafield)

    Returns a metafield found by namespace and key.

    Argument Description
    key ( String! ) required

    Identifier for the metafield (maximum of 30 characters).

    namespace ( String! ) required

    Container for a set of metafields (maximum of 20 characters).

  • onlineStoreUrl (URL)

    The URL used for viewing the resource on the shop's Online Store. Returns null if the resource is currently not published to the Online Store sales channel.

  • seo (SEO)

    The page's SEO information.

  • title (String!)

    The title of the page.

  • updatedAt (DateTime!)

    The timestamp of the latest page update.

Types that return Page

Implements

Deprecated fields

  • metafields (MetafieldConnection!) deprecated

    A paginated list of metafields associated with the resource.

    Deprecation warning

    The metafields field will be removed in the future in favor of using aliases with the metafield field.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    namespace ( String )

    Container for a set of metafields (maximum of 20 characters).

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

An auto-generated type for paginating through multiple Pages.

On this page

Fields

An auto-generated type which holds one Page and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (Page!)

    The item at the end of PageEdge.

Types that return PageEdge

Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store.

Required access

unauthenticated_read_content access scope.

Fields

  • body (HTML!)

    The description of the page, complete with HTML formatting.

  • bodySummary (String!)

    Summary of the page body.

  • createdAt (DateTime!)

    The timestamp of the page creation.

  • handle (String!)

    A human-friendly unique string for the page automatically generated from its title.

  • id (ID!)

    A globally-unique identifier.

  • metafield (Metafield)

    Returns a metafield found by namespace and key.

    Argument Description
    key ( String! ) required

    Identifier for the metafield (maximum of 30 characters).

    namespace ( String! ) required

    Container for a set of metafields (maximum of 20 characters).

  • onlineStoreUrl (URL)

    The URL used for viewing the resource on the shop's Online Store. Returns null if the resource is currently not published to the Online Store sales channel.

  • seo (SEO)

    The page's SEO information.

  • title (String!)

    The title of the page.

  • updatedAt (DateTime!)

    The timestamp of the latest page update.

Types that return Page

Implements

Deprecated fields

  • metafields (MetafieldConnection!) deprecated

    A paginated list of metafields associated with the resource.

    Deprecation warning

    The metafields field will be removed in the future in favor of using aliases with the metafield field.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    namespace ( String )

    Container for a set of metafields (maximum of 20 characters).

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

An auto-generated type for paginating through multiple Pages.

On this page

Fields

An auto-generated type which holds one Page and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (Page!)

    The item at the end of PageEdge.

Types that return PageEdge

Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store.

Required access

unauthenticated_read_content access scope.

Fields

  • body (HTML!)

    The description of the page, complete with HTML formatting.

  • bodySummary (String!)

    Summary of the page body.

  • createdAt (DateTime!)

    The timestamp of the page creation.

  • handle (String!)

    A human-friendly unique string for the page automatically generated from its title.

  • id (ID!)

    A globally-unique identifier.

  • metafield (Metafield)

    Returns a metafield found by namespace and key.

    Argument Description
    key ( String! ) required

    Identifier for the metafield (maximum of 30 characters).

    namespace ( String! ) required

    Container for a set of metafields (maximum of 20 characters).

  • onlineStoreUrl (URL)

    The URL used for viewing the resource on the shop's Online Store. Returns null if the resource is currently not published to the Online Store sales channel.

  • seo (SEO)

    The page's SEO information.

  • title (String!)

    The title of the page.

  • updatedAt (DateTime!)

    The timestamp of the latest page update.

Types that return Page

Implements

Deprecated fields

  • metafields (MetafieldConnection!) deprecated

    A paginated list of metafields associated with the resource.

    Deprecation warning

    The metafields field will be removed in the future in favor of using aliases with the metafield field.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    namespace ( String )

    Container for a set of metafields (maximum of 20 characters).

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

  • url (URL!) deprecated

    The url pointing to the page accessible from the web.

    Deprecation warning

    Use onlineStoreUrl instead

An auto-generated type for paginating through multiple Pages.

On this page

Fields

An auto-generated type which holds one Page and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (Page!)

    The item at the end of PageEdge.

Types that return PageEdge

Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store.

Required access

unauthenticated_read_content access scope.

Fields

  • body (HTML!)

    The description of the page, complete with HTML formatting.

  • bodySummary (String!)

    Summary of the page body.

  • createdAt (DateTime!)

    The timestamp of the page creation.

  • handle (String!)

    A human-friendly unique string for the page automatically generated from its title.

  • id (ID!)

    A globally-unique identifier.

  • metafield (Metafield)

    Returns a metafield found by namespace and key.

    Argument Description
    key ( String! ) required

    Identifier for the metafield (maximum of 30 characters).

    namespace ( String! ) required

    Container for a set of metafields (maximum of 20 characters).

  • seo (SEO)

    The page's SEO information.

  • title (String!)

    The title of the page.

  • updatedAt (DateTime!)

    The timestamp of the latest page update.

Types that return Page

Implements

Deprecated fields

  • metafields (MetafieldConnection!) deprecated

    A paginated list of metafields associated with the resource.

    Deprecation warning

    The metafields field will be removed in the future in favor of using aliases with the metafield field.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    namespace ( String )

    Container for a set of metafields (maximum of 20 characters).

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

  • url (URL!) deprecated

    The url pointing to the page accessible from the web.

    Deprecation warning

    Use onlineStoreUrl instead

An auto-generated type for paginating through multiple Pages.

On this page

Fields

An auto-generated type which holds one Page and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (Page!)

    The item at the end of PageEdge.

Types that return PageEdge

Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store.

Required access

unauthenticated_read_content access scope.

Fields

  • body (HTML!)

    The description of the page, complete with HTML formatting.

  • bodySummary (String!)

    Summary of the page body.

  • createdAt (DateTime!)

    The timestamp of the page creation.

  • handle (String!)

    A human-friendly unique string for the page automatically generated from its title.

  • id (ID!)

    A globally-unique identifier.

  • seo (SEO)

    The page's SEO information.

  • title (String!)

    The title of the page.

  • updatedAt (DateTime!)

    The timestamp of the latest page update.

Types that return Page

Implements

Deprecated fields

  • url (URL!) deprecated

    The url pointing to the page accessible from the web.

    Deprecation warning

    Use onlineStoreUrl instead

An auto-generated type for paginating through multiple Pages.

On this page

Fields

An auto-generated type which holds one Page and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (Page!)

    The item at the end of PageEdge.

Types that return PageEdge