Email a PO Using API

We are importing PO’s into ShipHero via API and ideally want to then have a PDF copy of the PO automatically emailed to a specific email address that changes per PO. I see in the backend of ShipHero that there is a feature to manually email a PO but hoping it can be done automatically.

Thanks in advance for any assistance.

Hello @TBaxter

Unfortunately, there is no way to trigger the email to a vendor from the API automatically

There is a pdf field inside the purchase_order query that you could use to automate this elsewhere. However, the pdf won’t get created until opening it in the UI at least once.

Have a nice day!