Cancel Letter
Cancel a letter by ID. Note that this operation cannot be undone.
Path parameters
The ID of the letter you want to cancel.
Response
The request has succeeded.
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.
The tracking number of this order. Populated after an express/certified order has been processed for delivery.
The most recent ZIP code of the USPS facility that the order has been processed through. Only populated when an imbStatus is present.
The last date that the IMB status was updated. See imbStatus for more details.
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.
A unique ID prefixed with letter_
An optional string describing this resource. Will be visible in the API and the dashboard.
See the section on Metadata.
true if this is a live mode resource else false.
The UTC time at which this resource was created.
The UTC time at which this resource was last updated.
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.
Always letter.
If specified, indicates which letter page is perforated. Currently, only the first page can be perforated.
The return envelope (ID) sent out with the letter, if any.
The ID of the PDF workflow run that created the letter, if any.
Indicates if the letter is double-sided.
Indicates if the letter is in color.
Enum representing the supported letter sizes.
Enum representing the placement of the address on the letter.
The envelope (ID) for the letter or the default standard envelope.
The HTML content for the letter. You can supply either this or template but not both.
The template ID used for the letter. You can supply either this or html but not both.
If a PDF was uploaded for the letter, this will contain the signed link to the uploaded PDF.