API-Referenz-Navigation
Storefront Content
StorefrontStorefront Content groups 4 operations on the storefront tier.
Storefront tier. Reachable anonymously; a public vnstss_ token may be sent to identify the storefront.
/api/{version}/content/pages
Every published page, ordered by position. Unpaged, and without body_html; read a single page for its body.
vnstss_ token may be sent to identify the storefront.Antworten
curl -X GET \
'https://<your-shop-domain>/api/2026-04-01/content/pages' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstss_<token>'{
"pages": [
{
"id": "00000000-0000-0000-0000-000000000000",
"handle": "string",
"title": "string",
"body_html": "string",
"position": 1,
"show_in_header": true,
"show_in_footer": true,
"meta_description": "string",
"meta_keywords": "string"
}
]
}/api/{version}/content/pages/{id}
One published page, with its body.
vnstss_ token may be sent to identify the storefront.Pfad-Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| id erforderlich | string (uuid) |
Antworten
- 200StorefrontPageResponseOK
- 404ApiErrorResponseNot Found
curl -X GET \
'https://<your-shop-domain>/api/2026-04-01/content/pages/<id>' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstss_<token>'{
"page": {
"id": "00000000-0000-0000-0000-000000000000",
"handle": "string",
"title": "string",
"body_html": "string",
"position": 1,
"show_in_header": true,
"show_in_footer": true,
"meta_description": "string",
"meta_keywords": "string"
}
}/api/{version}/content/articles
Every published blog article. Unpaged.
vnstss_ token may be sent to identify the storefront.Antworten
curl -X GET \
'https://<your-shop-domain>/api/2026-04-01/content/articles' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstss_<token>'{
"articles": [
{
"id": "00000000-0000-0000-0000-000000000000",
"title": "string",
"summary_html": "string",
"body_html": "string",
"published_at": "2026-04-01T12:00:00Z"
}
]
}/api/{version}/content/articles/{id}
One published article, with its body.
vnstss_ token may be sent to identify the storefront.Pfad-Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| id erforderlich | string (uuid) |
Antworten
- 200StorefrontArticleResponseOK
- 404ApiErrorResponseNot Found
curl -X GET \
'https://<your-shop-domain>/api/2026-04-01/content/articles/<id>' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstss_<token>'{
"article": {
"id": "00000000-0000-0000-0000-000000000000",
"title": "string",
"summary_html": "string",
"body_html": "string",
"published_at": "2026-04-01T12:00:00Z"
}
}Schemas
ApiErrorResponse
The error envelope every non-2xx response from this API uses. Documentation shape: actions build it as an anonymous object, so this type exists to give the OpenAPI document a schema to point at.
errorsstringnullableHuman-readable description of what went wrong, e.g.
Not Found,Invalid page_info.codestringnullableMachine-readable error code. Only a few endpoints (checkout) emit one; omitted everywhere else.
StorefrontArticleDto
Storefront representation of a published blog article. body_html is only present on
single-article reads.
idstring (uuid)titlestringnullablesummary_htmlstringnullablebody_htmlstringnullablepublished_atstring (date-time)
StorefrontArticleListResponse
Envelope returned by GET /content/articles. Unpaged: every published blog article is returned in
one response.
The published articles. Always present; an empty array when the shop has none. As with pages, the article body is only populated on the single read.
StorefrontArticleResponse
Envelope returned by GET /content/articles/{id}.
articleStorefrontArticleDto
StorefrontPageDto
Storefront representation of a published page. body_html is only present on single-page reads.
idstring (uuid)handlestringnullabletitlestringnullablebody_htmlstringnullablepositioninteger (int32)show_in_headerbooleanshow_in_footerbooleanmeta_descriptionstringnullablemeta_keywordsstringnullable
StorefrontPageListResponse
Envelope returned by GET /content/pages. Unpaged: every published page of the shop is returned in
one response, ordered by position.
The published pages. Always present; an empty array when the shop has none.
body_htmlis not populated on this read — fetch the single page for its body.
