updateBlogPost #
updateBlogPost(postId: String, params: UpdateBlogPostParams) BlogPost
Example #
mutation updateBlogPost($postId: String!, $params: UpdateBlogPostParams!){
updateBlogPost(postId: $postId, params: $params) {
id
title
slug
bannerImage
bannerImageFull
content
tags
isPublished
isFeatured
views
favourites
comments {
id
content
customer {
email
phone
firstName
lastName
profilePicture
profilePictureFull
}
createdAt
updatedAt
}
createdAt
updatedAt
}
}