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)

1Pick the columns

Order
Money
Customer
Shipping address
Billing address
Fulfillment
Line item

One per line or comma-separated, as namespace.key. Find them in Settings › Metafields and metaobjects › Orders.

2Which orders

Same syntax as the search box in Shopify’s Orders page.

Search sent to Shopify:

3Run it in Shopify’s GraphiQL app

  1. Open Shopify’s GraphiQL app and install it on your store with read_orders (and read_all_orders for orders older than 60 days).
  2. Paste query 1 and press Run. The reply says CREATED.
  3. Paste query 2 and run it until it says COMPLETED. Open the url in the reply to download a .jsonl file.

4Drop the result, get your CSV

Paste a quick export’s reply instead

No file yet? ·Other bulk files: JSONL to CSV

Properties

How it works

  1. Tick the columns you need. Badged ones aren’t in Shopify’s own orders CSV.
  2. Pick the date range and filters.
  3. Run the bulk query in Shopify’s free GraphiQL app and download the .jsonl file it gives you.
  4. Drop the file here: one row per line item (or per order), with each property, note attribute and metafield in its own column.
  5. Download the CSV.

Guides

Questions

Why not just use Orders › Export?

Shopify’s orders CSV has no line item properties, tracking numbers or metafields, and puts all note attributes in one cell. Its 79 columns include none of those.

Do I need an app?

Only Shopify’s free GraphiQL app, which runs the query on your store. This page builds the query and turns the result into a CSV; it never connects to your store.

How many orders can I export?

All of them. The bulk query has no page limit: Shopify prepares one file with every matching order. For a quick look at up to 250 orders, use the “Quick” tab.

Why are older orders missing?

Orders older than 60 days need the read_all_orders permission. Tick it when you install or reinstall the GraphiQL app.

What does “Access denied for bulkOperationRunQuery field” mean?

The token running the query isn’t allowed to start bulk exports. Run it in Shopify’s GraphiQL app instead, which is.

Is my data uploaded?

No. The result file is read in this browser tab and never leaves your computer.

Based on Shopify’s orders export, Shopify bulk operation docs and the Admin GraphQL Order object.

Related: Tracking Numbers Bulk Fulfiller · Invoice Generator · JSONL to CSV · Packing Slip Builder