v7

latestOpenAPI 3.0.0raw.githubusercontent.com2026-06-121372601.5 MB
Boxes

Create Box

This endpoint allows you to create a box containing up to 100 cheques. A Box is mailed to a single destination.

To create a box. You must specify:

  • to: The recipient (contact or contact ID)
  • from: The sender (contact or contact ID)
  • cheques: An array of cheques to go in the box

For each cheque You must specify:

  • to: The recipient (contact or contact ID)
  • from: The sender (contact or contact ID)
  • bankAccount: The bank account ID
  • amount: The amount to be sent
  • number: The cheque number
post/print-mail/v1/boxes

Request body

mergeVariablesobject

These will be merged with the variables in the template or HTML you create this order with. The keys in this object should match the variable names in the template exactly as they are case-sensitive. Note that these do not apply to PDFs uploaded with the order.

descriptionstring

An optional string describing this resource. Will be visible in the API and the dashboard.

metadataobject

See the section on Metadata.

sendDatestring date-time

This order will transition from ready to printing on the day after this date. You can use this parameter to schedule orders for a future date.

mailingClass'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class'

Response

The created Box.

status'ready' | 'printing' | 'processed_for_delivery' | 'completed' | 'cancelled' required
mergeVariablesobject

These will be merged with the variables in the template or HTML you create this order with. The keys in this object should match the variable names in the template exactly as they are case-sensitive. Note that these do not apply to PDFs uploaded with the order.

trackingNumberstring

The tracking number of this order. Populated after an express/certified order has been processed for delivery.

imbStatus'entered_mail_stream' | 'out_for_delivery' | 'returned_to_sender'
imbZIPCodestring

The most recent ZIP code of the USPS facility that the order has been processed through. Only populated when an imbStatus is present.

imbDatestring date-time

The last date that the IMB status was updated. See imbStatus for more details.

urlstring uri

PostGrid renders a PDF preview for all orders. This should be inspected to ensure that the order is correct before it is sent out because it shows what will be printed and mailed to the recipient. Once the PDF preview is generated, this field will be returned by all GET endpoints which produce this order.

This URL is a signed link to the PDF preview. It will expire after a short period of time. If you need to access this URL after it has expired, you can regenerate it by calling the GET endpoint again.

idstring required

A unique ID prefixed with box_

descriptionstring

An optional string describing this resource. Will be visible in the API and the dashboard.

metadataobject

See the section on Metadata.

liveboolean required

true if this is a live mode resource else false.

createdAtstring date-time required

The UTC time at which this resource was created.

updatedAtstring date-time required

The UTC time at which this resource was last updated.

sendDatestring date-time required

This order will transition from ready to printing on the day after this date. For example, if this is a date on Tuesday, the order will transition to printing on Wednesday at midnight eastern time.

mailingClass'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class' required
object'box' required

Always "box".