Skip to content
Back to skills

Easypost Knowledge Patch

ASecurity

EasyPost

  • 25 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 5, 2026
ai-agentsgojavarubyphpc#nodeexpressgitapi

Works with

  • cursor
  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill easypost-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Easypost Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Easypost Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-easypost-knowledge-patch-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-easypost-knowledge-patch-nevaberry-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: easypost-knowledge-patch
description: EasyPost
version: null
license: MIT
metadata:
  author: Nevaberry
---


# EasyPost compatibility guidance

Load this skill when working with EasyPost addresses, trackers, shipments,
carrier integrations, platform APIs, SDKs, MCP tools, or Enterprise workflows.
Use the topic references for complete details and request examples.

## Reference index

| Reference | Topics |
| --- | --- |
| [Addresses](references/addresses.md) | Verification flags, carrier verification, stored addresses, results, normalization, pagination, MCP deliverability |
| [Platform APIs and SDKs](references/platform-and-sdks.md) | SDK migration, rate limits, carrier accounts, insurance, claims, billing, sessions, groups, Enterprise scripts and integrations, MCP sign-in and lookups |
| [Shipments, Rating, and Labels](references/shipments-and-rating.md) | Creation, purchase, insurance, labels, refunds, rate rules, landed costs, carrier requirements, Enterprise manifests and routing, MCP shipping |
| [Tracking](references/tracking.md) | Tracker identity, carrier values, credentials, events, estimates, tests, webhooks, search, pagination, deletion, MCP tracking |

## Breaking changes and migration checks

### Node.js SDK consumers

The August 8, 2026 release moved transport from `superagent` to `fetch`
and dropped Node 16 support. For custom HTTP integrations, replace
`superagentMiddleware` with `httpMiddleware` and `fetchClient` with `httpClient`.

Starting with the August 1, 2026 release, API resources return plain
JSON-compatible objects. Update consumers that rely on SDK model classes
or check responses with `instanceof`.

### 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; see the shipping reference
for service names and DDP-compatible selection.

### Payment, insurance, and validation behavior

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, a separate change
from whether insurance is selected.

The V2 Shipping API rejects missing or zero-value parcel details and validates
customs items. Send complete parcel details with nonzero values where required.

## Address verification

### Flags and strict failures

On `POST /v2/addresses`, the presence of either top-level `verify` or
`verify_strict` triggers verification even when its value is `false`.
Omit both flags to skip verification. If both are present, `verify_strict` wins.

With `verify`, a failed check appears in the returned address's `verifications`.
Strict checks still return correctable addresses and fail with
`ADDRESS.VERIFY.FAILURE` for unverifiable addresses, as does
`POST /v2/addresses/create_and_verify`.

### Carrier and stored-address verification

For carrier verification, set top-level `verify_carrier` to `"ups"` or `"fedex"`
and set either `verify` or `verify_strict` to `true`. Read the selected carrier
from `verifications.verify_carrier`; omitting `verify_carrier` or setting it
to `null` uses standard verification.

Address fields are fixed at creation. Use `GET /v2/addresses/:id/verify` for a
stored address and read the verified object from the top-level `address` key.

### Results and normalization

`verifications.zip4` applies only to US addresses, where the `delivery` check
also sets `residential`. Each check has `success`, `errors`, and `details`.
When available, `verifications.delivery.details` includes `latitude`,
`longitude`, and an IANA `time_zone`.

For US and Canadian addresses, a recognized trailing unit moves from `street1`
to an empty `street2` when `street1` exceeds 35 characters. Since August 25,
2025, USPS verification abbreviates street names only when the validated
`street1` exceeds 40 characters.

## Shipment creation, rating, and labels

### Creation and rate selection

Shipment inputs are fixed at creation. Valid `to_address`, `from_address`,
and `parcel` values on `POST /v2/shipments` populate `rates` automatically.
The general rating rules require `customs_info` for international destinations,
including US territories. An invalid or disabled ID in `carrier_accounts`
fails the create request.

Use existing Address IDs or inline address attributes. An omitted
`return_address` defaults to `from_address`; `buyer_address` defaults to
`to_address`. Read `messages` for carrier errors encountered during rating.

A purchase through another mechanism can leave `selected_rate` null.
Use the presence of its value to identify the rate selected through the
shipment purchase flow.

### Purchase, insurance, and claims

Send a top-level `rate` object containing the chosen rate ID to
`POST /v2/shipments/:id/buy`. Optional top-level `insurance` is a USD string.
When the service level is known, set `service` and `carrier_accounts` inside
`shipment` on `POST /v2/shipments` to create the Shipment and buy its label
in one request.

Add `line_items` inside `shipment` at creation for carrier claim automation.
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.

### Labels and refunds

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 the converted URL in the corresponding
`postage_label` field, such as `postage_label.label_zpl_url` for ZPL.

`refund_status` can be null. Distinguish a submitted request (`submitted`)
from its outcomes (`refunded` or `rejected`).

### Rate rules and delivery promises

FlexRate adjustments apply to shipment creation, rerating, stateless rating,
order creation, and label purchase. Rulesets can be single or cumulative.

Luma has beta endpoints for creating and managing SmartRate rulesets.
Adjusted rates appear in Luma one-call-buy, promise, and buy responses.
Precision Shipping, Rateless, and Standalone SmartRate support international shipments.

## Tracking and list operations

### Tracker identity and lifecycle

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 and supply
`carrier` when codes could match multiple carriers.

Some carriers require credentials for standalone tracking updates.
`POST /v2/trackers/batch` creates trackers for up to 100 tracking codes per
request; split larger lists into multiple requests.

`DELETE /v2/trackers/:id` permanently removes the tracker and stops future
webhooks. It returns `{"success": true}`; retrieving the deleted ID returns
`404 Not Found`.

### Events and tests

Read current state from `status`, historical scan state from
`tracking_details[].status`, and sub-states from the separate `status_detail`.
A scan's `datetime` uses the event location's time zone when resolvable,
falling back to UTC when location information is insufficient.

For deterministic tracking tests, create a tracker with a test API key and a
canned code to receive a matching state and a webhook at the test-mode URL.
The tracking reference contains the complete code-to-state mapping.

### Search, pagination, and request pacing

Address, tracker, and shipment list endpoints 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 records. Read `has_more` for another page.
API index endpoints enforce request-per-second limits; pace paginated reads
and workflows calling list endpoints in parallel.

`GET /v2/trackers` accepts a `tracking_codes` array and optional `carrier`.
Its date bounds filter tracker creation time. Supply both bounds to search
a wider interval than the default one-month window.

`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 `start_datetime` or `end_datetime`.

Shipment references can repeat. Use the generated `shp_...` ID when a lookup
must identify exactly one shipment.

## MCP shipping and account access

Install the MCP app from a supported chat app directory and sign in with
your shipping account. Signing 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` tracks numbers obtained outside the platform,
`create_and_verify_address` checks deliverability, and `smartrate_delivery_date`
estimates each rate's delivery date for a planned ship date.
These calls are billed or metered.

`whoami` includes the billing account's postage wallet balance.
`list_payment_methods` returns brand, last four digits, and priority.
Use `get_address` to retrieve a stored address.

## Platform and Enterprise quick reference

The C#, Java, Node.js, PHP, and Ruby SDKs offer a generic request interface
for endpoints without resource-specific SDK methods. The session API creates
JWT-authenticated sessions for embedded components and customer portals.
Use a session to initialize a component for an authenticated customer.

In Enterprise scripts, `Context.Tables` provides `LookupAsync`, `FindAsync`,
`QueryAsync`, and `ColumnsAsync` for custom tables. Call
`Carrier.ValidateAddressAsync` from any hook point to validate independently
of the address validation hook; `AddressValidationResponseDto.Residential`
exposes the residential determination that drives residential service selection.

A script's timeout clock pauses during host helper calls. Helpers share a
separate 120-second wall-time budget per run. Zone Carrier supports holding
shipments for release; WorldEase does not support ship-on-hold.

Files in this skill

  • SKILL.md6.8 KB
  • coverage.json552 B
  • references/addresses.md1.6 KB
  • references/platform-and-sdks.md1.8 KB
  • references/shipments-and-rating.md4.3 KB
  • references/tracking.md3.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.