Skip to main content

Content

Representation of full information for content on a webpage

type Content {
name: String
menu: PageMenu
language: String
content: JSON!
externalUrl: String
active: Boolean
meta: Meta
link: Link
accessToken: String
updatedAt: DateTime
createdAt: DateTime
}

Fields​

name ● String​

The internal name of the content

In which menu should this content be displayed

language ● String​

The language of the content

content ● JSON!​

The full contents to be presented as a json object

externalUrl ● String​

The external url of the content

active ● Boolean​

Is the content active

meta ● Meta​

The meta information of the content

The link to the content

accessToken ● String​

Token that makes this content readable while it is unpublished, as /preview-page/[access_token]. Admin only: it grants access to content the shop has not published.

updatedAt ● DateTime​

When was the content last updated

createdAt ● DateTime​

When was the content created

Example​

{
"menu": {},
"meta": {
"title": [
{
"language": "EN",
"value": "String"
}
]
},
"link": {
"alternateUrls": [
{}
],
"redirect": {}
},
"updatedAt": "2024-05-03T11:52:33Z"
}