The Fulfill Shipment action ID will set the initial tracking information when all items in the shipment have been shipped. This will also put the shipment in the final completePackage state.
The .json address above can be used to access the schema within Postman. An example use of the Fulfill Shipment API follows below, or view the schema or the sample Postman Collection.
The example case will fulfill a shipment with the following properties:
- Shipment ID – 090909
- Carrier Information – UPS, 1-2 days
- Tracking Information – Tracking Number 0123456789
Fulfilling a shipment requires:
|shipmentID||integer||A unique identifier for the shipment. The minimum value is "1".|
|shipmentDate||string||The date the shipment was shipped. Supports date-time format.|
|trackingInformation||array||The tracking information for this shipment.|
|sendEmails||boolean||Should emails be sent? The default is "true".|
There is only one optional property:
|externalShipmentID||string||An externally defined shipment reference identifier. The minimum length is 1 and the maximum length is 10.|
The tracking information (/trackingInformation/[object]) for a shipment includes the following parameters, but only requires trackingNumber.
|trackingNumber||string||The shipment’s tracking number. The maximum length is 50.|
|deliveryType||string||The shipment’s shipping method.|
|carrierType||enum||The carrier (USPS, FedEx, etc.) delivering the shipment. See the schema for a full list of possible values.|
|carrierTypeOther||string||The carrier’s name if it is not one of Kibo’s listed carriers. The maximum length is 20.|
|transitTime||string||The time the shipment is expected to be in transit. The maximum length is 50.|
|trackingURL||string||The URL to track the shipment. The maximum length is 400.|
The Full Request
This is the entire request that will fulfill a shipment.
"transitTime": "1-2 Days"
The returned response follows the same structure as the Get Shipment API, providing information about the shipment that was fulfilled.