Shopify Custom icon

Shopify Custom

Shopify Admin GraphQL node with metafields and definitions support

Customer → Get

AI-generated

Summary

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

Inputs

  • authentication (required) — Choose Admin API credentials or Shopify OAuth2. Defaults to Admin API credentials.
  • customerId (required) — The Shopify global customer ID, such as gid://shopify/Customer/123.
  • returnFields — Additional fields to request: note, phone, tags, and taxExempt. All four are selected by default; core identity fields are always returned.
  • includeMetafields — Fetch customer metafields and their values. Defaults to false.
  • selectedMetafields — Select metafield definitions by name or ID when Include Metafields is enabled. The supplied source does not establish how an empty selection is handled.
  • resolveMetafieldReferences — Resolve references in reference-type metafields when Include Metafields is enabled. Defaults to false.
  • outputMode — Choose Simplified (default), Raw, or Selected Fields output.
  • selectedFields — Specify a comma-separated list of fields to retain when Output Mode is Selected Fields.

Output shape

A single customer record, with its presentation controlled by Output Mode.

Additional customer fields and metafields depend on the input selections. The source pack contains signatures only, so exact core fields, raw response structure, metafield formatting, and missing-customer behavior are not shown.

Links

Discussion