Shopify Custom icon

Shopify Custom

Shopify Admin GraphQL node with metafields and definitions support

Draft Order → Update

AI-generated

Summary

Update a Shopify draft order by its global ID, with optional email, note, tags, and line item changes. Choose simplified, raw, or selected-field output; authentication can use Admin API credentials or OAuth2.

Inputs

  • authentication — Select Admin API credentials or OAuth2 to authorize access to the store.
  • draftOrderId (required) — The draft order's global Shopify ID, such as a gid://shopify/... ID.
  • email — Email address to set on the draft order.
  • note — Note to set on the draft order.
  • tags — Comma-separated tags to set on the draft order.
  • lineItems — Optional list of line items, each requiring a global product variant ID and quantity (minimum 1).
  • outputMode — Choose Simplified, Raw, or Selected Fields output. Defaults to Simplified.
  • selectedFields — Comma-separated fields to include when Output Mode is Selected Fields; the UI example is ID,title,status.

Output shape

A single draft-order result per input item.

The selected output mode controls the returned representation. The source pack provides registry and output-mapper signatures but omits their bodies, so the exact simplified fields and raw response envelope are not shown.

Links

Discussion