Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Easypost Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-easypost-knowledge-patch)
---
name: easypost-knowledge-patch
description: EasyPost
version: null
license: MIT
metadata:
author: Nevaberry
---
# EasyPost compatibility guidance
Load this skill for EasyPost SDK migrations, address verification, shipping,
tracking, account management, MCP app actions, and Enterprise workflows.
Use the topic references for complete guidance and request examples.
## Reference index
| Reference | Topics |
| --- | --- |
| [Accounts, events, sessions, and subscriptions](references/accounts-events-and-subscriptions.md) | Billing, payment methods, sessions, security, subscriptions, tenants, groups, carrier accounts |
| [Address creation and verification](references/addresses.md) | Verification flags, carrier verification, stored addresses, result fields, line normalization |
| [SDK and API compatibility](references/sdk-and-api.md) | Node.js migration, arbitrary requests, list limits, address/tracker pagination, Enterprise scripts and integrations, MCP app actions |
| [Shipments, labels, rates, and claims](references/shipments-labels-and-rates.md) | Creation, purchase, lookup, labels, refunds, insurance, claims, rate rules, carrier shipping, Enterprise routing, manifests, scanning, documents |
| [Trackers and tracking data](references/trackers.md) | Identity, creation, carriers, credentials, scans, delivery estimates, webhooks, tests, search, deletion |
## Breaking changes and deprecations
### Node.js transport and response objects
The August 8, 2026 release moved transport from `superagent` to `fetch` and
dropped Node 16 support. For custom HTTP integrations, use `httpMiddleware`
in place of `superagentMiddleware` and `httpClient` in place of `fetchClient`.
Since the August 1, 2026 release, API resources return plain JSON-compatible
objects. Update consumers relying on SDK model classes or `instanceof` checks.
### Carrier integration changes
UPS WWE bring-your-own-account label purchases use `ups_cif` in place of
`ups_iparcel`. Enterprise uses Amazon Shipping in place of the retired Amazon
MWS integration. The standalone ParcelForce integration was decommissioned;
Royal Mail V3 supports express returns and Parcelforce services.
### Payment methods and insurance defaults
The primary payment method is protected against deletion. Use **Replace Payment
Method** on a financial account card in the customer portal to change it.
New accounts no longer have an insurance option selected by default. The minimum
included coverage increased from $50 to $100, separately from insurance selection.
## Address verification
On `POST /v2/addresses`, the presence of top-level `verify` or `verify_strict`
triggers verification even if its value is `false`. Omit both to skip verification.
With `verify`, a failed check appears in the returned address's `verifications`.
If both flags are present, `verify_strict` takes precedence. Strict checks still
return correctable addresses and fail with `ADDRESS.VERIFY.FAILURE` for
unverifiable addresses, as does `POST /v2/addresses/create_and_verify`.
For carrier verification, set top-level `verify_carrier` to `"ups"` or `"fedex"`
and either `verify` or `verify_strict` to `true`. Omission or `null` for
`verify_carrier` uses standard verification. Address fields are fixed at creation;
`GET /v2/addresses/:id/verify` returns the verified object under top-level `address`.
## Shipment creation and purchase
Shipment inputs are fixed at creation. Valid `to_address`, `from_address`, and
`parcel` values on `POST /v2/shipments` populate `rates` automatically. General
rating rules require `customs_info` for international destinations, including US
territories. An invalid or disabled ID in `carrier_accounts` fails creation.
The V2 Shipping API rejects missing or zero-value parcel details and validates
customs items; send complete parcel details with nonzero values where required.
Supply addresses as existing Address IDs or inline attributes. An omitted
`return_address` defaults to `from_address`; `buyer_address` defaults to `to_address`.
Read `messages` for carrier rating errors. A purchase through another mechanism
can leave `selected_rate` null.
Send a top-level `rate` object with the chosen rate ID to
`POST /v2/shipments/:id/buy`. Optional top-level `insurance` is a USD string.
For one-call purchase when the service level is known, set `service` and
`carrier_accounts` inside `shipment` on `POST /v2/shipments`.
## Labels, refunds, and claims
Set `shipment.options.label_format` at creation to override the PNG default.
`GET /v2/shipments/:id/label` converts an original PNG label to `PDF`, `ZPL`, or
`EPL2` and returns the Shipment with its converted URL in the corresponding
`postage_label` field, such as `postage_label.label_zpl_url` for ZPL.
`refund_status` distinguishes `submitted` from `refunded` or `rejected` and can
be null. Shipment `reference` values can repeat; use the generated `shp_...` ID
when a lookup must identify exactly one shipment.
For carrier claim automation, add `line_items` inside `shipment` at creation.
Each item requires string fields `item_description` and `total_line_value`
(the total in USD). This data stays out of carrier requests and Shipment responses.
Carrier claims accept `line_items`; insurance claim CSV uploads no longer require
a label value. For applicable BuySafe mailed-check claims, `payout_recipient` is
optional. BuySafe package protection claims can be filed without platform-generated
evidence attachments.
## List endpoints and search windows
API index endpoints enforce request-per-second limits. Pace paginated reads and
workflows calling list endpoints in parallel. Address, tracker, and shipment lists
default to a page size of 20 and cap it at 100. Use one cursor per request:
`before_id` for older records or `after_id` for newer ones; read `has_more`.
`GET /v2/shipments` defaults to purchased shipments created from one month ago
through the end of the current day and excludes child users. Set `purchased=false`
to include unpurchased shipments and `include_children=true` to include child users.
Supply both date bounds to override the one-month window implied by a lone bound.
`GET /v2/trackers` accepts `tracking_codes` and optional `carrier`; date bounds
filter tracker creation time. `start_datetime` defaults to one month ago or one
month before a supplied `end_datetime`. `end_datetime` defaults to the end of the
current day or one month after a supplied `start_datetime`. Supply both bounds
to search a wider interval.
## Tracker creation, identity, and deletion
Carriers recycle tracking codes. `POST /v2/trackers` returns the existing tracker
when the same user submits the same `tracking_code` and `carrier` within three
months of creation. Store the returned `trk_...` ID for later operations. Supply
`carrier` when codes could match multiple carriers. Some carriers require
credentials to retrieve updates for standalone trackers.
`POST /v2/trackers/batch` accepts up to 100 tracking codes per request; split
larger lists. UniUni and `FirstMileConcise` support standalone tracker creation
without a carrier account. DaiPost supports API-key authentication for tracking.
`DELETE /v2/trackers/:id` returns `{"success": true}`, permanently removes the
tracker, and stops future webhook deliveries. Retrieving the ID then returns
`404 Not Found`.
## Tracking states, estimates, and tests
Use tracker `status` for the current state and `tracking_details[].status` for a
historical scan; both have a separate `status_detail`. Scan `datetime` uses the
event location's time zone when resolvable and otherwise falls back to UTC.
When supplied, `carrier_detail.est_delivery_date_local` and `est_delivery_time_local`
give the carrier's local delivery estimate. For hybrid services,
`carrier_detail.alternate_identifier` can contain a last-mile tracking number and
may be populated after label purchase.
With a test API key, create a tracker using a canned code to receive its matching
state and a webhook at the test-mode URL:
| Code | State |
| --- | --- |
| `EZ1000000001` | `pre_transit` |
| `EZ2000000002` | `in_transit` |
| `EZ3000000003` | `out_for_delivery` |
| `EZ4000000004` | `delivered` |
| `EZ5000000005` | `return_to_sender` |
| `EZ6000000006` | `failure` |
| `EZ7000000007` | `unknown` |
## Rate rules and international shipping
FlexRate supports single and cumulative rulesets and duplicating an existing
ruleset. Adjustments apply to shipment creation, rerating, stateless rating,
order creation, and label purchase. Luma has beta endpoints for SmartRate rulesets;
adjusted rates appear in its one-call-buy, promise, and buy responses.
Precision Shipping, Rateless, and Standalone SmartRate support international shipments.
Public Zonos endpoints support landed cost estimates and guarantees, including
customs and tax calculations. For Canada Post shipments from the US to Canada,
provide Zonos credentials to enable the cross-border workflow.
## MCP app actions
Install the MCP app from a supported chat app directory and sign in with a shipping
account; sign-in connects the app without an API key. `create_shipment` quotes US
domestic rates. `buy_shipment` buys one selected rate and returns its label and
tracking code. The purchase price must match the price the user approved. Retrying
a timed-out purchase returns the same label from the original purchase.
Add insurance during purchase or later with `insure_shipment`; use `create_refund`
to request a refund for one unused label. `create_tracker` handles tracking numbers
obtained outside the platform; `create_and_verify_address` checks deliverability;
`smartrate_delivery_date` estimates each rate's delivery date for a planned ship
date. These three calls are billed or metered.
`whoami` includes the billing account's postage wallet balance. `list_payment_methods`
returns brand, last four digits, and priority; `get_address` retrieves a stored address.
## Accounts, sessions, and events
The session API creates JWT-authenticated sessions for embedded components and
customer portals. Use a session when initializing a component for an authenticated
customer. Bank and credit card charges emit `payment.created` and `payment.failed`
again; billed shipment disputes can trigger `shipment.invoice.updated`.
Subscription plans can charge immediately on creation. Invoices applied to customer
wallets can be refunded even when the invoice amount is zero.
## Enterprise workflows
Use `Context.Tables` with `LookupAsync`, `FindAsync`, `QueryAsync`, or `ColumnsAsync`
to query custom tables. Call `Carrier.ValidateAddressAsync` from any hook point
to validate independently of the address validation hook; its residential result
is exposed as `AddressValidationResponseDto.Residential` and drives residential
service selection. Script timeout clocks pause during host helper calls; those
helpers share a separate 120-second wall-time budget per run.
The Shipping Dashboard can require verification of 100% of loaded contents before
shipping; scripts supply items through `PackageDto.PackVerificationItems`.
Set `RunOnEveryScan` to run a script on every scan. Zone Carrier supports holding
shipments for release; WorldEase does not support ship-on-hold.