Skip to main content
Glama

Shopify MCP Server

get-variants-by-ids

Retrieve Shopify product variants by specifying their unique IDs using the MCP server's GraphQL API, simplifying inventory and data management.

Instructions

Get product variants by their IDs

Input Schema

NameRequiredDescriptionDefault
variantIdsYesArray of variant IDs to retrieve

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "variantIds": { "description": "Array of variant IDs to retrieve", "items": { "type": "string" }, "type": "array" } }, "required": [ "variantIds" ], "type": "object" }

You must be authenticated.

Other Tools from Shopify MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amir-bengherbi/shopify-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server