How to handle blank shipping addresses for BOPIS orders?

How to handle blank shipping addresses for BOPIS orders?

Kenton2
Shopify Partner
16 0 1

Hi All, 

 

I am experiencing some order flow issues and I've tracked it back to when customer places an order for pick up, the shipping address is left blank. ( I can understand why )

 

Is there a way to change this so when a BOPIS order is placed, the address entered in shipping is our shop address?

 

This is wanted because when an order flows to a custom build API and then to our ERP software, it pulls the customers shipping information and uses that to label the order as such.

 

Any suggestions or help is much appreciated. 

Reply 1 (1)

JoesIdeas
Shopify Partner
2385 219 630

You can update the shipping address of the order via the Order API: https://shopify.dev/docs/api/admin-rest/2023-10/resources/order#put-orders-order-id

 

If you have a custom app already, you can create an API call in that app to update the order, then the other app / custom built API set a delay on that so that the order has time to update before it processes it.


Or if your custom built API is a custom app, just add a condition that if the order shipping address is nil, then fill in another address before sending to the ERP.

 

If you aren't able to edit the shipping address wit your custom app / built API that you mentioned, Order Automator can probably do that for you, feel free to reach out to https://orderautomator.com/contact with your use case.

 

• Creator of Shopify automation apps Order Automator + Product Automator [apps that save you time + money]
• Shopify developer for 10+ years, store owner for 7 years
• I also make guides like Shopify Automation Tips and How to Figure Out Why You're Not Getting Sales