API DocumentationManufacturer document controller
Generate custom template document
Generates a PDF document using a custom template for the specified order
Authorization
Phasio API Bearer Token AuthorizationBearer <token>
In: header
Path Parameters
orderId*integer
ID of the order
Query Parameters
templateId*integer
ID of the custom template
Response Body
application/pdf
application/json
application/json
application/json
curl -X GET "https://example.com/api/manufacturer/v1/document/1/custom?templateId=42"Empty
{ "error": "ORDER_NOT_FOUND", "message": "Order not found"}{ "error": "ORDER_NOT_FOUND", "message": "Order not found"}{ "error": "ORDER_NOT_FOUND", "message": "Order not found"}