Best answer

Sending Tracking Number from Shippo to WooCommerce

  • 14 January 2021
  • 1 reply
  • 154 views

We use Shippo (GoShippo.com) to process our UPS orders. It imports all orders from WooCommerce, we pick the ones we want to process using UPS, print a shipping label and we’re given a tracking number. Currently, we have to copy/paste the tracking number back in WooCommerce. When we have tons of orders, that is very time consuming.

Now Shippo does send back an Order Note (“Order was shipped with UPS and tracking number is: 1Z00000000”) but it doesn’t attach it to the Order details to the customer can see it on their My Account page.

So in conclusion, I want:
WHEN shipping label / tracking number is created in Shippo
THEN send back Tracking Number and attach to order details in WooCommerce.

Is this even possible? If so, how?

Thanks

icon

Best answer by Wemakefuture 14 January 2021, 07:30

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 6
Badge +7

@ArkansasBen this is possible you either to display the order details in clients Backend, there for you can go with zapier on the database (MySQL) and replace the strings you need or make an API call in a custom code step. 

http://woocommerce.github.io/woocommerce-rest-api-docs/#retrieve-an-order

What you else could do is set the order number via php into shipping number field, link it and with b.link dynamically 301 to the shipping link asa it's available. 

Usually clients don't do it this way because then complexity kicks in - most of the time they just send out a second email with the shipping parsed into a nice HTML Template.

Feel free to get in touch with us 🤠