Filtering orders by pickup in store location

Topic summary

A user needed to filter orders by pickup location and tag them accordingly in Shopify Flow.

Initial Questions:

  • How to identify orders with “Pickup in store” shipping method
  • How to retrieve the selected pickup location’s name
  • Whether alternatives to Flow exist for filtering pickup orders by location

Solution Provided:

  • Use the “Fulfillment order ready to fulfill” trigger (not order creation)
  • Check delivery method with: fulfillmentOrder.deliveryMethod.methodType == "PICK_UP"
  • Retrieve location name using: {{fulfillmentOrder.assignedLocation.name}}

Key Clarification:
Fulfillment orders are created when line items are assigned to locations—this happens before actual fulfillment, making this trigger suitable even for early-stage tagging.

Resolution:
The user successfully implemented the solution using the recommended trigger and variable to tag orders with their pickup location names.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

Hello, I want to filter orders based on the location for pickup selected.

I am trying to develop a Flow that tags the order with the location name, and I’m having trouble finding some information in the Order object:

  • What field can I use to check if the order has the “Pickup in store” shipping method selected?
  • What field can I use to obtain the selected pickup location’s name

I would also like to know if there is another way, without using Flow, to filter pickup in store orders by their selected location.

Thank you very much,

1 Like

The path depends on the trigger. Usually with fulfillment orders you would use “Fulfillment order ready to fulfill”. The variable is located at fulfillmentOrder.deliveryMethod.methodType == “PICK_UP”.

One order can have multiple fulfillment orders, so this runs per fulfillment order.

In our case we need to do it on order creation, so the tag is added before fulfillment.

A fulfillment order is when an assigned of line items to locations. It’s not a fulfillment. So you should still use that trigger

Thank you, I’ve used that trigger and added tags using the {{fulfillmentOrder.assignedLocation.name}} variable to get the Location’s name