update-blog
Modify Shopify blog details such as title, handle, template suffix, and comment policy using the specified blog GID for targeted updates.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
blogId | Yes | The GID of the blog to update (e.g., "gid://shopify/Blog/1234567890") | |
commentPolicy | No | ||
handle | No | ||
templateSuffix | No | ||
title | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"blogId": {
"description": "The GID of the blog to update (e.g., \"gid://shopify/Blog/1234567890\")",
"minLength": 1,
"type": "string"
},
"commentPolicy": {
"enum": [
"MODERATED",
"CLOSED"
],
"type": "string"
},
"handle": {
"type": "string"
},
"templateSuffix": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"blogId"
],
"type": "object"
}