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
- Install it once from shopify-graphiql-app.shopifycloud.com: enter your store address, tick the access listed here, click Install and approve.
- Then open it any time from Apps › Shopify GraphiQL App in your admin.
Find the namespace and key
- In Shopify, go to Settings › Metafields and metaobjects › Orders.
- Click the metafield. Its namespace and key are shown as namespace.key, for example custom.delivery_date.
- Add it in the builder’s Metafields box.
Run the export
- In the Orders Export Builder, tick the fields you need (properties, tracking, metafields…) and set the date range.
- 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.
- Copy step 1 (“Start the export”) into GraphiQL and press Run. The reply says status CREATED.
- Copy step 2 (“Check progress”) and run it until status says COMPLETED. Open the url in the reply; it downloads a .jsonl file.
- 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.