list_variants
Retrieve all variants of a product by product ID, showing each SKU's price, inventory, and option values.
Instructions
List all variants of a product. Each variant represents a specific purchasable SKU with its own price, inventory, and options.
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": {
"product_id": "<product_id>"
},
"name": "list_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | The numeric Shopify product ID. | |
| limit | No | Number of variants to return (1-250). Default: 50. | |
| page_info | No | Cursor for pagination. |