Print Order
POST/api/orders/print-order
Tier: Public — stable, supported for third-party integration.
Renders an order to PDF using an organisation print template.
When OrderPrintDownloadDto.TemplateId is omitted, the organisation's first
print template is used. The template is compiled against a
Orders.PrintOrderDetailDto model, with PrintOrderDetailDto.ApiUrl
set to the API root so the template can build absolute links.
Request
Responses
- 200
- 400
- 401
- 403
Returns a PDF (application/octet-stream), attachment named "{CustomerOrderNumber}.pdf", with the filename also exposed in a Filename header.
No TemplateId was supplied and the organisation has no print templates (NotFound).
The caller is not authenticated.
The caller lacks Order Read permission.