Skip to main content

quoteGetPDF

Generate and retrieve a PDF quote document for an order.

Creates a PDF quote 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 quote PDF
quoteGetPDF(
orderId: Int!
revisionNumber: Int
): Base64File!

Arguments

quoteGetPDF.orderId ● Int! non-null scalar

Unique identifier of the order to generate quote PDF for

quoteGetPDF.revisionNumber ● Int scalar

Optional revision number to generate quote PDF for specific revision

Type

Base64File object