Filtering orders using order metafields

You can filter orders using order metafields on the Orders page in your Shopify admin. For example, you can create an order handling method metafield with filter options, such as fragile, temperature sensitive, or bulky.

You can filter orders using order metafields and have a maximum of 5 definitions per order metafield definition.

Before you start

Before you can filter orders using order metafields, you need to complete the following tasks:

  1. Add your metafield definitions
  2. Add the values to orders

Supported metafield definition types

You can use the following metafield definition types to filter orders using order metafields:

  • Single line text or Single line text (list)
  • Company reference or Company reference (list)
  • Metaobject reference or Metaobject reference (list)
  • True or false

Activate order metafields filtering

To filter orders using order metafields, you need to activate the filtering setting in your metafield definitions.

Steps:

  1. From your Shopify admin, go to Settings > Metafields and metaobjects.

  2. In the Metafield definitions section, click Orders.

  3. Click the metafield definition that you want to use to filter orders.

  4. In the Options section, activate the Filter on the order list and in the Admin API (limited to 5 definitions) option.

  5. Click Save.

Filter orders using order metafields

After you create your metafield and activate the metafields filtering, you can filter orders using order metafields.

Steps:

  1. From your Shopify admin, go to Orders.

  2. Optional: In the search bar, start typing the name of a saved view, and then select the name of the view to display only the applicable orders in the orders list.

  3. In the search bar, type Metafields.

  4. In the Metafields section, select the metafield definition that you want to use to filter your orders.

  5. Optional: To save your filter view, click Save as, name your filter, and then click Save.