AddShipmentRequest
Request to create a new shipment with one or more freights
Unique shipment identifier in your source system
Possible values: non-empty
SH-2024-001User identifier for owner / Assignee of freight in Swipload / Email in the case of a department user
albrektm / email@domain.tldShipper's internal shipment reference
OurInternalShipmentReferenceProject name to associate with the shipment
Project number. If set, this is used as the unique project identifier. If not set, ProjectName is used instead.
freights object[]required
Freights to be added to the Shipment
Freight type id enum.
Possible values: [Standard, Return, PickupByCustomer]
Freight status id enum.
Possible values: [Draft, PendingApproval, Open, InTransit, Delivered, Deleted, PendingDetails, PendingPickup, Cancelled]
Unique freight id in source system
Possible values: non-empty
a62f7d2b-2ddf-4c1c-9a93-98c39f05f382Shipper's internal freight order reference
OurInternalFreightOrderReferenceConsignors reference on Freight.
G1444-45Consignees reference on Freight.
G1444-45Sender company name
Possible values: non-empty
Our company ASSender contact person name
John DoeSender contact person phone, in E.164 format.
+4740484410Receiving company name
Possible values: non-empty
Cargo Receiver ASReceiving contact person name
Jane DoeReceiving contact person phone, in E.164 format.
+4740484410pickupLocation objectrequired
A pickup or delivery location with address, coordinates, and time window
Address
Elgfaret 72Zip
Possible values: <= 12 characters
3930City
PorsgrunnCountry code
NOLatitude of location
59.915318Longitude of location
10.745938Name of company or location
Earliest point in time, if null this will be set to the current time
Latest point in time
Extra info to use in DateTimeOffsets if and when needed
deliveryLocation objectrequired
A pickup or delivery location with address, coordinates, and time window
Address
Elgfaret 72Zip
Possible values: <= 12 characters
3930City
PorsgrunnCountry code
NOLatitude of location
59.915318Longitude of location
10.745938Name of company or location
Earliest point in time, if null this will be set to the current time
Latest point in time
Extra info to use in DateTimeOffsets if and when needed
Additional pickup details
Please contact sender when it comes to the departure day.Additional delivery details
Contact warehouse manager for instructions where to unload the goods.Total quantity
1Total weight in kilograms
1200Total volume in m^3
12Length in centimeters (cm)
230Width in centimeters (cm)
60Height in centimeters (cm)
192Description of the order
A blue container filled with rocks. Ready at the terminal on given time. Remember to always drive carefully - stay safe!Total pallets
3Total loading meters
9Total chargeable weight in kilograms
1200freightLines object[]nullable
Individual freight lines (cargo items) within this freight
Arbitrary product name.
Possible values: <= 250 characters
Block of concreteArbitrary item number.
Possible values: <= 50 characters
B-123Description of product
Possible values: <= 250 characters
Nicely patinated with colorcode #532943International Article Number (also known as European Article Number or EAN)
Possible values: <= 13 characters
4131618458562Serial Shipping Container Codes (SSCCs)
Possible values: <= 18 characters
230874513969584500Location if product, i.e. warehouse code
Possible values: <= 50 characters
P3Quantity
2Pallets
Weight in kilograms
1.1111Volume in m^3
1.111111Lenght in centimeters (cm)
1.1111Width in centimeters (cm)
1.1111Height in centimeters (cm)
1.1111Loading meter (LDM)
1.1111Thickness of horizontal elements (cm)
1.1111documentList object[]nullable
Documents to attach to the freight (e.g. packing lists, CMR)
Name of the file including extension
delivery_note.pdfMIME content type of the file. If omitted, it will be inferred from the file extension.
application/pdfFile content encoded as a Base64 string. Do not include the Data URI prefix (e.g. "data:image/png;base64,").
JVBERi0xLjQKJcOkw7zDtsOf...If company departments are enabled for the shipper, this is required
{
"externalShipmentId": "SH-2024-001",
"assignee": "albrektm / email@domain.tld",
"shippersReference": "OurInternalShipmentReference",
"projectName": "string",
"projectNumber": "string",
"freights": [
{
"freightType": "Standard",
"statusId": "Draft",
"externalFreightId": "a62f7d2b-2ddf-4c1c-9a93-98c39f05f382",
"shippersReference": "OurInternalFreightOrderReference",
"consignorsReference": "G1444-45",
"consigneesReference": "G1444-45",
"senderContactCompany": "Our company AS",
"senderContactPerson": "John Doe",
"senderContactCellphone": "+4740484410",
"recipientContactCompany": "Cargo Receiver AS",
"recipientContactPerson": "Jane Doe",
"recipientContactCellphone": "+4740484410",
"pickupLocation": {
"address": "Elgfaret 72",
"zipCode": "3930",
"city": "Porsgrunn",
"countryCode": "NO",
"latitude": 59.915318,
"longitude": 10.745938,
"contactCompany": "string",
"fromDate": "2024-07-29T15:51:28.071Z",
"toDate": "2024-07-29T15:51:28.071Z",
"dateTimeOffsetSpan": "string"
},
"deliveryLocation": {
"address": "Elgfaret 72",
"zipCode": "3930",
"city": "Porsgrunn",
"countryCode": "NO",
"latitude": 59.915318,
"longitude": 10.745938,
"contactCompany": "string",
"fromDate": "2024-07-29T15:51:28.071Z",
"toDate": "2024-07-29T15:51:28.071Z",
"dateTimeOffsetSpan": "string"
},
"pickupComment": "Please contact sender when it comes to the departure day.",
"deliveryComment": "Contact warehouse manager for instructions where to unload the goods.",
"sumQty": 1,
"sumWeight": 1200,
"sumVolume": 12,
"length": 230,
"width": 60,
"height": 192,
"jobDescription": "A blue container filled with rocks. Ready at the terminal on given time. Remember to always drive carefully - stay safe!",
"sumPallets": 3,
"sumLoadingMeters": 9,
"sumChargeableWeight": 1200,
"freightLines": [
{
"name": "Block of concrete",
"itemNumber": "B-123",
"description": "Nicely patinated with colorcode #532943",
"ian": "4131618458562",
"sscc": "230874513969584500",
"location": "P3",
"quantity": 2,
"pallets": 0,
"weight": 1.1111,
"volume": 1.111111,
"length": 1.1111,
"width": 1.1111,
"height": 1.1111,
"loadingMeters": 1.1111,
"thk": 1.1111
}
],
"documentList": [
{
"fileName": "delivery_note.pdf",
"fileContentType": "application/pdf",
"fileContentBase64": "JVBERi0xLjQKJcOkw7zDtsOf..."
}
]
}
],
"targetDepartment": "string"
}