Get the lines of an order from only one location

raulvaquerizo
Shopify Partner
10 3 4

I want to get only the orders where the location is a specific one, and if there are more than one location in the same order, I only want to get the lines from one location. How can I do that? I would also like to know how Shopify interacts when more than one tracking is added to the same order.
Thank you

Replies 3 (3)

JoesIdeas
Shopify Expert
2263 207 599

If by "get orders" you mean receive an email, you can do that with Order Automator app. You can get specific emails based on the order contents, and you can also limit the contents to only a certain location.

 

You might be able to create an email filter as well, depending on how complex your email software is. For example, you could try creating a rule in your email software so that if an email contains certain text, then automatically forward that to an email address.

 

To know how Shopify interacts when more than one tracking is added to the same order, it depends on your configuration. Best way to know that is to create a test order than add 1 tracking number, then add a second (you can add bogus tracking numbers, they don't need to be real shipments).

• Creator of Order Automator (automate tagging, fulfillment, Amazon, notifications + more)
• Shopify developer for 10+ years, store owner for 7 years
• I also make guides like Shopify Automation Tips and How to Deal with Fraud / Chargebacks
raulvaquerizo
Shopify Partner
10 3 4

I was referring to Webhooks, my bad for not specifying, but thank you so much.

JoesIdeas
Shopify Expert
2263 207 599

Ah I see, I'm not sure how to do that. Hope you find a solution though.

• Creator of Order Automator (automate tagging, fulfillment, Amazon, notifications + more)
• Shopify developer for 10+ years, store owner for 7 years
• I also make guides like Shopify Automation Tips and How to Deal with Fraud / Chargebacks