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!
Check out the purchasing entity on the Order object:
Hey Kalen Jordan,
We are creating orders from shopify REST API and we are facing issue to add the company shipping locations on the order can you suggest any solution for that.
The Orders are coming from the ERP software and we are using Alumio as a middleware please let me know if you have any solution.
1 Like
Oh so you’re saying that when the order is created from alumio it’s not setting the company location on the order?
Yes, we are having the issue with shipping location is not displaying in the order and alone not in the company locations.
Yes, we are having the issue with shipping location is not displaying in the order and alone not in the company locations, could you please help us fixing the issue.
1 Like
We are facing issue with the API we want to send the details of company, customer and shipping location in the order so order will display in the locations.
In that case you’d need to fix the import. Not sure if it’s possible in rest, but I do see the company location ID field as an input in the graphql order create. I could help you build that if you were interested. Link is in my signature.
We face a similar issue with our app.
We use the orderCreate mutation and provide a companyLocationId, customer.toAssociate.id, billingAddress and shippingAddress but the created order ends up having neither a shipping nor a billing address.
It is very poorly documented what is going on there… 
Hi @Jannik-Wempe for app/api specific problems you likely want to go to the actual dev forums.
And leave feedback on the specific docs pages(scroll to bottom > click Was this section helpful?
https://shopify.community.dev