Get sitemap URLs
Lists every storefront URL your sitemap can contain, including URLs you have hidden from it, for the current theme (or application_theme_id). Each entry carries the resource behind the URL, any country routes the theme defines for it, whether it is shown in the sitemap (active), and whether the resource allows search engines to index it (indexable). disabled is true when the whole sitemap is switched off. Requires a company admin Bearer token with the sitemap.view permission. Results are offset-paginated with page and per_page (default 50, max 100), and meta.pagination reports current_page, total_pages, total_count, and per_page. Pass fetch_all=true to receive every URL on one page; a sitemap with more than 10,000 URLs then responds 413. The URL list is cached for up to five minutes, so a newly published resource can take that long to appear.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Page number, starting at 1. Ignored when fetch_all is true.
x >= 1URLs per page. Ignored when fetch_all is true.
1 <= x <= 100Case-insensitive substring match against the URL.
Limit to one kind of URL, matched by path (singular and plural forms are both accepted). custom returns URLs that match no known resource. Unrecognised values are ignored.
Sort key. Unrecognised values fall back to path.
path, default_resource_title, include_in_sitemap, country_route_count asc, desc true returns only URLs shown in the sitemap; false only hidden ones.
Limit to URLs with (with) or without (without) theme country routes.
with, without Limit to URLs that have a country route for this region code (case-insensitive).
Theme whose country routes are reported. Defaults to the company's current theme.
Return every URL on a single page instead of paginating. Responds 413 when the sitemap has more than 10,000 URLs.