orderGetPDF
Generate and retrieve a PDF document for an order.
Creates a PDF representation of the order including all order details, items, addresses, and financial information. Can generate PDF for a specific revision if revision number is provided.
Possible errors:
- ORDER_NOT_FOUND: Order with the specified ID does not exist
- ORDER_REVISION_NOT_FOUND_ERROR: Specified revision does not exist
- TEMPLATE_RENDER_ERROR: Failed to generate PDF due to template or rendering error
- VALIDATION_ERROR: Invalid order ID or revision number provided
- FORBIDDEN: Insufficient permissions to access order PDF
orderGetPDF(
orderId: Int!
revisionNumber: Int
): Base64File!
Arguments
orderGetPDF.orderId
● Int!
non-null scalar
Unique identifier of the order to generate PDF for
orderGetPDF.revisionNumber
● Int
scalar
Optional revision number to generate PDF for specific revision