Overview Flow Guide

This guide will walk you through a streamlined process for using Easyship shipping API to seamlessly integrate and manage your shipments from start to finish.

By following this guide, you'll quickly dive into essential functionality and learn how to collect shipment details, retrieve shipping rates, select a courier, create shipments, generate labels, and keep track of your shipments through real-time updates. Whatever needs you have, Easyship will simplify your shipping experience.

Before you begin

As a prerequisite on your side, you will need sender and recipient addresses, dimensions of a package, weight of all items to be delivered and delivery terms to create a shipment.

Step-by-step description

  1. Create a shipment. Use Create a Shipment to create a new shipment. The rates will be included in the rates section.
    • Here's a How to Create a Shipment guide to help you.
    • To save time and optimise your costs, you can create batches of shipments.
    • By adding parameters buy_label and buy_label_synchronous(not supported in batch creation), you can decide the label generation behavior in the same request. However, this might extend the processing time depending on the couriers' response.

  2. Retrieve rates. Retrieve a list of available shipping options and their corresponding costs from the shipment.rates section. The rates are calculated based on shipment destination, package, total dimensions, and weight.
    • The courier_service_id to include in the generate label requests will be included in shipment.rates.[]courier_service.

  3. Update shipments. Use Update a Shipment to update the details of a shipment.
    • Updating courier selection under shipment.courier_service_id is not mandatory. You will be able to provide the selected courier_service_id when generating labels.

  4. Generate label. Once the shipment is created, use Create a Batch of Labels(asynchronously) or Create Label(synchronously) to confirm the shipment and generate a shipping label with other shipping documents. Generating the label will trigger delivery. From this step, shipment information will be transferred to the courier.
  5. Obtain tracking updates. You can track the shipment status in two ways: