@easypost/api
Advanced tools
Changelog
v6.4.0 (2023-05-02)
retrieveEstimatedDeliveryDate
in Shipment serviceChangelog
v6.3.0 (2023-04-24)
Beta
(eg: BetaCarrierMetadata
)CarrierMetadata
typescript definitionsChangelog
v6.2.0 (2023-04-18)
retrieveCarrierMetadata
functionapi_keys
property to User
Changelog
v6.1.0 (2023-04-04)
getNextPage
function that retrieves the next page of results for a paginated collectionChangelog
v6.0.0 (2023-03-22)
Includes all of the changes made in v6.0.0-rc1 below plus the following:
status_detail
to trackersChangelog
v6.0.0-rc1 (2023-03-01)
API
to EasyPostClient
.save()
on it to create/update it at the API level, you will pass in the same data as before but to one of either create()
or update()
functions on the service in questionnotImplemented
functionslowestRate
) previously called on an object are instead called on a service. (eg: shipment.buy(shipment.lowest_rate())
is now client.Shipment.buy(shipment.id, shipment.lowest_rate())
))
/models
that contain the EasyPost objects/resources
to /services
to better reflect that a service called against an EasyPostClient differs from an API resource, now known as the models
_service
appended/utils
which contains both internal_util.js
which is not intended for user consumption and util.js
which contains public utilitiesgetLowestSmartRate
and validateWebook
function to util.js
as neither of them require the client object to functionReferral
were changed to ReferralCustomer
to match the APIprimaryOrSecondary
parameter name to priority
in billing functions to match the APItype
parameter for retrieving all reports removed, include type
in generic params
dictionary instead.smartrate
to SmartRate
and smartRate
to match the APIretrieveStatelessRates
and getLowestStatelessRate
functionsverifyAddress
function to actually verify an address/all
API call with the name of the object in questionChangelog
v5.10.0 (2023-01-18)
all
function to Pickup
class to retrieve all pickupsretrievePayload
and retrieveAllPayloads
functions to retrieve payloads for an Event
easypost.Event.retrieveAllPayloads(eventId)
CustomsInfo
, CustomsItem
, ScanForm
, User
, Referral
, Rate
, CarbonOffset
, and Brand
(closes #328)Changelog
v5.9.0 (2023-01-11)
addPaymentMethod
can add a pre-existing Stripe bank account or credit card to your EasyPost accountrefundByAmount
refunds your wallet by a dollar amountrefundByPaymentLog
refunds you wallet by a PaymentLog IDChangelog
v5.8.0 (2022-12-07)
save
function