Shopify Custom icon

Shopify Custom

Shopify Admin GraphQL node with metafields and definitions support

Product → Get

AI-generated

Summary

Fetch a Shopify product by its global ID, with selectable field groups and optional metafields and reference resolution.

Inputs

  • authentication — Choose Admin API credentials (default) or OAuth2 for store authentication.
  • productId (required) — Shopify global product ID, such as gid://shopify/Product/123.
  • includeMetafields — Include metafields and their values. Defaults to false.
  • selectedMetafields — When including metafields, select metafield definitions from the list or supply IDs through an expression.
  • resolveMetafieldReferences — Resolve references for reference-type metafields when metafields are included. Defaults to false.
  • returnFields — Choose additional field groups: category, description HTML, product type, SEO, tags, vendor, variants, variant inventory item, or variant inventory quantity. Defaults to category, description HTML, product type, SEO, tags, and vendor; core identity fields are always returned.
  • variantsLimit — Limit variants returned when the Variants field group is selected. Defaults to 50; allowed range is 1–250.
  • outputMode — Choose Simplified (default), Raw, or Selected Fields output.
  • selectedFields — Specify comma-separated fields to retain when using Selected Fields output.

Output shape

A single product record, formatted according to the selected output mode.

Optional field groups and metafields depend on the input selections. The source pack contains signatures only, so exact output nesting, missing-product behavior, and metafield selection defaults cannot be verified.

Links

Discussion