v1
latestOpenAPI 3.1.02026-07-2617501.1 MBCreate a new dispatch (v2)
post/v2/dispatches
Response
201
Example response
{
"dispatch": {
"id": 2646,
"consignee_dispatch_location_id": 8386,
"shipper_dispatch_location_id": 8385,
"consignee_form_ids": [
"de05ebc6-5873-43b4-82fd-1dffe6805558"
],
"consignee_status": "available",
"consignee_type": "dropoff",
"shipper_form_ids": [
"582e259f-c1fe-4a7f-9cb8-1873833057bc"
],
"shipper_status": "available",
"shipper_type": "pickup",
"status": "cancelled",
"status_updated_at": "2021-11-04T02:35:48Z",
"auto_complete_forms": true,
"shipper_dispatch_trip_id": 1345,
"consignee_dispatch_trip_id": 1345,
"vendor_id": "vv-4",
"vendor_shipper_id": "VSS-1",
"vendor_consignee_id": "VDS-1",
"dispatch_trips": [
{
"dispatch_trip": {
"id": 1345,
"status": "not_started",
"vendor_id": "VT-4",
"driver_id": 4805,
"vehicle_id": 2596
}
}
],
"vendor_shipper_dispatch_location_id": "v-1",
"vendor_consignee_dispatch_location_id": "v-2"
}
}