GET /transports

Replaced by /v2/transports endpoints.

Get list of all available transports. Transport id is used as code in deliveries

Headers

  • X-Application-Name string

Query parameters

  • client_id string Required

    Client identifier

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • data array[object]
      Hide data attributes Show data attributes array[object]
      • isPickupPoint boolean Required

        Transport is pickup point

      • id integer Required

        Transport id

      • transportName string Required

        Transport name

      • packageSize string Required

        Transport package size

        Values are SMALLBOX or BIGBOX.

    • result object
      Hide result attributes Show result attributes object
      • code integer(int)
      • status string
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"
  }
}