query GetLoyaltyPage($locale: String!, $url: String!) { all_loyalty_page(where: { url: $url, locale: $locale }) { items { content { ... on LoyaltyPageContentLoyaltyLevels { __typename loyalty_levels { heading sub_heading level_card { loyalty_level } } } ... on LoyaltyPageContentCardGrid { __typename card_grid { heading subheading cards { referenceConnection { edges { node { ... on LoyaltyPage { url } ... on ContentPage { web { url } } ... on AccountPage { url } } } } heading subheading } } } } title sidebar { ... on LoyaltyPageSidebarLoyaltyJoinContact { __typename loyalty_join_contact { title contact { ... on LoyaltyPageSidebarLoyaltyJoinContactBlockContactContact { __typename contact { contact_fields } } } login_button_text body { json embedded_itemsConnection { edges { node { ... on SysAsset { title dimension { width height } file_size filename url } } } } } } } ... on LoyaltyPageSidebarContent { __typename content { content { json embedded_itemsConnection { edges { node { ... on SysAsset { title url file_size filename dimension { width height } } } } } } } } } web { breadcrumbs { title parents { href title } } original_url seo_metadata { description title imageConnection { edges { node { file_size filename dimension { height width } url title } } } } } system { uid created_at updated_at } } } }