quote_outbound_mail
Calculate the price of outbound mail before sending it by specifying mail class, page count, color, and FedEx recipient ZIP; returns a US-dollar breakdown without creating an account or document.
Instructions
Price a letter before you have the document. Give the mail class, page count, color and, for FedEx, the recipient ZIP; returns mailbox.bot's published price for a new account with its breakdown, in US dollars. Needs no account and creates nothing. The dry run of the real document is the exact price for an account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Color printing. Default black and white. | |
| mail_class | Yes | USPS: first_class (no carrier tracking; mailbox.bot records photo proof), priority (USPS Tracking), certified (USPS tracking plus proof of mailing and delivery), certified_return_receipt (certified plus electronic return receipt). FedEx: fedex_ground, fedex_express (Express Saver, about 3 business days), fedex_2day, fedex_overnight. | |
| page_count | No | Printed pages. Default 1. | |
| recipient_zip | No | 5-digit US ZIP of the recipient. FedEx prices depend on it; USPS letter prices don't. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Published price with breakdown, or a price range when the service is priced by destination. |