orderReportPdf Mutation
Description
Generates a PDF report from HTML content. Used for creating sales reports and other order-related PDF documents. Only accessible to admin users.
mutation orderReportPdf($html: String!, $title: String!) {
orderReportPdf(html: $html, title: $title)
}
Variables
{
"html": "html",
"title": "title"
}
Response
{
"orderReportPdf": "example"
}
Arguments
| Name | Type | Description |
|---|---|---|
html | String! | HTML content to convert to PDF. |
title | String! | Title for the PDF document. |