v1
latestOpenAPI 3.0.12026-08-0688138402.2 KBShipment templates
List all shipment templates
Returns a list of shipment templates.
get/shipment_templates
Query parameters
idinteger
ID for the shipment template to be included in the filter
sender_countrystring
Example:DK
Country code (ISO Alpha-2) to be included in the filter.
receiver_countrystring
Example:DK
Country code (ISO Alpha-2) to be included in the filter.
per_pageinteger
For pagination. Defines how many entries are returned per page.
pageinteger
For pagination. Defines which page the results are fetched from.
Response
Successful.
Example response
[
{
"id": 11460,
"name": "GLS Shipments",
"default": true,
"product_code": "GLSDK_HD",
"customer_number": "123456789",
"service_codes": "EMAIL_NT,SMS_NT",
"sender": {
"country_code": "DK"
},
"receiver": {
"country_code": "DK"
},
"parcels": [
{
"quantity": 1,
"weight": 1000,
"length": 20,
"width": 10,
"height": 6,
"volume": 0.012,
"running_metre": 1.25,
"description": "Bike accessories",
"packaging": "PL1",
"stackable": true,
"dangerous_goods": [
{
"class": "3",
"un_number": "1202",
"net_weight": 20100,
"net_weight_kg": 20.1,
"gross_weight": 20100,
"gross_weight_kg": 20.1,
"quantity": 3,
"packaging": "drums",
"description": "DIESEL FUEL, < 62°C (640K)",
"tunnel_restriction_code": "A",
"packing_group": "III"
}
],
"declared_value": {
"amount": 1250,
"currency_code": "DKK"
},
"attributes": [
{
"name": "vat_no",
"value": "DK36399066"
}
]
}
]
}
]