When integrating with Microsoft 365 Business Central (BC) we can publish new customers/companies from BC to Shopify which will automatically create a location for the company which is great. But for some reason the company name on the shipping address is not being filled out by integration.
If I go into Shopify admin and manually create a new company location it will default fill out company name on shippping address with the related company name.
To fix the integration issue I have tried to setup a Flow in Shopify that automatically updates the company field on company location shipping address using action HTTP request and Graph QL Admin API. But I can’t find any mutation that allows to update the company name field on company location shipping address?? Are there any other options to handle this automatically?
Shopify Flow has a native action for Send Admin API request which may make this a bit easier rather than trying to use an HTTP request.
You’re looking for the companyLocationAssignAddress mutation. To update an address field, you will technically need to update the entire address, but the specific field you are referring to here is called “recipient” in the API docs.
Thanks a lot you guys. I was cheated by the company field being called “recipient” :).
Also changed to the Send Admin API request action. Thanks for the suggestion Brett, for sure a lot easier and it is working as intended. @Dylan yes I also believe it’s a bug in the integration/app. I have pointed this out in the Microsoft Community and hope they will be listening and fix it soon
It’s this one Få kontrol over lageret, økonomien og momsrapporteringen | Shopify App Store