Update Shipping Address based on Shipping Method

eforer
New Member
1 0 0

Hey, 

Trying to do a custom Buy online Pick Up in store where the order is actually shipped to the pickup location

trying to change the inputted shipping address based on 

IF order.shippingLine.title = X 

Send an HTTP Request to API to replace the order's shipping_address 

Has anyone accomplished this?

 

Reply 1 (1)
paul_nuschke
Shopify Staff
29 5 9

See

https://shopify.dev/api/admin-graphql/2021-10/mutations/orderUpdate

It's possible to call this API from Flow's Send HTTP Request, but I would use caution because you would need to put an API key in plain text in the UI. 

If you can wait, we do have an improvement to that action in our roadmap that will make calling the API much easier and more secure.