Page
Requires access scope or
access scope.
A page on the Online Store.
Anchor to Fields and connectionsFields and connections
- Anchor to bodybody•HTML!non-null
The text content of the page, complete with HTML markup.
- Anchor to bodySummarybody•String!non-null
Summary The first 150 characters of the page body. If the page body contains more than 150 characters, additional characters are truncated by ellipses.
- Anchor to createdAtcreated•Date
At Time!non-null The date and time (ISO 8601 format) of the page creation.
- Anchor to defaultCursordefault•String!non-null
Cursor A default cursor that returns the single next record, sorted ascending by ID.
- Anchor to eventsevents•Event
Connection!non-null The paginated list of events associated with the host subject.
- Anchor to handlehandle•String!non-null
A unique, human-friendly string for the page. In themes, the Liquid templating language refers to a page by its handle.
- •ID!non-null
A globally-unique ID.
- Anchor to isPublishedis•Boolean!non-null
Published Whether or not the page is visible.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection!non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to publishedAtpublished•Date
At Time The date and time (ISO 8601 format) when the page became or will become visible. Returns null when the page isn't visible.
- Anchor to templateSuffixtemplate•String
Suffix The suffix of the template that's used to render the page.
- Anchor to titletitle•String!non-null
Title of the page.
- Anchor to translationstranslations•[Translation!]!non-null
The published translations associated with the resource.
- Anchor to updatedAtupdated•Date
At Time!non-null The date and time (ISO 8601 format) of the latest page update.
- Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection!non-nullDeprecated
Anchor to QueriesQueries
- •query
Returns a Page resource by ID.
- •query
List of the shop's pages.
Anchor to MutationsMutations
- •mutation
Creates a page.
- Anchor to pagepage•Page
Create Input!required The properties of the new page.
Arguments
- Anchor to pagepage•Page
The page that was created.
- Anchor to userErrorsuser•[Page
Errors Create User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates a page.
- •ID!required
The ID of the page to be updated.
- Anchor to pagepage•Page
Update Input!required The properties of the page to be updated.
Arguments
- Anchor to pagepage•Page
The page that was updated.
- Anchor to userErrorsuser•[Page
Errors Update User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Anchor to InterfacesInterfaces
- •interface
- •interface
- •interface
- •interface