create_product
Create new products on Shopify by defining titles, descriptions, images, variants, and more using structured input data within the MCP server.
Instructions
新しい商品を作成する
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body_html | No | 商品の説明(HTML形式) | |
images | No | 画像 | |
options | No | オプション | |
product_type | No | 商品タイプ | |
status | No | ステータス | active |
tags | No | タグ(カンマ区切り) | |
title | Yes | 商品名 | |
variants | No | バリエーション | |
vendor | No | ベンダー名 |
Input Schema (JSON Schema)
{
"properties": {
"body_html": {
"description": "商品の説明(HTML形式)",
"type": "string"
},
"images": {
"description": "画像",
"items": {
"properties": {
"alt": {
"description": "代替テキスト",
"type": "string"
},
"src": {
"description": "画像URL",
"type": "string"
}
},
"required": [
"src"
],
"type": "object"
},
"type": "array"
},
"options": {
"description": "オプション",
"items": {
"properties": {
"name": {
"description": "オプション名",
"type": "string"
},
"position": {
"description": "オプション順番",
"position": "number"
},
"values": {
"description": "オプション値",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"position",
"values"
],
"type": "object"
},
"type": "array"
},
"product_type": {
"description": "商品タイプ",
"type": "string"
},
"status": {
"default": "active",
"description": "ステータス",
"enum": [
"active",
"draft",
"archived"
],
"type": "string"
},
"tags": {
"description": "タグ(カンマ区切り)",
"type": "string"
},
"title": {
"description": "商品名",
"type": "string"
},
"variants": {
"description": "バリエーション",
"items": {
"properties": {
"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"
}
},
"required": [
"price"
],
"type": "object"
},
"type": "array"
},
"vendor": {
"description": "ベンダー名",
"type": "string"
}
},
"required": [
"title"
],
"type": "object"
}