Anchor to pages
querypages
Returns a paginated list of the shop's content pages. Pages are custom HTML content like "About Us", "Contact", or policy information that merchants display outside their product catalog.
Anchor to Arguments
•PageConnection!PageConnection arguments
- after (String)
- before (String)
- first (Int)
- last (Int)
- query (String)
- reverse (Boolean)
- sortKey (PageSortKeys)
- Anchor to afterafter•String
Returns the elements that come after the specified cursor.
- Anchor to beforebefore•String
Returns the elements that come before the specified cursor.
- Anchor to firstfirst•Int
Returns up to the first
nelements from the list.- Anchor to lastlast•Int
Returns up to the last
nelements from the list.- Anchor to queryquery•String
Apply one or multiple filters to the query. Refer to the detailed search syntax for more information about using filters.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Page
Key Sort Keys Default:ID Sort the underlying list by the given key.
Was this section helpful?
Anchor to Possible returnsPossible returns
- edges ([PageEdge!]!)
- nodes ([Page!]!)
- pageInfo (PageInfo!)
- Anchor to edgesedges•[Page
Edge!]! non-null A list of edges.
- Anchor to nodesnodes•[Page!]!non-null
A list of the nodes contained in PageEdge.
- Anchor to pageInfopage•Page
Info Info! non-null Information to aid in pagination.
Was this section helpful?