

We'll teach you a bit more about tracking in the next tutorial. EasyPost supports sending automatic tracking updates to your app with webhooks. Here are some helpful infrastructure API metrics to consider tracking. You can use this to store on your side or pass to your customers.

In the response, you'll also notice that we pass back the tracking ID for your package. PNG format but you can also request labels in other formats. The url can be found on a Shipment's postage_label.label_url property (this property's name may be different if you requeset a specific label type).īy default, labels are returned in.
#ITRACKING API FOR BUSINESSES DOWNLOAD#
Once you buy the label, we'll respond with a url to the image of your label that you can download and print. We also have convenience functions built into the client libraries so you buy the lowest rate every time if that's easier for you. It can also check the tracking status of off-platform shipments if provided by the carrier and the tracking number (assuming the carrier is supported). The API keeps track of labels purchased from Shippo. If using the REST API, then POST the rate ID to the shipment resource. The Shippo REST Tracking API allows you to track shipments of all available carriers. If you are using a client library, just call the buy method on the shipment and pass the ID of the rate you want to use. To do this, you need to tell us which rate you want to use. Now you're ready to buy the label so you can print it out and put it on your package. link Step 4: Buy and Generate a Shipping Label link For every type of object you create on EasyPost, we will pass you back a unique ID that you can use to reference in the future. This is helpful for when you are sending a lot of packages from a single location. You can reuse this ID in the future for other packages you ship. Once you create an Address, EasyPost returns a unique ID for the Address. You need to create an Address object for both the To and the From Addresses. An Address object contains information you'd expect like name, street, city, state, country, etc. To start, create the To and From Addresses for the package you'll be shipping. Step 1: Create To and From Addresses link
#ITRACKING API FOR BUSINESSES HOW TO#
You'll need to know these few details to understand some of the code samples, and how to optimize your application. Read the EasyPost Objects section of the docs.If you prefer, you can always interact directly the REST API with cURL. We also have community-supported client libraries like Perl and iOS on our Integrations page. Download an EasyPost Client Library in one following languages: Python, Ruby, PHP, Java, Node.js and C#(.NET).Note: Negotiated rates are only available in Production mode.
