Skip to main content
POST
/
transports
Create transport
curl --request POST \
  --url https://api.quivo.co/transports \
  --header 'Content-Type: application/json' \
  --data '
{
  "shipTo": {
    "city": "<string>",
    "countryIso2": "<string>",
    "street": "<string>",
    "name": "<string>",
    "company": "<string>",
    "phone": "<string>",
    "email": "<string>",
    "zip": "<string>",
    "state": "<string>",
    "street2": "<string>"
  },
  "sellerId": 123,
  "shipFrom": {
    "city": "<string>",
    "countryIso2": "<string>",
    "street": "<string>",
    "name": "<string>",
    "company": "<string>",
    "phone": "<string>",
    "email": "<string>",
    "zip": "<string>",
    "state": "<string>",
    "street2": "<string>"
  },
  "positions": [
    {
      "deliveryType": "CONTAINER",
      "quantity": 2,
      "unitWeightKg": 1,
      "unitLengthM": 1,
      "unitWidthM": 1,
      "unitHeightM": 1,
      "contentDescription": "<string>",
      "containerType": "<string>"
    }
  ],
  "pickupDate": "2023-12-25",
  "deliveryDate": "2023-12-25"
}
'
{
  "status": "<string>",
  "transportId": 123
}

Body

application/json

Data to create a new resource at /transports

Request payload for creating a new transport record. Contains transport details including origin, destination, mode of transport, and shipment references.

shipTo
object
required

Address data structure

sellerId
integer<int64>
required

Seller ID.

shipFrom
object
required

Address data structure

positions
object[]
required

List of the positions for transportation.

pickupDate
string<date>

Optional estimated date of departure

deliveryDate
string<date>

Optional estimated date of arrival

Response

Returns the result of the transport record creation, including assigned identifier and status.

Result of creating a transport record. Contains transport identifier and processing status.

status
string

The current status of the item

transportId
integer<int64>

The unique identifier for the transport