v1
latestOpenAPI 3.0.12026-07-2481208369.3 KBshipmentPlanning
Shipment Planning API
Determine when a shipment should drop to the fc and ship by to arrive by a date.
post/api/v1/deliveryexperience/shipmentPlanning
Headers
X-DELEGATED-PARTNER-IDstring
Request body
Example request
{
"requestDateOverride": "2019-10-31T00:00:00Z",
"desiredDeliveryDate": "2020-04-20",
"mustShipByDate": "2020-04-20",
"shipmentParameters": {
"shipFromAddress": {
"street1": "123 Main St.",
"street2": "Suite 42",
"city": "Albuquerque",
"state": "NM",
"countryCode": "US",
"postalCode": "\"87121\"",
"addressType": "commercial"
},
"destinationAddress": {
"street1": "123 Main St.",
"street2": "Suite 42",
"city": "Albuquerque",
"state": "NM",
"countryCode": "US",
"postalCode": "\"87121\"",
"addressType": "commercial"
},
"originId": "\"origin-id-123\"",
"deliverySignatureOption": "resident_signature",
"shipOption": "Standard"
},
"options": {
"shippingOptions": {
"shipOption": "Standard",
"fromCountryCode": "US",
"fromPostalCode": "\"98101\"",
"originId": "\"origin-id-123\"",
"estimateSource": "ShipiumGenerated",
"timeInTransitSetting": "aggressive"
}
}
}Response
Shipment Planning successfully calculated.
Example response
{
"shipmentPlanningId": "b903b8b0-84b4-11ea-ab12-0800200c9a66",
"shippingOrigin": {
"countryCode": "US",
"postalCode": "98101",
"shipiumOriginId": "0b3d140a-525b-43a7-896c-cdc381580d62",
"originId": "warehouse-west",
"partnerOriginId": "warehouse-west",
"originProcessingDays": 2.5
},
"requestDateOverride": "2019-10-31T00:00:00Z",
"desiredDeliveryDate": "2020-04-20T00:00:00Z",
"mustShipByDate": "2020-04-20",
"shipmentParameters": {
"shipFromAddress": {
"street1": "123 Main St.",
"street2": "Suite 42",
"city": "Albuquerque",
"state": "NM",
"countryCode": "US",
"postalCode": "\"87121\"",
"addressType": "commercial"
},
"destinationAddress": {
"street1": "123 Main St.",
"street2": "Suite 42",
"city": "Albuquerque",
"state": "NM",
"countryCode": "US",
"postalCode": "\"87121\"",
"addressType": "commercial"
},
"originId": "\"origin-id-123\"",
"deliverySignatureOption": "resident_signature",
"shipOption": "Standard"
},
"shipByDate": "2020-04-13T00:00:00Z",
"fcDropByDate": "2020-04-12T00:00:00Z",
"estimateSource": "ShipiumGenerated",
"estimatedTransitDays": 3
}