Create an EasyPost Batch of up to 1,000 shipments, trigger asynchronous label purchase, and retrieve the combined label PDF

domain: docs.easypost.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. POST to /v2/batches with a 'shipments' array; each element must include from_address, to_address, parcel, carrier, service, and a single-element carrier_accounts array
  2. The batch is created in 'creation_queued' state; poll GET /v2/batches/{id} or use a webhook to detect when state transitions to 'created' before issuing the buy call
  3. POST to /v2/batches/{id}/buy to enqueue asynchronous label purchase; monitor the batch state via webhook or polling until it reaches 'purchased'
  4. Once purchased, POST to /v2/batches/{id}/label with 'file_format': 'PDF' (or 'ZPLII') to generate a merged label file; poll until the label_url is populated
  5. Keep each batch under 1,000 shipments; for larger volumes, split into multiple batches and process concurrently

Known gotchas

Related routes

Create an EasyPost Batch of shipments and generate a ScanForm
easypost.com · 5 steps · unrated
Create a Shippo Batch to purchase labels for multiple shipments simultaneously and retrieve the combined results
logistics/shipping · 6 steps · unrated
Purchase a shipping label and track a package using EasyPost
easypost.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans