get_product
Fetch a product's complete data by GID or numeric ID, returning header fields, inventory totals, images, media, and variants with prices, SKUs, and inventory GIDs for downstream inventory management.
Instructions
Fetch a single product's full record by GID or numeric ID. Returns header fields (title, handle, status, vendor, productType, description, tags), inventory totals, the first 10 images and 10 media items, and the first 20 variants with their prices, SKUs, inventory quantities, and inventoryItem GIDs. Returned as JSON for downstream tooling. The variant inventoryItem GIDs are needed by set_inventory_quantity. For more than 20 variants, follow up with list_variants.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product GID (gid://shopify/Product/123...) or numeric ID |