---
title: SitemapType - Storefront API
description: The types of resources potentially present in a sitemap.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/storefront/latest/enums/SitemapType'
  md: 'https://shopify.dev/docs/api/storefront/latest/enums/SitemapType.md'
api_name: storefront
api_type: graphql
type: enum
---

# Sitemap​Type

enum

The types of resources potentially present in a sitemap.

## Valid values

* ARTICLE

  Articles present in the sitemap.

* BLOG

  Blogs present in the sitemap.

* COLLECTION

  Collections present in the sitemap.

* METAOBJECT

  Metaobjects present in the sitemap. Only metaobject types with the [`renderable` capability](https://shopify.dev/docs/apps/build/custom-data/metaobjects/use-metaobject-capabilities#render-metaobjects-as-web-pages) are included in sitemap.

* PAGE

  Pages present in the sitemap.

* PRODUCT

  Products present in the sitemap.

***

## Fields

* [Query​Root.sitemap(type)](https://shopify.dev/docs/api/storefront/latest/objects/QueryRoot#field-QueryRoot.fields.sitemap.arguments.type)

  ARGUMENT

  The entry point for all Storefront API queries. Provides access to shop resources including products, collections, carts, and customer data, as well as content like articles and pages. This query acts as the public, top-level type from which all queries must start.

  Use individual queries like [`product`](https://shopify.dev/docs/api/storefront/current/queries/product) or [`collection`](https://shopify.dev/docs/api/storefront/current/queries/collection) to fetch specific resources by ID or handle. Use plural queries like [`products`](https://shopify.dev/docs/api/storefront/current/queries/products) or [`collections`](https://shopify.dev/docs/api/storefront/current/queries/collections) to retrieve paginated lists with optional filtering and sorting. The [`search`](https://shopify.dev/docs/api/storefront/current/queries/search) and [`predictiveSearch`](https://shopify.dev/docs/api/storefront/current/queries/predictiveSearch) queries enable storefront search functionality.

  Explore queries interactively with the [GraphiQL explorer and sample query kit](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/api-exploration).

* [sitemap.type](https://shopify.dev/docs/api/storefront/latest/queries/sitemap#arguments-type)

  ARGUMENT

***

## Map

### Arguments with this enum

* [Query​Root.sitemap(type)](https://shopify.dev/docs/api/storefront/latest/objects/QueryRoot#field-QueryRoot.fields.sitemap.arguments.type)
* [sitemap.type](https://shopify.dev/docs/api/storefront/latest/queries/sitemap#arguments-type)
