delivery-experience
Cart Delivery Date Estimate
Changed onCalculate the Estimated Delivery Date for a cart with multiple origins with inventory
post/api/v1/deliveryexperience/cartDeliveryEstimate
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
{
"customerCountryCode": "US",
"customerPostalCode": "\"98101\"",
"requestDateOverride": "2019-10-31T00:00:00Z",
"shipDateOverride": "2019-10-31T00:00:00.000000Z",
"cartShippingOptions": {
"shippingLocationOptions": [
{
"shipOption": "Standard",
"fromCountryCode": "US",
"fromPostalCode": "\"98101\"",
"originId": "\"origin-id-123\"",
"estimateSource": "ShipiumCalculated",
"timeInTransitSetting": "aggressive"
}
]
}
}Response
Cart Delivery Estimates provided.
Example response
{
"customerCountryCode": "US",
"customerPostalCode": "98101",
"requestDateOverride": "2019-10-31T00:00:00Z",
"shipDateOverride": "2019-10-31T00:00:00.000000Z",
"originDeliveryEstimates": [
{
"deliveryEstimateId": "0b3d140a-525b-43a7-896c-cdc381580d61",
"shipEstimateDate": "2019-10-31T00:00:00Z",
"shipEstimateDateUTC": "2019-10-31T00:00:00Z",
"deliveryEstimateDate": "2019-10-31T00:00:00Z",
"deliveryEstimateDateUTC": "2019-10-31T00:00:00Z",
"customerOrderCutoff": "2019-10-31T15:00:00-07:00",
"customerOrderCutoffUTC": "2019-10-31T22:00:00Z",
"estimateSource": "ShipiumCalculated",
"estimatedTimeInTransitDays": 3,
"shippingOrigin": {
"countryCode": "US",
"postalCode": "98101",
"shipiumOriginId": "0b3d140a-525b-43a7-896c-cdc381580d62",
"originId": "warehouse-west",
"partnerOriginId": "warehouse-west",
"originProcessingDays": 2.5
},
"shippingOptions": {
"shipOption": "Standard",
"fromCountryCode": "US",
"fromPostalCode": "\"98101\"",
"originId": "\"origin-id-123\"",
"estimateSource": "ShipiumCalculated",
"timeInTransitSetting": "aggressive"
}
}
]
}Changes
- breaking
removed the enum value
Unknownof the request property/// - 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 - info
the request property
became optional
- breaking