Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion dist/lob-api-bundled.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: Lob
version: 1.20.8
version: 1.20.9
description: |
The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors. <p>
license:
Expand Down Expand Up @@ -1114,6 +1114,13 @@ tags:
description: |
The letters endpoint allows you to easily print and mail letters. The API provides endpoints for
creating letters, retrieving individual letters, canceling letters, and retrieving a list of letters.

## Mail Sorting and Batching
Comment thread
ZairesDev marked this conversation as resolved.
Outdated

The `mail_sort` field allows you to separate mail into batches for specific use cases, such as the Capital One MAAS (Mail as a Service) program. When provided, pieces with the same `mail_sort` value will be batched together, and pieces with different values will be placed in separate batches. This enables per-dealership USPS 3602 postage statements for MAAS customers.
Comment thread
ZairesDev marked this conversation as resolved.
Outdated

**Note:** The `mail_sort` field is feature-flagged and requires the `mail_sort` LaunchDarkly feature flag to be enabled. This field is currently available only to specific accounts. If you need access to this feature, please contact support@lob.com or your account contact. Unauthorized usage will result in a validation error.
Comment thread
ZairesDev marked this conversation as resolved.
Outdated

<div class="back-to-top" ><a href="#" onclick="toTopLink()">back to top</a></div>
- name: Manage Mail
x-traitTag: true
Expand Down Expand Up @@ -8416,6 +8423,7 @@ paths:
object: card
use_type: marketing
fsc: false
mail_sort: '1076'
sla: '2'
object: letter
default:
Expand Down Expand Up @@ -8816,6 +8824,7 @@ paths:
pages: 1-2,4-5
fsc: true
print_speed: core
mail_sort: '1076'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/letter_editable'
Expand Down Expand Up @@ -8866,6 +8875,7 @@ paths:
pages: 1,4
fsc: true
print_speed: core
mail_sort: '1122'
encoding:
to:
style: deepObject
Expand Down Expand Up @@ -20325,6 +20335,10 @@ components:
object:
type: string
description: Value is resource type.
mail_sort:
type: string
description: An optional numeric string used to separate mail into batches. When provided, pieces with the same mail_sort value will be batched together, and pieces with different values will be placed in separate batches. This field is only available for specific accounts and requires the `mail_sort` LaunchDarkly feature flag to be enabled. Contact support@lob.com or your account contact to learn more.
Comment thread
ZairesDev marked this conversation as resolved.
Outdated
nullable: true
ltr_use_type:
description: The use type for each mailpiece. Can be one of marketing, operational, or null. Null use_type is only allowed if an account default use_type is selected in Account Settings. For more information on use_type, see our [Help Center article](https://help.lob.com/print-and-mail/building-a-mail-strategy/managing-mail-settings/declaring-mail-use-type).
type: string
Expand Down Expand Up @@ -20425,6 +20439,8 @@ components:
nullable: true
custom_envelope:
$ref: '#/components/schemas/custom_envelope_returned'
mail_sort:
$ref: '#/components/schemas/mail_sort'
- $ref: '#/components/schemas/letter_generated_base'
registered:
allOf:
Expand Down Expand Up @@ -20478,6 +20494,8 @@ components:
nullable: true
custom_envelope:
$ref: '#/components/schemas/custom_envelope_returned'
mail_sort:
$ref: '#/components/schemas/mail_sort'
- $ref: '#/components/schemas/letter_generated_base'
tracking_event_details:
type: object
Expand Down Expand Up @@ -20661,6 +20679,8 @@ components:
nullable: true
custom_envelope:
$ref: '#/components/schemas/custom_envelope_returned'
mail_sort:
$ref: '#/components/schemas/mail_sort'
- $ref: '#/components/schemas/letter_generated_base'
letter:
oneOf:
Expand Down Expand Up @@ -20773,6 +20793,8 @@ components:
$ref: '#/components/schemas/ltr_size'
print_speed:
$ref: '#/components/schemas/print_speed'
mail_sort:
$ref: '#/components/schemas/mail_sort'
psc_id:
type: string
description: Unique identifier prefixed with `psc_`.
Expand Down Expand Up @@ -23517,6 +23539,7 @@ components:
send_date: '2019-08-08'
use_type: marketing
fsc: false
mail_sort: '1076'
object: letter
- id: ltr_da8267c6a6545cd6
description: Demo Letter
Expand Down Expand Up @@ -23689,6 +23712,7 @@ components:
object: card
use_type: marketing
fsc: false
mail_sort: '1076'
sla: '2'
object: letter
postcard_deleted:
Expand Down
Loading
Loading