v1
latestOpenAPI 3.0.12026-08-0688138402.2 KBBulk waybills
Close an open bulk waybill
Closes an open bulk waybill and returns its details. The response include the Base64 for the bulk waybill PDF.
put/waybills/{id}/close
Path parameters
idinteger required
ID for the bulk waybill to be included in the filter
Request body
Example request
{
"packages": [
{
"product_code": "BRI_PPB",
"package_type": "PARCEL",
"amount": 3,
"weight": 1000
}
]
}Response
Successful.
Example response
{
"id": 23,
"reference": "CS000000000NO",
"status": "closed",
"carrier_code": "bring",
"customer_number": "123456789",
"created_at": "2018-06-16T06:25:44.557Z",
"sender": {
"name": "Min Virksomhed ApS",
"address1": "Strandvejen 6B",
"zipcode": "5240",
"city": "Odense NØ",
"country_code": "DK"
},
"receiver": {
"name": "Lene Hansen",
"address1": "Olav Kyrres gate 7",
"zipcode": "0273",
"city": "Oslo",
"country_code": "NO"
},
"loading": {
"name": "Lene Hansen",
"address1": "Skibhusvej 52",
"zipcode": "5000",
"city": "Odense C",
"country_code": "DK",
"date": "2019-01-30T13:54:29.000Z"
},
"delivery": {
"name": "Lene Hansen",
"address1": "Olav Kyrres gate 7",
"zipcode": "0273",
"city": "Oslo",
"country_code": "NO"
},
"shipment": {
"id": 123456,
"label_base64": "..."
},
"invoice_base64": "...",
"base64": "..."
}