PrintSalesOrderCommandRequestInput
Prints the sales order on a printer of the machine that runs the API. The call returns at once with an output job; read its state with GetOutputJob. Errors: errorCode is SALES_ORDER_NOT_FOUND (no sales 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_PRINTER_REQUIRED (no printer is given and none is configured); errorCode is OUTPUT_PRINTER_NOT_FOUND (the printer is not installed on the machine that runs the API); errorCode is OUTPUT_PRINTER_NOT_AVAILABLE (the API runs where no printers exist, for example in the cloud). - Request
PrintSalesOrderCommandRequestInputFields
The ID of the sales order.
The template set to output with. Defaults to the standard template set of the document type. The Wawi picks the template inside the set by its own rules (language, company, customer group and so on).
The name of the printer, as returned by QueryOutputPrinters. Without it the printer of the template or of the user's workplace setup is used. If there is none, the call fails.
Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.
Was this page helpful?