Create

POST {{baseUrl}}/account/:accountID/shipment

Create a Shipment to a specific Customer.

■ Trip Number must be created beforehand using the /trip endpoint

■ Shipment ID will be generated automatically if not provided

Request Body

{"shipment_name"=>"string", "trip_number"=>"string", "shipment_id"=>"string", "purchase_order"=>"string", "carrier_id"=>"string", "receiver_id"=>"string", "shipper_id"=>"string", "estimated_departure_date"=>"ISODate", "estimated_arrival_date"=>"ISODate", "product_id"=>"string", "airline"=>{"flight_hours"=>0, "airline"=>"string", "flight_number"=>"string", "departure_airport_id"=>"string", "arrival_airport_id"=>"string", "flight_mode"=>true}, "maritime"=>{"bol"=>"string", "scac"=>"string", "user_estimated_departure_date"=>"ISODate", "user_estimated_arrival_date"=>"ISODate", "departure_port_id"=>"string", "arrival_port_id"=>"string"}}

HEADERS

KeyDatatypeRequiredDescription
authorizationstring(Required)

RESPONSES

status: Created

{"message":"Shipment succesfully created"}