Overview
Create a shipment that groups parcels that will be dispatched together to e-CROSS’ consolidation hub. This is essential when you use your own first mile carrier to dispatch picked and packed parcels from your warehouse.Create Shipment
During the pick & pack process, you generate the first mile label to dispatch parcels to e-CROSS’ consolidation hub, usually grouping more than one parcel into a “master box”. Once this process is finished, create a Shipment on e-CROSS to inform which parcels are contained in this dispatch and which is the first mile tracking code.The Shipment is essential to allow e-CROSS to pre-alert the consolidation hub about upcoming parcels to prevent any losses.
Request Parameters
Array containing the
parcelId values of parcels contained in this shipment. Each parcel ID corresponds to an order that has reached READY_FOR_SHIP status.Human-readable description of the dispatch (e.g., “Weekly dispatch”, “Daily shipment”).
Expected date and time when the package will leave the fulfillment facility, in ISO 8601 format.
Expected date and time when the package will arrive at the consolidation hub, in ISO 8601 format.
Identifier of the first mile carrier company (e.g.,
USPS, FedEx, DHL).Tracking number or code of the first mile dispatch. This is the tracking code for the master box containing the parcels.
Response Fields
Unique identifier of this shipment.
Status of the shipment. Can be one of:
CREATED- Shipment has been createdSHIPPED- Shipment has been shippedCANCELLED- Shipment was cancelled
Array containing the parcel IDs contained in this shipment.
Human-readable description of the dispatch.
Expected date when the package will leave the fulfillment facility.
Expected date when the package will arrive at the consolidation hub.
Tracking number or code of the first mile dispatch.
Total weight of the shipment in kilograms, generated by summing the weight of all parcels.
The merchant ID.
Date and time when the shipment was created.
Date and time when the shipment was last updated.
How to Retrieve Parcel IDs
To retrieve theparcelId for each order, follow these steps:
1
Ensure order is ready
Make sure the order has reached the
READY_FOR_SHIP status.2
Retrieve the order
Retrieve the order via the “Get Order” or “Get Order by Sales Channel Id” APIs.
3
Find the parcelId
Find the
parcelId in the following path: order.statusHistory[status="READY_FOR_SHIP"].eventData.parcelIdAlternatively, you can find the
parcelId using the externalParcelId, which is the tracking number in the barcode on the shipping label. This can be identified by scanning the barcode or found in order.shipping.deliveries.lastMileTrackingNumber.Get Shipment
Next: Learn how to retrieve shipment details
