Shopify Custom icon

Shopify Custom

Shopify Admin GraphQL node with metafields and definitions support

Collection → Get

AI-generated

Summary

Retrieve a Shopify collection by its global ID, with optional additional field groups and metafields. Choose simplified, raw, or selected-field output for use in subsequent workflow steps.

Inputs

  • authentication — Choose Admin API credentials (default) or OAuth2 to authenticate with the store.
  • collectionId (required) — Shopify global collection ID, such as gid://shopify/Collection/123.
  • returnFields — Additional field groups to request: description HTML, products count, smart collection rules, SEO, and template suffix. Defaults to description HTML, SEO, and template suffix; core identity fields are always returned.
  • includeMetafields — Fetch metafields and their values. Defaults to false.
  • selectedMetafields — Metafield definitions to request when Include Metafields is enabled, chosen from the available options or supplied through an expression.
  • resolveMetafieldReferences — Request resolution of reference-type metafields when Include Metafields is enabled. Defaults to false.
  • outputMode — Choose Simplified (default), Raw, or Selected Fields output.
  • selectedFields — Comma-separated fields to include when Output Mode is Selected Fields.

Output shape

A single collection record, shaped according to the selected output mode.

Additional fields and metafields depend on the requested options. The signature-only source does not establish the exact raw envelope, behavior for an unmatched ID, or what an empty metafield selection returns.

Links

Discussion