Quote mailing
quote_mailingCalculates the unit price including First-Class postage, total for ready recipients, send date and estimated arrival window for a saved US recipient list. A saved design_id includes that design's current front and back preview. Null design_id produces a price-only quote with preview_included: false. arrive_by adds the latest safe send date and whether the requested date can be met. Does not create an order or charge money.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"list_id": "<list_id>",
"design_id": "<design_id>"
},
"name": "quote_mailing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | ||
| arrive_by | No | Date the cards should arrive by, YYYY-MM-DD. | |
| design_id | Yes | Saved design identifier for the current front and back preview, or null for a price-only quote without a design. Required field. | |
| send_date | No | Date to print and mail, YYYY-MM-DD. Default: the latest safe date for arrive_by, otherwise the earliest business day (today if it is one). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| notes | Yes | ||
| total | Yes | ||
| on_time | No | ||
| quantity | Yes | ||
| design_id | No | ||
| send_date | Yes | ||
| unit_price | Yes | ||
| total_cents | Yes | ||
| needs_fixing | Yes | ||
| arrives_between | Yes | ||
| latest_send_date | No | ||
| preview_included | Yes |