Move to In-Transit
curl --request POST \
--url https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transitimport requests
url = "https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transit"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transit"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transit")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Delivery status updated, notifications sent."
}
Manage Deliveries
Move to In-Transit
Move to In-Transit
curl --request POST \
--url https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transitimport requests
url = "https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transit"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transit"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transit")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.api.fleets.usedora.com/api/v1/deliveries/move_to_in_transit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Delivery status updated, notifications sent."
}
📝 Summary
This endpoint allows users to retrieve the details of a specific delivery by providing the unique delivery ID. It returns all relevant information related to the delivery, including the delivery status, sender and recipient details, assigned rider, and vehicle information.Requests
Example
Show child attributes
Show child attributes
"delivery_uuid[0]": "{{delivery_uuid}}"
Params
Show child attributes
Show child attributes
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
body | body | object | no | none |
delivery_uuid[0] | body | string | yes | none |
Responses
| HTTP Status Code | Meaning | Description | Data schema |
|---|---|---|---|
| 200 | OK | none | Inline |
| 422 | Bad Request | none | Inline |
{
"status": "success",
"message": "Delivery status updated, notifications sent."
}
⌘I