Shopify Custom icon

Shopify Custom

Shopify Admin GraphQL node with metafields and definitions support

Order → Get

AI-generated

Summary

Fetch a Shopify order by its global ID, with configurable detail groups and optional metafields. Choose simplified, raw, or selected-field output for downstream workflow steps.

Inputs

  • authentication — Choose Admin API credentials (default) or OAuth2 for the Shopify connection.
  • orderId (required) — Shopify global order ID, such as gid://shopify/Order/123.
  • includeMetafields — Fetch metafields and their values when enabled; defaults to false.
  • selectedMetafields — Select metafield definitions by name or ID when Include Metafields is enabled.
  • resolveMetafieldReferences — Resolve reference-type metafields when metafields are included; defaults to false.
  • orderReadOptions — Configure detail groups and their limits.
  • detailGroups — Choose customer, discount applications, fulfillments, line items, refunds, returns, risk assessment, shipping lines, and transactions. The declared default includes all nine groups.
  • discountApplicationsLimit — Limit discount applications when that group is included; default 50.
  • fulfillmentLineItemsLimit — Limit fulfillment line items when fulfillments are included; default 50.
  • fulfillmentsLimit — Limit fulfillments when that group is included; default 25.
  • lineItemsLimit — Limit order line items when that group is included; default 100.
  • refundLineItemsLimit — Limit refund line items when refunds are included; default 50.
  • refundsLimit — Limit refunds when that group is included; default 50.
  • returnLineItemsLimit — Limit return line items when returns are included; default 50.
  • returnsLimit — Limit returns when that group is included; default 50.
  • shippingLinesLimit — Limit shipping lines when that group is included; default 50.
  • transactionsLimit — Limit transactions when that group is included; default 50. All detail limits accept values from 1 to 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 order result, formatted according to the selected output mode.

Included details depend on the chosen groups, limits, and metafield options. The signature-only source does not establish exact returned fields, raw response structure, pagination behavior, or handling of an unknown order ID.

Links

Discussion