Update Shipping Address based on Shipping Method

eforer
Shopify Partner
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_n
Shopify Staff
850 122 206

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.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.