estimate_batch_mail
Price a batch before any file exists. Per piece: printing, card stock or paper, the envelope where one is used, the address label, handling and USPS postage. First-Class: 4×6 postcard $1.05, 6×9 postcard $1.35 (both sides in full color; a one-page design gets an address side printed with the return address), letter $1.15 (1 sheet) or $1.35 (2–3 sheets), flyer $1.15, pamphlet $1.95 (4–8 pages) or $2.75 (9–16 pages). Marketing Mail (200+ recipients, not open yet): postcards 85¢, letters and flyers 89¢, pamphlets $1.75. Color on letters, flyers and pamphlets adds 16¢ per color page; duplex is included (two pages per sheet). Volume: 5 % off at 500+, 10 % at 1,000+. No piece is priced below its minimum, our cost to make and mail it plus 5¢: two-sided color, extra sheets, the volume discount and account prices all stop there, and the estimate says when it applied. Postcards from 1 piece (a $2.00 small-batch fee under 10); letters, flyers and pamphlets from 10 (fewer: POST /v1/mail); up to 10,000 per batch. The estimate is the exact amount confirm debits. Sandbox keys get the same numbers with credits_required_cents 0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Color printing for letters, flyers and pamphlets, charged per color page. Postcards are always full color. | |
| stock | No | standard (default) or weatherproof: tear- and water-resistant synthetic sheets for notices and small signs posted outdoors, letters and flyers only, +85¢ per sheet. | |
| duplex | No | Print both sides of each sheet. Default false. | |
| quantity | Yes | Recipients: postcards from 1 (a $2.00 small-batch fee under 10), letters, flyers and pamphlets from 10 (fewer: send_outbound_mail); up to 10,000. | |
| mail_type | Yes | postcard_4x6, postcard_6x9, letter (1–3 pages, 6 with duplex), flyer (1 page), pamphlet_light (4–8 pages), pamphlet_heavy (9–16 pages). | |
| page_count | No | Pages in the template PDF (1 for an image). Default 1. | |
| insert_pages | No | Printed pages of the insert: 1, or 2 for both sides (a sticker sheet is 1). Default 1. | |
| insert_stock | No | The insert's stock: paper (+30¢), weatherproof (+95¢) or label_sheet, one full 8.5 × 11 in weatherproof sticker printed on one side (+$1.45). Per piece; letters, flyers and pamphlets only. | |
| mailing_class | No | first_class (USPS First-Class Mail, 1–5 days, forwarded and returned; the default) or marketing_mail (USPS Marketing Mail, 3–10 days, 200+ recipients; not open until the facility's USPS permit is active). The class is USPS postage, not a description of the content: bills, statements and personal correspondence must go first_class. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The estimate in US cents: per piece, volume discount, total, and what a live key would be charged. |