plans
Endpoint to retrieve all the orders from a Plan.
Changed onget/api/v1/fe/plans/{planId}/orders
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
Response
List of orders from a plan.
Example response
[
{
"currencyCode": "usd",
"desiredDeliveryDate": "2019-10-31T20:00:00Z",
"businessDaysOfTransit": 3,
"shipOption": "Standard",
"shippedDateTime": "2019-10-29T09:12:33.123456Z",
"destinationAddress": {
"name": "Wile E. Coyote",
"company": "ACME",
"street1": "123 Main St.",
"street2": "Suite 42",
"city": "Albuquerque",
"region": "NM",
"countryCode": "US",
"postalCode": "\"87121\"",
"addressType": "commercial"
},
"orderedDateTime": "2019-10-28T14:34:55.123456Z",
"orderItemQuantities": [
{
"productId": "RN03947--Z43121"
}
],
"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