Email a purchase order to its supplier
Renders the order as a PDF and, in one transaction, marks a draft sent and records the email owed; Smileline then emails it with the PDF attached, replies going to the site's address. Sending again sends another copy. 409 PURCHASE_ORDER_CHANGED when the order changed while it was being prepared (send again), PURCHASE_ORDER_SEND_IN_PROGRESS while an earlier email is still going out, PURCHASE_ORDER_CLOSED for a received or cancelled order. `inventory:manage`.
Loading the API reference…