plans
Endpoint to retrieve an existing plan.
Changed onget/api/v1/fe/plans/{planId}
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.
Path parameters
planIdstring required
Query parameters
asOfDateTimestring date-time
Response
Details on existing plan, shipment candidates calculated.
Example response
{
"urn": "urn:fe:global-config:FE91F3A8-6838-469A-B9F8-2D82127573DC:1",
"auditInfo": {
"version": 1
},
"proposedShipments": [
{
"cost": {
"performance": {
"estimatedDeliveryDateLocal": "2007-12-03T10:15:30"
}
},
"destinationAddress": {
"name": "Wile E. Coyote",
"company": "ACME",
"street1": "123 Main St.",
"street2": "Suite 42",
"city": "Albuquerque",
"region": "NM",
"countryCode": "US",
"postalCode": "\"87121\"",
"addressType": "commercial"
},
"packagingType": {
"linearDimensions": {
"linearUnit": "in",
"length": 13,
"width": 12,
"height": 10
},
"weight": {
"weightUnit": "lb",
"weight": 50
},
"maxContentWeight": {
"weightUnit": "lb",
"weight": 50
}
},
"shipmentItems": [
{
"productId": "RN03947--Z43121",
"linearDimensions": {
"linearUnit": "in",
"length": 13,
"width": 12,
"height": 10
},
"weight": {
"weightUnit": "lb",
"weight": 50
}
}
],
"totalWeight": {
"weightUnit": "lb",
"weight": 50
}
}
],
"unfulfillableItems": [
{
"orderItem": {
"productId": "RN03947--Z43121"
}
}
]
}Changes
- info
endpoint added
- info