Objects
MailPurchaseOrderCommandResponse
Sends the purchase order by e-mail, as the mail channel of the template set defines it. The call returns at once with an output job; read its state with GetOutputJob. Errors: errorCode is PURCHASE_ORDER_NOT_FOUND (no purchase order with this ID); errorCode is OUTPUT_TEMPLATE_SET_NOT_FOUND (no template set with this ID); errorCode is OUTPUT_TEMPLATE_SET_DOCUMENT_TYPE_MISMATCH (the template set belongs to another document type than this document); errorCode is OUTPUT_NO_MATCHING_TEMPLATE (the template set has no template for this document and the requested channel); errorCode is OUTPUT_MAIL_RECIPIENT_MISSING (the document has no e-mail address to send to). - Response
object
MailPurchaseOrderCommandResponseFields
outputJobId
UUID!
The ID of the output job.
Was this page helpful?