Create Job
Changed onCreate a new delivery job with pickup and dropoff details. A job represents a post-dispatch delivery request. Set quote_request_only=true to get price quotes without dispatching.
Request
- Base URLhttps://api.sandbox.usenash.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"pickupAddressComponents": {
"number": "1600",
"street": "Pennsylvania Avenue NW",
"county": "Washington",
"city": "Washington",
"state": "DC",
"postalCode": "20500",
"country": "US",
"latitude": 38.8948949,
"longitude": -77.0371581
},
"dropoffAddressComponents": {
"number": "1600",
"street": "Pennsylvania Avenue NW",
"county": "Washington",
"city": "Washington",
"state": "DC",
"postalCode": "20500",
"country": "US",
"latitude": 38.8948949,
"longitude": -77.0371581
},
"packageMinimumVehicleSize": "car",
"packageRequirements": [
"photo_proof_of_delivery",
"age_verification_on_delivery"
],
"externalIdentifier": "mini-mart-order-99",
"optionsGroupId": "dss_1yMhHj",
"jobMetadata": {
"key": "value"
}
}Response
OK
Changes
- breaking
response property
route/anyOf[subschema #1: RouteSerializer]/statusHistory/anyOf[subschema #1]/items/additionalProperties/list-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
route/anyOf[subschema #1: RouteSerializer]/stops/items/distanceFromPreviouslist-of-types was widened by adding typesintegerto media typeapplication/jsonof response200 - breaking
response property
route/anyOf[subschema #1: RouteSerializer]/stops/items/durationFromPreviouslist-of-types was widened by adding typesintegerto media typeapplication/jsonof response200 - breaking
response property
route/anyOf[subschema #1: RouteSerializer]/stops/items/serviceTimelist-of-types was widened by adding typesintegerto media typeapplication/jsonof response200 - warning
added the new
cargo_bikeenum value to the///response property for the response status - warning
added the new
cargo_bikeenum value to the////response property for the response status - info
added the new
cargo_bikeenum value to the request property - info
added the optional property
//////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
/////////////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status
- breaking