BlogPost
Representation of a blog post
type BlogPost {
id: Int!
active: Boolean!
category: BlogCategory
contents: [BlogPostContent!]
link: [Link]
associations: [BlogPostAssociation!]
}
Fields
id ● Int!
Blog post ID
active ● Boolean!
Active status of the blog post
category ● BlogCategory
Category the blog post belongs to
contents ● [BlogPostContent!]
Contents of the blog post
link ● [Link]
Link to the blog post
associations ● [BlogPostAssociation!]
Associations field can contain products, brands, categories associated with the blog post.
Example
{
"category": {
"name": [
{
"language": "EN",
"value": "String"
}
],
"updatedAt": "2024-05-03T11:52:33Z"
},
"contents": [
{
"media": {
"primaryImage": {
"link": [
{
"alternateUrls": [
{}
],
"redirect": {}
}
]
}
},
"authors": [
{}
],
"tags": [
{}
]
}
],
"associations": [
{
"ids": []
}
]
}