Actions83
- Product Actions
- Product Variant Actions
- Collection Actions
- Article Actions
- Blog Actions
- Customer Actions
- Order Actions
- Draft Order Actions
- Inventory Actions
- File Actions
- Publication Actions
- Translation Actions
- Taxonomy Actions
- Metaobject Actions
- Metaobject Definition Actions
- Metafield Value Actions
- Metafield Definition Actions
- Service Actions
Draft Order → Get
AI-generatedSummary
Retrieve a Shopify draft order by its global ID, with optional field groups and metafields. Choose simplified, raw, or selected-fields output for the returned data.
Inputs
- Authentication — Choose Admin API credentials or OAuth2 authentication for the Shopify store.
- Draft Order ID (required) — The draft order’s Shopify global ID, such as
gid://shopify/.... - Fields to Return — Select additional field groups to include; Note and Tags are selected by default. Core identity fields are always returned.
- Include Metafields — Enable fetching the draft order’s metafields and their values.
- Metafield Definition Names or IDs — When metafields are enabled, choose definitions or specify IDs using an expression.
- Resolve Metafield References — When metafields are enabled, choose whether to resolve reference-type metafields.
- Output Mode — Choose Simplified, Raw, or Selected Fields output.
- Selected Fields — In Selected Fields mode, provide comma-separated field paths to include, for example
ID,title,status.
Output shape
A list of n8n items containing the retrieved draft order data.
Output fields depend on the selected field groups, metafield options, and output mode. Selected Fields mode limits the output to the requested fields.