Loading...
Loading...
Build, debug, and extend integrations with the EasyPost shipping API. Use this skill whenever the user mentions EasyPost, shipping labels, postage, rate shopping, tracking packages programmatically, customs forms, carrier accounts (USPS/UPS/FedEx/DHL/ePost Global), scan forms, pickups, shipping insurance, or webhooks for shipping events. Also trigger on phrases like "create a shipping label," "buy postage," "rate a parcel," "verify an address," "international shipment," "commercial invoice," "Luma rate shopping," "UPS DAP," "DHL eCommerce," or any task involving the `@easypost/api` Node.js SDK or REST endpoints under `api.easypost.com/v2`. Optimized for Node.js/TypeScript but the REST patterns, field names, and carrier gotchas apply in any language.
npx skill4agent add hamstudy/easypost-skill easypost-api@easypost/apiclient.makeApiCall()references/ecommerce-flows.md| If the task is about… | Read |
|---|---|
| End-to-end ecommerce flow (cart, checkout, fulfillment, returns, notifications) | |
| What EasyPost does NOT do (duties, tax, autocomplete, cutoffs, etc.) | |
| Installing the SDK, configuring the client, TypeScript types, test vs. production keys | |
SDK helper methods ( | |
| Finding current service levels, predefined packages, supported options at runtime | |
| Creating a shipment, picking a rate, buying a label, downloading the label | |
| Address validation, international address quirks | |
| Parcel dimensions, weight, predefined packages | |
| Choosing the cheapest/fastest rate, SmartRate, Luma rulesets | |
| International shipping, customs forms, EEI, incoterms, tax IDs | |
| Real-time tracking, tracker statuses, tracking URLs, bulk retrieve | |
| Webhook setup, HMAC verification, event payloads | |
| Return labels, refunding postage | |
| Bulk label purchase (batches) | |
| End-of-day scan forms / manifests | |
| Scheduling carrier pickups | |
| Buying insurance, filing claims | |
| CSV reports (shipment, invoice, cash flow, etc.) | |
| Adding/managing carrier accounts, credentials, metadata | |
| Commercial invoice, QR codes, packing slips | |
| Error classes, retries, idempotency, rate limits | |
| Listing resources, cursor pagination | |
| Test API keys, test tracking codes, sandbox behavior | |
| API keys, users, child accounts, billing | |
| Multi-parcel Orders, EndShippers (resellers/DAP) | |
| USPS specifics (flat rate, HazMat, domestic vs. international) | |
| UPS specifics (weight limits, OAuth, predefined packages) | |
| UPS Digital Access Program (DAP) rules | |
| FedEx specifics (BYOCA, SmartPost, Express One Rate, lithium batteries) | |
| DHL Express (international only) | |
| DHL eCommerce (C2C/B2C only, placeholder rates) | |
| ePost Global (USPS first mile + international) | |
scripts/scripts/create-shipment.mjsscripts/verify-address.mjscreateAndVerifyscripts/international-shipment.mjsscripts/track-shipment.mjsscripts/webhook-handler.mjsclient.Utils.validateWebhookscripts/batch-buy.mjsscripts/schedule-pickup.mjsscripts/smartrate-deliver-by.mjstest_EZTKEZAKreferences/testing.mdshipment.messagesratesCustomsInfocustoms_certify = truecustoms_signerreferences/international.mdlowestRate()references/rates-and-smartrate.mdclient.Utils.validateWebhook()references/webhooks.mdpostage_label.label_urlend_shipper_idEndShipperoptionsoptions.hazmatoptions.aes_itnoptions.incotermoptions.delivery_confirmationoptions.label_format@easypost/apiclient.makeApiCall()@easypost/apiIShipmentIShipmentCreateParametersprocess.env.EASYPOST_API_KEYShipment.buyBatch.buyPickup.buyInsurance.createshipment.messagespostage_label.label_urlpostage_labelclient.UtilsgetLowestRategetLowestSmartRatevalidateWebhook