Our first app, Migrato, is live on the Shopify App Store - free plan, no credit card. Take a look
Home / Documentation / Filter Draft Orders
Draft Orders Import/Export

Filter Draft Orders

Migrato allows you to export specific Shopify draft orders by applying filters before starting an export. This is especially useful when your store contains a large draft orders catalog and you only need to export products that meet specific criteria.

You can combine multiple filters to create a targeted Draft Order export based on available Draft Order fields such as ID, creation date, update date, tags, status, customer tax exemption, and line-item information.

Migrato – Draft Order Export Filters
Migrato – Draft Order Export Filters

How to Filter Draft Orders for Export

Follow these steps to export draft orders based on specific conditions.

Step 1: Open Draft Order Export

  1. Open Shopify Admin.
  2. Go to Apps → Migrato.
  3. Open the Export section.
  4. Select Draft Orders as the entity you want to export.
Migrato – Draft Orders Export – Select Draft Orders
Migrato – Draft Orders Export – Select Draft Orders

Step 2: Select Draft Orders Fields

Select the draft orders fields and information you want to include in the export file.

You can select the required fields based on your export requirements.

Migrato – Draft Orders Export – Select Fields
Migrato – Draft Orders Export – Select Fields

Step 3: Add Draft Order Filters

Open the Filters section and click Add New Filter.

  1. Select the Draft Order field you want to filter.
  2. Select the appropriate condition available for the selected field
  3. Enter or select the required value
  4. Add additional filters if required.
Migrato – Draft Order Export – Add Draft Order Filter
Migrato – Draft Order Export – Add Draft Order Filter

Step 4: Review the Filters

Review all the selected filter conditions before starting the export.

For example, you can create an export using:

  • Status = Open
  • Tags = wholesale
  • Line: Vendor = Vendor A

This allows you to export only the draft orders matching the selected criteria.

Migrato – Draft Order Export – Multiple Filters
Migrato – Draft Order Export – Multiple Filters

Step 5: Start the Export

Once the filters have been configured:

  1. Review the selected fields.
  2. Review the filter conditions.
  3. Confirm the export settings.
  4. Start the export.

Migrato will process the export based on the selected filter conditions.

Migrato – Draft Order Export – Start Export
Migrato – Draft Order Export – Start Export

Available Draft Orders Filters

Filter Description Available Conditions
ID Filter draft orders using their Shopify product ID. Multiple IDs can be entered where supported. Equals to any of; Not equal to any of
Created At Filter draft orders based on when they were created. On or after; On or before; Date range; Relative date
Updated At Filters Draft Orders based on the date and time when they were last updated. On or after; On or before; Date range; Relative date
Tags Filters Draft Orders based on their assigned tags. Equals to any of; Not equal to any of; Contains any; Contains none
Status Filters Draft Orders based on their current status. Open; Invoice Sent; Completed; Cancelled
Customer Tax Exempt Filters Draft Orders based on whether the associated customer is tax exempt. Yes; No
Line: Type Filters Draft Orders based on the type of line item. Equals to any of; Not equal to any of
Line: Title Filters Draft Orders based on the title of a line item. Equals to any of; Contains any; Contains none
Line: Name Filters Draft Orders based on the name of a line item. Equals to any of; Contains any; Contains none
Line: Variant ID Filters Draft Orders based on the Shopify variant ID associated with a line item Equals to any of; Not equal to any of
Line: Variant Title Filters Draft Orders based on the variant title of a line item. Equals to any of; Contains any; Contains none
Line: SKU Filters Draft Orders based on the SKU of a line item. Equals to any of; Contains any; Contains none
Line: Vendor Filters Draft Orders based on the vendor associated with a line item. Equals to any of; Not equal to any of; Contains any; Contains none
Available Draft Order Filter Options
Available Draft Order Filter Options
i

Note: The exact filters and conditions available in your Migrato account may vary depending on the current app version and supported Shopify data fields.

Filter Conditions

Migrato provides different conditions depending on the selected product field.

Text-Based Conditions

Condition Description
Equals to any of Exports draft orders where the selected field matches any of the specified values.
Not equal to any of Exports draft orders where the selected field does not match any of the specified values.
Contains any Exports draft orders where the selected field contains any of the specified values.
Contains none Exports draft orders where the selected field does not contain any of the specified values.
Contains Exports Draft Orders where the selected field contains the specified text.
Does not contain Exports Draft Orders where the selected field does not contain the specified text

Date-Based Conditions

Condition Description
On or after Exports Draft Orders created or updated on or after the selected date.
On or before Exports Draft Orders created or updated on or before the selected date
Date range Exports Draft Orders whose relevant date falls within the selected date range
Relative date Exports Draft Orders based on a relative time period, such as the last few days, weeks, or months.

Status Conditions

Condition Description
Open Exports Draft Orders with an Open status
Invoice Sent Exports Draft Orders where the invoice has been sent
Completed Exports Draft Orders with a Completed status.
Cancelled Exports Draft Orders with a Cancelled status.

Boolean Conditions

Description Condition
Yes Exports Draft Orders where the selected setting is enabled or true
No Exports Draft Orders where the selected setting is disabled or false

Example 1: Export Products by Draft Order ID

To export specific draft orders, use the ID filter.

Select:

ID → Equals to any of

Enter the required draft order IDs.

For example:

47372723, 75276438, 82837828

Migrato will export draft orders matching the specified draft order IDs.

Migrato – Filter Draft Orders by Draft Order ID
Migrato – Filter Draft Orders by Draft Order ID

Example 2: Export Draft Orders by Status

You can export Draft Orders based on their status.

For example:

Status → Open

Migrato will export Draft Orders that currently have an Open status.

Migrato – Filter Draft Orders by Status
Migrato – Filter Draft Orders by Status

Example 3: Export Draft Orders Created Within a Date Range

To export Draft Orders created during a specific period:

Created At → Date Range

For example:

September 01, 2026 → October 01, 2026

Migrato will export Draft Orders created within the selected date range.

Migrato – Draft Order Created At Date Range Filter
Migrato – Draft Order Created At Date Range Filter

Example 4: Export Recently Updated Draft Orders

You can use a relative date filter to export recently updated Draft Orders

For example:

Updated At → Relative Date → Last 30 Days

Migrato will export products matching the selected vendors.

Migrato – Draft Order Updated At Relative Date Filter
Migrato – Draft Order Updated At Relative Date Filter

Example 5: Export Draft Orders by Customer Tax Status

You can filter Draft Orders based on whether the associated customer is tax exempt.

For example:

Customer Tax Exempt → No

Migrato will export Draft Orders associated with customers marked as tax exempt.

Migrato – Draft Order Customer Tax Exempt Filter
Migrato – Draft Order Customer Tax Exempt Filter

Example 6: Export Draft Orders by Line Item SKU

You can filter Draft Orders based on the SKU of their line items.

For example:

Line: SKU → not equals any → TSHIRT

Migrato will export Draft Orders that contain line items matching the specified SKU condition.

Migrato – Draft Order Line SKU Filter
Migrato – Draft Order Line SKU Filter

Example 7: Export Draft Orders by Vendor

You can filter Draft Orders based on the vendor associated with their line items.

For example:

Line: Vendor → Contains to any of → Vendor A

Migrato will export Draft Orders containing line items associated with the selected vendor.

Migrato – Draft Order Line Vendor Filter
Migrato – Draft Order Line Vendor Filter

Using Multiple Filters

Migrato allows you to add multiple filters to create a more targeted Draft Order export.

For example, you can combine:

Status = Open

Customer Tax Exempt = No

Line: Vendor = Vendor A

This allows you to export only Draft Orders that match all the selected criteria

Migrato – Multiple Draft Order Filters
Migrato – Multiple Draft Order Filters
i

Tip: When using multiple filters, review each condition carefully before starting the export to ensure the resulting Draft Order dataset matches your requirements

Ready to run this on your own store?

Migrato's free plan handles 25 items per job - enough to follow any page in these docs end to end before you pay anything.

Free plan forever No credit card 2-minute setup Uninstall anytime