Shopify Custom icon

Shopify Custom

Shopify Admin GraphQL node with metafields and definitions support

Product Variant → Get Many

AI-generated

Summary

Retrieve Shopify product variants, optionally filtered by a Shopify search query and sorted. Fetch all pages or a limited number of results, with optional additional fields and metafields.

Inputs

  • authentication — Choose Admin API credentials (default) or OAuth2 to authenticate with the store.
  • getAll — Fetch all pages when enabled; defaults to true.
  • limit — Maximum results to return when Get All is disabled. Defaults to 50; allowed range is 1–250.
  • paginationOptions.afterCursor — Optional cursor to continue from a specific position.
  • paginationOptions.query — Optional filter using Shopify search syntax.
  • paginationOptions.sorting.sortKey — Sort by ID, position, SKU, updated time, or inventory quantity. Defaults to ID.
  • paginationOptions.sorting.reverse — Reverse the sort order; defaults to false.
  • paginationOptions.metafields.includeMetafields — Include metafields and their values; defaults to false.
  • paginationOptions.metafields.selectedMetafields — Optional metafield definitions to request when metafields are enabled, selected from the list or supplied through an expression.
  • paginationOptions.metafields.resolveMetafieldReferences — Resolve reference-type metafields when metafields are enabled; defaults to false.
  • additionalFields — Optional fields: availableForSale, barcode, compareAtPrice, image (deprecated), inventoryItem, inventoryQuantity, media, productHandle, and taxable.
  • outputMode — Choose Simplified (default), Raw, or Selected Fields output.
  • selectedFields — Specify fields to retain when using Selected Fields output.

Output shape

A list of product variants, with output representation controlled by Output Mode.

Results are governed by the pagination settings and requested additional fields or metafields. The signature-only source does not establish the exact default variant fields, raw response envelope, or pagination metadata returned.

Links

Discussion