/api/v1/freights/{freightId}
PUT
https://api-test.spotgo.eu/api/v1/freights/{freightId}
Freight
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api-test.spotgo.eu/api/v1/freights/' \
--header 'Content-Type: application/json; x-api-version=1.0' \
--data-raw '{
"externalNumber": "string",
"sources": [
0
],
"useAlternativeLocations": true,
"locations": [
{
"sequence": 0,
"type": "Loading",
"address": {
"countryCode": "string",
"postalCode": "string",
"city": "string",
"coordinates": {
"latitude": 0,
"longitude": 0
}
},
"period": {
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z"
}
}
],
"requirements": {
"trailerTypes": [
0
],
"vehicleTypes": [
0
],
"loadingSide": "Back",
"capacity": 0,
"pallets": 0,
"palletsExchange": true,
"ldm": 0,
"ftl": true,
"temperature": {
"max": 0,
"min": 0,
"regime": "Off"
}
},
"payment": {
"from": 0,
"currency": "string",
"growTo": 0,
"term": 0,
"until": "2019-08-24T14:15:22Z",
"updateRate": "string"
},
"comments": "string",
"internalComments": "string",
"customer": {
"name": "string",
"price": 0,
"currency": "string"
}
}'
Response Response Example
{}
Request
Path Params
freightId
string <uuid>
required
Body Params application/json; x-api-version=1.0
Responses
Modified at 2025-05-04 13:27:46