Shopify orders export guide

Export Shopify orders with order metafields

What you’ll need

  • Shopify’s free GraphiQL app (with read_orders; read_all_orders for orders older than 60 days access)

    How to get this: Shopify’s free GraphiQL app
    1. Install it once from shopify-graphiql-app.shopifycloud.com: enter your store address, tick the access listed here, click Install and approve.
    2. Then open it any time from Apps › Shopify GraphiQL App in your admin.

    Step-by-step guide (opens in a new tab)

Build the export

Find the namespace and key

  1. In Shopify, go to Settings › Metafields and metaobjects › Orders.
  2. Click the metafield. Its namespace and key are shown as namespace.key, for example custom.delivery_date.
  3. Add it in the builder’s Metafields box.

Run the export

  1. In the Orders Export Builder, tick the fields you need (properties, tracking, metafields…) and set the date range.
  2. Install Shopify’s GraphiQL app on your store (shopify-graphiql-app.shopifycloud.com) with read_orders ticked. Tick read_all_orders too if you need orders older than 60 days.
  3. Copy step 1 (“Start the export”) into GraphiQL and press Run. The reply says status CREATED.
  4. Copy step 2 (“Check progress”) and run it until status says COMPLETED. Open the url in the reply; it downloads a .jsonl file.
  5. Drop that .jsonl file into the builder and download your CSV.

Questions

What about app metafields?

Metafields an app keeps in its own reserved namespace (starting with $app) can only be read by that app.

More guides