Skip to main content

Overview

Order fulfillment is the process of picking, packing, and shipping the international orders that came from e-CROSS. This guide walks you through the complete fulfillment workflow.

Order fulfillment workflow

1

Identify orders ready to ship

When an order is ready to be handled by fulfillment (picked and packed), its status changes to READY_TO_SHIP. Use the List Orders API with the filter status=READY_TO_SHIP to identify orders available for picking and packing.
2

Retrieve order documents

Use the Get Order Documents API or the Get Order API to retrieve:
  • Commercial Invoice
  • Shipping Label
3

Pick and pack

Perform the physical picking and packing process in your warehouse using the order information.
4

Send tracking events

After the packing process is finished, send the AWAITING_PICK_UP tracking event, indicating that the parcel is ready to be picked up by the first mile carrier.After the first mile carrier collects the parcel, or you dispatch it to the first mile carrier, send the LEFT_FULFILLMENT tracking event.Both trackings must be sent using the Update Parcel Trackings API.
5

Create shipment

If you use your own first mile carrier, create a shipment grouping the parcels that are being dispatched together to the first mile carrier.If you have a pickup coordinated by e-CROSS, create a shipment indicating the parcels available for the pickup and the available pickup date.In both scenarios, use the Create Shipment API to create the shipment.

Identifying orders to start the picking

When an order is ready to be handled by fulfillment (picked and packed), its status changes to READY_TO_SHIP. This status indicates that all the required cross border documents are available and the order can start the fulfillment process. Invoke the List Orders API with status=READY_TO_SHIP to identify the orders ready to be picked and packed.

Retrieving the order documents

The order documents can be retrieved using: Documents are found in the documents array:
  • Invoice (document.name == "Invoice"): The Commercial Invoice automatic generated by e-CROSS for the order. This document should be printed and placed in a plastic envelope attached to the package. This document is not mandatory to be sent printed, but is highly recommended to mitigate possible questions or doubts from the customs authorities.
  • Labels (document.name starts with "Label"): Package Labels (can be one or many) that must be printed and attached to the external side of the package. These labels are recognized by logistic operators involved in the order’s linehaul. If each label document has multiple pages, then the first page must be attached to the package and the rest of the pages must be placed inside the plastic envelope with the invoice.
Documents are only available after the order reaches the READY_TO_SHIP status. If you receive a processing status, wait some time and try again.

Identifying the parcel ID

To interact with the next topics (tracking events and shipments), you’ll need to identify the order’s parcel ID. The parcel ID is available within the order, through: order.statusHistory[status="READY_FOR_SHIP"].eventData.parcelId.

Fulfillment tracking events

These events are optional but highly recommended.
The following are specific events that should be monitored during the fulfillment process to give buyers the best visibility of the parcel status:
  • AWAITING_PICK_UP - The parcel was picked and packed and is ready to be picked up by the first mile operator.
  • LEFT_FULFILLMENT - The parcel was picked by the first mile operator and left the fulfillment facility.
Use the Update Parcel Trackings API to send these events.
The Update Parcel Trackings API supports batch updates of up to 500 events for different parcels in a single request. This allows you to efficiently update multiple parcels at once.

First mile shipments

ATTENTION: the Shipment is essential to allow e-CROSS to pre-alert the consolidation hub about upcoming parcels and prevent any losses and delays.
During the pick & pack process, by default, you generate the first mile label to dispatch parcels to e-CROSS’ consolidation hub, usually grouping more than one parcel into a “master box”. The address of the consolidation hub is available in the order.shipping.freightForwarderAddress field. Once this process is finished, create a Shipment on e-CROSS using the Create Shipment API to inform which parcels are contained in this dispatch and which is the first mile tracking code. The first mile tracking code is the number printed in the first mile label, that will be used to a) track the first mile dispatch and b) inform the consolidation hub about the code that physically in the box that contains the upcoming parcels.
It is recommended to group different parcels into a “master box” to be more cost efficient in the first mile costs but it is also possible to dispatch each parcel individually, containing both shipping labels attached to the package, depending on the consolidation hub partner. If you want to consider the individual parcel dispatch, align it during your onboarding phase.
If you operate with a pickup coordinated by e-CROSS, the Shipment must be created with the goal to schedule the pickup of the parcels, following the same approach of grouping the parcels available for the pickup into a single Shipment.