shipmentPlanning
Shipment Planning API
Changed onDetermine when a shipment should drop to the fc and ship by to arrive by a date.
post/api/v1/deliveryexperience/shipmentPlanning
Request
- Base URLhttps://api.shipium.com
- AuthOAuth 2PasswordToken URLhttps://auth.shipium.com/oauth/tokenScopesdelivery-experience-service
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}
}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": "ShipiumCalculated",
"estimatedTransitDays": 3
}Changes
- breaking
the
//request property's minLength was increased from0to2 - breaking
the
//request property's minLength was increased from0to2 - warning
deleted the
headerrequest parameterX-DELEGATED-PARTNER-ID - warning
the
//request property's maxLength was set to2 - warning
the
//request property's maxLength was set to2 - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- breaking