We are trying to create a flow that will add our address to orders that do not require shipping (ex. digital gift cards). Within our order management system, addresses are required for all orders and without an address, these are getting hung up.
This exact query does work. To change the address, most of the fields I’ve included are required, but it’s hard to tell from the docs (you can’t just add a zip for example).
The API token can be generated by creating a custom app your Admin. Go to Settings / Apps and sales channels / Develop apps. You need read/write orders scopes.
No i see how the value is entered. How do i frame/create the namespace and key. This is integral part as the shipping address cannot be empty, when the order ingests into our ERP system(Fishbowl) it gives us an API error. So I need the shipper address to be our warehouse address for pick-up orders.
I’ve managed to follow your steps and get a successful flow setup, however it doesn’t seem to actually update the shipping address details on the order at all.
The flow just confirms that the HTTP request succeeded. Upon checking the order shipping address, it’s still blank?
I wasn’t too sure how to get the Log Output to display any useful information about the query, however I switched the your second suggestion of using REST PUT instead and it’s all working, thanks!