Shopify Python MCP Server

update_product

商品を更新する

Input Schema

NameRequiredDescriptionDefault
body_htmlNo商品の説明(HTML形式)
imagesNo画像
optionsNoオプション
product_idYes商品ID
product_typeNo商品タイプ
statusNoステータス
tagsNoタグ(カンマ区切り)
titleNo商品名
variantsNoバリエーション
vendorNoベンダー名

Input Schema (JSON Schema)

{ "properties": { "body_html": { "description": "商品の説明(HTML形式)", "type": "string" }, "images": { "description": "画像", "items": { "properties": { "alt": { "description": "代替テキスト", "type": "string" }, "id": { "description": "画像ID", "type": "number" }, "src": { "description": "画像URL", "type": "string" } }, "required": [ "src" ], "type": "object" }, "type": "array" }, "options": { "description": "オプション", "items": { "properties": { "id": { "description": "オプションID", "type": "number" }, "name": { "description": "オプション名", "type": "string" }, "position": { "description": "オプション順番", "position": "number" }, "values": { "description": "オプション値", "items": { "type": "string" }, "type": "array" } }, "required": [ "name", "values" ], "type": "object" }, "type": "array" }, "product_id": { "description": "商品ID", "type": "number" }, "product_type": { "description": "商品タイプ", "type": "string" }, "status": { "description": "ステータス", "enum": [ "active", "draft", "archived" ], "type": "string" }, "tags": { "description": "タグ(カンマ区切り)", "type": "string" }, "title": { "description": "商品名", "type": "string" }, "variants": { "description": "バリエーション", "items": { "properties": { "id": { "description": "バリエーションID", "type": "number" }, "inventory_quantity": { "description": "在庫数", "type": "number" }, "option1": { "description": "オプション1の値", "type": "string" }, "option2": { "description": "オプション2の値", "type": "string" }, "option3": { "description": "オプション3の値", "type": "string" }, "price": { "description": "価格", "type": "string" }, "sku": { "description": "SKU", "type": "string" } }, "type": "object" }, "type": "array" }, "vendor": { "description": "ベンダー名", "type": "string" } }, "required": [ "product_id" ], "type": "object" }