Quote Product
quote_productHold a 36-hour expanded-product quote using a workspace key, print-ready PDF and 1–100 US recipients. Returns the exact expiration in expiresAt (UTC). Uploads artwork to DirectMailAmerica for live pricing; no charge or mailing. Each PDF page must match catalog dimensions; postcards require one landscape front artwork page. Two-sided postcard: pro_postcard_85x55, doubleSided:true, color:true, plus reverseMessage OR reverseArtworkBase64; the server assembles two pages. Maximum 25 MiB combined artwork. Staging quotes are demo estimates. Obtain approval of artwork, addresses and total before sending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | ||
| color | No | ||
| paper | No | ||
| filename | No | ||
| pdfBase64 | Yes | Base64 PDF, maximum 25 MiB decoded. Every page must match the selected product dimensions; postcards require one landscape front artwork page. For pro_postcard_85x55 with doubleSided:true, supply reverseMessage OR reverseArtworkBase64 separately; the server assembles two pages. No raw image files. | |
| productId | Yes | ||
| recipients | Yes | ||
| doubleSided | No | Two-sided postcards: productId pro_postcard_85x55, true, color:true, plus exactly one reverse input. Other postcard sizes remain single-sided. | |
| returnEnvelope | No | ||
| reverseMessage | No | For pro_postcard_85x55 with doubleSided:true only: plain text on the reverse left side, maximum 21 wrapped lines. Choose this OR reverseArtworkBase64. Unsupported glyphs and overflow are rejected. | |
| reverseArtworkBase64 | No | For pro_postcard_85x55 with doubleSided:true only: one unrotated PDF page, fitted into the 282 × 348 point reverse left area. No raw images, added bleed or crop marks. Choose this OR reverseMessage. Front and reverse together: maximum 25 MiB decoded. | |
| electronicReturnReceipt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| demo | No | ||
| from | No | ||
| error | No | ||
| jobId | No | ||
| status | No | ||
| options | No | ||
| quoteId | No | ||
| currency | No | ||
| expiresAt | No | ||
| operation | Yes | ||
| recipients | No | ||
| totalCents | No |