How to get company location that placed an order B2B

How to get company location that placed an order B2B

AH63935
Shopify Partner
24 1 24

Hi there,

 

So I am try to build a flow that needs information from the specific company location that placed an order (the company will have multiple locations), so I can get the billing address of that specific location of the company. I know GraphQL can pull all locations of the company, but how do I get just the location that had placed the order? Or is there a field on Shopify liquid that does that? Thanks!

Reply 1 (1)

Kalen_Jordan
Shopify Partner
669 26 109

Check out the purchasing entity on the Order object:

 

Screenshot 2024-04-08 at 3.24.24 PM.png