Skip to main content

HomePage

Representation of a homepage

type HomePage {
id: Int!
name: String
language: String
content: JSON!
meta: Meta
active: Boolean
accessToken: String
timeLimit: TimeInterval
updatedAt: DateTime
}

Fields​

id ● Int!​

The internal id of the homepage

name ● String​

The internal name of the homepage

language ● String​

The language of the homepage

content ● JSON!​

The content of the homepage. Presented as json

meta ● Meta​

The meta information of the homepage

active ● Boolean​

Is the homepage active

accessToken ● String​

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

timeLimit ● TimeInterval​

During what time is the homepage active

updatedAt ● DateTime​

When was the homepage last updated

Example​

{
"meta": {
"title": [
{
"language": "EN",
"value": "String"
}
]
},
"timeLimit": {
"from": "2024-05-03T11:52:33Z"
}
}