Insert Shipment
POST /v2/InsertShipment
Uri parameters
None
Body parameters
| Name | Description | Type | Additional description |
|---|---|---|---|
| RecipientFirstName | Recipient's first name. | String (100) | Required |
| RecipientLastName | Recipient's last name. | String (100) | Required |
| RecipientPhone | Recipient's phone number. | String (20) | Required |
| RecipientEmail | Recipient's email address. | String (255) | Required |
| RecipientPostalNr | Recipient's postal code. | String (10) | Required |
| RecipientPostalPlace | Recipient's postal place (city). | String (100) | Required |
| RecipientAddr1 | Main address line for the recipient. | String (255) | Required |
| RecipientAddr2 | Optional additional address information (e.g., attention line). | String (255) | Optional |
| ShipmentWidth | Width of the shipment in millimeters. | Integer | Required |
| ShipmentLength | Length of the shipment in millimeters. | Integer | Required |
| ShipmentHeight | Height of the shipment in millimeters. | Integer | Required |
| ShipmentVolume | Volume of the shipment in cubic centimeters. | Integer | Required |
| ShipmentWeight | Weight of the shipment in grams. | Integer | Required |
Important: Minimum one of the follow is required: Width Length Height, or Weight, or Volume.
Request body sample:
{
"RecipientFirstName": "Ola",
"RecipientLastName": "Nordmann",
"RecipientPhone": "12345678",
"RecipientEmail": "ola.nordmann@sendo.no",
"RecipientPostalNr": "7015",
"RecipientPostalPlace": "Trondheim",
"RecipientAddr1": "Testveien 2",
"RecipientAddr2": "att: Ola",
"ShipmentWidth": 100,
"ShipmentLength": 150,
"ShipmentHeight": 75
"ShipmentVolume": 250,
"ShipmentWeight": 2,
}
Response sample:
{
"SendoShipment": { "ID": 13450 }
}