Replaced by /v2/transports endpoints.
Get list of all available transports. Transport id is used as code in deliveries
GET
/transports
curl \
-X GET https://mpapi.proxy.omnicado.com/v1/transports?client_id=yourClientId&client_id=api_token_value \
-H "X-Application-Name: myApplicationName"
Response examples (200)
{
"data": [
{
"isPickupPoint": false,
"id": 1,
"transportName": "PPL",
"packageSize": "SMALLBOX"
}
],
"result": {
"code": 200,
"status": "OK"
}
}
Response examples (200)
{
"data": [
{
"isPickupPoint": false,
"id": 1,
"transportName": "PPL",
"packageSize": "SMALLBOX"
}
],
"result": {
"code": 200,
"status": "OK"
}
}