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
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.Retrieve order documents
Use the Get Order Documents API or the Get Order API to retrieve:
- Commercial Invoice
- Shipping Label
Pick and pack
Perform the physical picking and packing process in your warehouse using the order information.
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.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 toREADY_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:- Get Order Documents API, using e-CROSS order ID, or
- Get Order Documents by Sales Channel Order ID API using the sales channel order ID. This is specially useful if your ERP/WMS already retrieve the order directly from the sales channel.
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.namestarts 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.
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.
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.
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
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 theorder.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.
