get-product-by-id
Retrieve a specific Shopify product by ID to access its variants, images, metafields, and inventory details.
Instructions
Get detailed information about a specific product by ID, including all variants, images, metafields, and inventory.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productId": "<productId>"
},
"name": "get-product-by-id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | Shopify product ID or GID |