Create - Shipment Templates
POST/api/auction/favorites
Create a favorite
Request
Header Parameters
Apikey of a company linked to a user
- application/json
Body
Possible values: <= 4500
Default value: 0
Cargo height. Take into account the value of is_imperial_measure to determine if it's in cm/inch
Possible values: <= 24000
Weight of the Cargo. Consider the value of is_imperial_measure to determine if it's in kg/lb
Cargo description.
Possible values: >= 24 characters
and <= 24 characters
, Value must match regular expression ^[0-9a-fA-F]{24}$
Default value: 64f95ba1fd52766b7896025e
The _ID of the selected address. Check your address listing request before entering a value.
Destination loading method type ('back', 'up', 'side')
Possible values: >= 24 characters
and <= 24 characters
, Value must match regular expression ^[0-9a-fA-F]{24}$
Default value: 64f95ba1fd52766b7896025e
The _ID of the selected address. Check your address listing request before entering a value.
Origin loading method type ('back', 'up', 'side')
Name of the favorite auction.
Possible values: >= -273
and <= 1000
Default value: 0
If is_fresh is True, this value is required. And it will be the optimal cargo temperature.
If there are loading methods at the destination
If there are loading methods at the origin
Whether it's a refrigerated truck or not. By default, no.
To indicate whether we will use Imperial metrics (Pounds, inches) or Decimal metrics (cm, kg).
If the shipment is palletized. Check the cargo_type field.
Possible values: <= 66
Default value: 0
Number of pallets in the shipment.
Possible values: non-empty
, [european
, american
, none
]
Default value: european
Type of pallet to use. It will be used for volume calculations, measurements, and legal checks. Consider the value of the is_pallet field.
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
data object
Possible values: <= 4500
Default value: 0
Cargo height. Take into account the value of is_imperial_measure to determine if it's in cm/inch
Possible values: <= 24000
Weight of the Cargo. Consider the value of is_imperial_measure to determine if it's in kg/lb
Possible values: >= 24 characters
and <= 24 characters
, Value must match regular expression ^[0-9a-fA-F]{24}$
Default value: 64f95ba1fd52766b7896025e
The _ID of the selected address. Check your address listing request before entering a value.
Possible values: >= 24 characters
and <= 24 characters
, Value must match regular expression ^[0-9a-fA-F]{24}$
Default value: 64f95ba1fd52766b7896025e
The _ID of the selected address. Check your address listing request before entering a value.
Possible values: >= -273
and <= 1000
Default value: 0
If is_fresh is True, this value is required. And it will be the optimal cargo temperature.
If there are loading methods at the destination
If there are loading methods at the origin
Whether it's a refrigerated truck or not. By default, no.
To indicate whether we will use Imperial metrics (Pounds, inches) or Decimal metrics (cm, kg).
If the shipment is palletized. Check the cargo_type field.
Possible values: <= 66
Default value: 0
Number of pallets in the shipment.
Possible values: non-empty
, [european
, american
, none
]
Default value: european
Type of pallet to use. It will be used for volume calculations, measurements, and legal checks. Consider the value of the is_pallet field.
{
"data": {
"_id": "string",
"cargo_height": 0,
"cargo_weight": 2500,
"createdAt": "string",
"deleted": true,
"description": "string",
"etd_address": "64f95ba1fd52766b7896025e",
"etd_cargo_method": "string",
"etl_address": "64f95ba1fd52766b7896025e",
"etl_cargo_method": "string",
"fav_name": "string",
"fresh_cargo_temp": 3,
"had_etd_cargo_method": false,
"had_etl_cargo_method": false,
"is_fresh": false,
"is_imperial_measure": false,
"is_pallet": false,
"owner": "string",
"pallets_num": 0,
"pallets_type": "european",
"updatedAt": "string",
"user": "string"
},
"status": 0
}