GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
Webservices Requests Samples

Table of Contents

Data shown in the sample requests underneath should be replaced with user specific data. Services and products might be dependent on the country relation that the parcels are sent from and to. Please liaise with your GLS contact for further support.

Create parcel

Parcel

from DE to DE

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":["Ref-Unit-1234"],
"Product":"PARCEL",
"Consignee":{
"ConsigneeID":"1234567890",
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"eMail":"tim.test@gls.de",
"ContactPerson":"Laura Test",
"MobilePhoneNumber":"004912345678910",
"FixedLinePhonenumber":"004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-1234"],
"ParcelData":[{
"TrackID":"TEST1234",
"ParcelNumber":"202800020052",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST1234AA 3esa123465760
02320001001 ",
"Secondary2D":"A| Tim Test|Testallee|Testingen|||4f4754da-6bba-4e96-9| ",
"Primary1D":"202800020052",
"Primary1DPrint":true
},
"RoutingInfo":{
"GeoTour":"1829",
"LoadingArea":"7",
"DispositionFlag":"c"
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
}
}],
"PrintData":[{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2Rlgo=",
"LabelFormat":"SoftwarePartner"
}],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"]
}
}

from DE to Europe

REQUESTRESPONSE
{
"Shipment": {
"IncotermCode" : "10",
"Product": "PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Timmy Test",
"Name2" : "",
"CountryCode": "CH",
"ZIPCode": "3963",
"City": "Testhausen",
"Street": "Testgasse",
"StreetNumber" : "3"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST5678",
"ParcelNumber":"202800010060",
"Barcodes":{
"Primary2D":"ADE 777CH 2341234567890 1234567890 TEST5678CC 2 02013963
02320001001 1234567890 ",
"Secondary2D":"A|Timmy Test|Testgasse|Testhausen|6||| ",
"Primary1D":"202800010060",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"0201",
"InboundSortingFlag":"201",
"FinalLocationCode":"CH 234",
"HubLocation":"",
"LastRoutingDate":"2020-11-11"
},
"NDIArea":{
"NDI1D":"1234567890",
"CHParcelNumber":"1234567890",
"CHPRI1D":"1234",
"CHSI1D":"1234"
},
"HandlingInformation":"10"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2T0YK",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Information about Data Protection in GLS Group can be found at",
"gls-group.eu/dataprotection"
]
}
}
REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"Name2" : "",
"CountryCode": "NL",
"ZIPCode": "5656 AG",
"City": "Testingen",
"Street": "Teststraat",
"StreetNumber" : "3"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST0258",
"ParcelNumber":"202800010084",
"Barcodes":{
"Primary2D":"ADE 777NL 1231234567890 1234567890 TEST0258CC
2 02005656 AG02320001001 01053042466616 ",
"Secondary2D":"A|Tim Test|Teststraat|Testingen|60||| ",
"Primary1D":"202800010084",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"0200",
"InboundSortingFlag":"200",
"FinalLocationCode":"NL 123",
"HubLocation":"",
"LastRoutingDate":"2020-11-11"
},
"NDIArea":{
"NDI1D":"01053042466616"
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9 YXRyaXggWzEgMCAwKNDAxMzcKJSVFT0YK",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"#Information about Data Protection in GLS Group can be found at",
"#gls-group.eu/dataprotection"
]
}
}

from DE to World

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"Name2" : "",
"CountryCode": "NL",
"ZIPCode": "5656 AG",
"City": "Testingen",
"Street": "Teststraat",
"StreetNumber" : "3"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST1234",
"ParcelNumber":"202800010114",
"Barcodes":{
"Primary2D":"ADE 777NL 1231234567890 1234567890 TEST1234CC
2 02005656 AG02320001001 01053042466630 ",
"Secondary2D":"A|Tim Test|Teststraat|Testingen|60||| ",
"Primary1D":"202800010114",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"0200",
"InboundSortingFlag":"200",
"FinalLocationCode":"NL 123",
"HubLocation":"",
"LastRoutingDate":"2020-11-11"
},
"NDIArea":{
"NDI1D":"01053042466630"
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0ZRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRyaXggWzEgMCAwMTgwCiUlRU9GCg==",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"#Information about Data Protection in GLS Group can be found at",
"#gls-group.eu/dataprotection"
]
}
}

from AT to AT

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Timmy Test",
"Name2" : "",
"Name3" : "",
"CountryCode": "AT",
"ZIPCode": "8970",
"City": "Testhausen",
"Street": "Testgasse",
"StreetNumber" : "3",
"eMail": "tim.test@gls.de",
"ContactPerson": "Laura Test",
"MobilePhoneNumber": "004312345678910",
"FixedLinePhonenumber": "004312345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress": {
"Name1": "Timmy Test",
"Name2": "",
"Name3": "",
"CountryCode": "AT",
"Province": "",
"ZIPCode": "1080",
"City": "Testhausen",
"Street": "Testgasse",
"StreetNumber": "3",
"eMail": "tim.test@gls.de",
"FixedLinePhonenumber": "004312345678910",
"MobilePhoneNumber": "004312345678910"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST5678",
"ParcelNumber":"206200100109",
"Barcodes":{
"Primary2D":"AAT 520AT 3201234567890040rrd554 TEST5678AA 0 04018970 02320001001 ",
"Secondary2D":"A|Timmy Test|Testgasse|Testhausen|66||| ",
"Primary1D":"206200100109",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"0401",
"InboundSortingFlag":"0",
"FinalLocationCode":"AT 320",
"HubLocation":"",
"LastRoutingDate":"2020-11-11"
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0amVjdC9NYXRyaXggWzEgMCAwIDEgMOQolJUVPRgo=",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"AT 520",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

from BE to BE

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Timmy Test",
"Name2" : "",
"Name3" : "",
"CountryCode": "BE",
"ZIPCode": "8970",
"City": "Testhausen",
"Street": "Testgasse",
"StreetNumber" : "3",
"eMail": "tim.test@gls.de",
"ContactPerson": "Laura Test",
"MobilePhoneNumber": "004312345678910",
"FixedLinePhonenumber": "004312345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress": {
"Name1": "Timmy Test",
"Name2": "",
"Name3": "",
"CountryCode": "BE",
"Province": "",
"ZIPCode": "1080",
"City": "Testhausen",
"Street": "Testgasse",
"StreetNumber": "3",
"eMail": "tim.test@gls.de",
"FixedLinePhonenumber": "004312345678910",
"MobilePhoneNumber": "004312345678910"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST5678",
"ParcelNumber":"206200100109",
"Barcodes":{
"Primary2D":"AAT 520AT 3201234567890040rrd554 TEST5678AA 0 04018970 02320001001 ",
"Secondary2D":"A|Timmy Test|Testgasse|Testhausen|66||| ",
"Primary1D":"206200100109",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"0401",
"InboundSortingFlag":"0",
"FinalLocationCode":"BE 320",
"HubLocation":"",
"LastRoutingDate":"2020-11-11"
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iNTk1OQolJUVPRgo=",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"BE 520",
"GDPR":[
"L'information concernant la protection des donnees au sein du groupe GLS est disponible sur",
"Informatie omtrent gegevensbescherming binnen de GLS groep is beschikbaar op",
"Informationen zur GLS-Datenschutzrichtlinie unter",
"gls-group.eu/dataprotection"
]
}
}

from FR to FR

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Timmy Test",
"Name2" : "",
"Name3" : "",
"CountryCode": "AT",
"ZIPCode": "8970",
"City": "Testhausen",
"Street": "Testgasse",
"StreetNumber" : "3",
"eMail": "tim.test@gls.de",
"ContactPerson": "Laura Test",
"MobilePhoneNumber": "004312345678910",
"FixedLinePhonenumber": "004312345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress": {
"Name1": "Timmy Test",
"Name2": "",
"Name3": "",
"CountryCode": "AT",
"Province": "",
"ZIPCode": "1080",
"City": "Testhausen",
"Street": "Testgasse",
"StreetNumber": "3",
"eMail": "tim.test@gls.de",
"FixedLinePhonenumber": "004312345678910",
"MobilePhoneNumber": "004312345678910"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST5678",
"ParcelNumber":"206200100109",
"Barcodes":{
"Primary2D":"AAT 520AT 3201234567890040rrd554 TEST5678AA 0 04018970 02320001001 ",
"Secondary2D":"A|Timmy Test|Testgasse|Testhausen|66||| ",
"Primary1D":"206200100109",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"0401",
"InboundSortingFlag":"0",
"FinalLocationCode":"AT 320",
"HubLocation":"",
"LastRoutingDate":"2020-11-11"
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1RgWzEgMCAwNTk1OQolJUVPRgo=",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"AT 520",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

Services (for one relation only)

without service

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":[
],
"Product": "PARCEL",
"Consignee":{
"ConsigneeID":"1234567890",
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"eMail":"tim.test@gls.de",
"ContactPerson":"Laura Test",
"MobilePhoneNumber":"004912345678910",
"FixedLinePhonenumber":"004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"StreetNumber":"3",
"eMail":"tim.test@gls.de",
"FixedLinePhonenumber":"0049619664022",
"MobilePhoneNumber":"00491702033440"
}
},
"ShipmentUnit": [
{
"Weight": 5,
"Note1": "12345678901234567890123456789012345678901234567890"
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
"Ref-Unit-007"
],
"ParcelData":[
{
"TrackID":"TEST0258",
"ParcelNumber":"202800010039",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST0258AA 3esa123465760 02320001001 ",
"Secondary2D":"A| Tim Test|Testallee|Testingen|||8e1465b0-ed34-4c04-9| ",
"Primary1D":"202800010039",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iMzIKJSVFT0YK",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}
REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":[
],
"Product": "PARCEL",
"Consignee":{
"ConsigneeID":"1234567890",
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"eMail":"tim.test@gls.de",
"ContactPerson":"Laura Test",
"MobilePhoneNumber":"004912345678910",
"FixedLinePhonenumber":"004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"StreetNumber":"3",
"eMail":"tim.test@gls.de",
"FixedLinePhonenumber":"0049619664022",
"MobilePhoneNumber":"00491702033440"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
],
"ShipmentUnit": [
{
"Weight": 15
}
],
"ShipmentUnit": [
{
"Weight": 7,5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
"Ref-Unit-007"
],
"ParcelData":[
{
"TrackID":"TEST0258",
"ParcelNumber":"202800010121",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST0258AA 3esa123465760 02320001001 ",
"Secondary2D":"A| Tim Test|Testallee|Testingen|||726a1394-23b5-499a-9| ",
"Primary1D":"202800010121",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iNjE0CiUlRU9GCg==",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

CashService

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":["Ref-Unit-1234"],
"Product":"PARCEL",
"Consignee":{
"ConsigneeID":"1234567890",
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"eMail":"tim.test@gls.de",
"ContactPerson":"Laura Test",
"MobilePhoneNumber":"004912345678910",
"FixedLinePhonenumber":"004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5,
"Service": [{
"Cash": {
"ServiceName": "service_cash",
"Reason": "Cash order 12345",
"Amount": "150,15",
"Currency": "EUR"
}
}
]
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-1234"],
"ParcelData":[{
"TrackID":"TEST5678",
"ParcelNumber":"207100010017",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST5678AAD 3esa123465760 02320001001 ",
"Secondary2D":"A| Tim Test|Testallee|Testingen|||4f4754da-6bba-4e96-9| ",
"Primary1D":"207100010017",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[{
"Header":"CashService",
"Information":[
{"Name":"Reason","Value":"Cash order 12345"},
{"Name":"Amount","Value":"150,15"},
{"Name":"Currency","Value":"EUR"}
]
}]
},
"HandlingInformation":"C"
}],
"PrintData":[{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2E9iamGFydHhyZWYKMzgwNDgKJSVFT0YK",
"LabelFormat":"SoftwarePartner"
}],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"]
}
}
REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":[
],
"Product": "PARCEL",
"Consignee":{
"ConsigneeID":"1234567890",
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"eMail":"tim.test@gls.de",
"ContactPerson":"Laura Test",
"MobilePhoneNumber":"004912345678910",
"FixedLinePhonenumber":"004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"StreetNumber":"3",
"eMail":"tim.test@gls.de",
"FixedLinePhonenumber":"0049619664022",
"MobilePhoneNumber":"00491702033440"
}
},
"ShipmentUnit": [
{
"Weight": 5,
"Service": [{
"Cash": {
"ServiceName": "service_cash",
"Reason": "Cash order 12345",
"Amount": "100",
"Currency": "EUR"
}
}]
}
],
"ShipmentUnit": [
{
"Weight": 5,
"Service": [{
"Cash": {
"ServiceName": "service_cash",
"Reason": "Cash order 12345",
"Amount": "250",
"Currency": "EUR"
}
}]
}
],
"ShipmentUnit": [
{
"Weight": 15,
"Service": [{
"Cash": {
"ServiceName": "service_cash",
"Reason": "Cash order 12345",
"Amount": "175",
"Currency": "EUR"
}
}]
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
"Ref-Unit-4711"
],
"ParcelData":[
{
"TrackID":"TEST5678",
"ParcelNumber":"207100010017",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST5678AAD 3esa123465760 01500001001 ",
"Secondary2D":"A| Tim Test|Testallee|Testingen|||edec23a1-25d4-4a4e-8| ",
"Primary1D":"207100010017",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"CashService",
"Information":[
{
"Name":"Reason",
"Value":"Cash order 12345"
},
{
"Name":"Amount",
"Value":"150,15"
},
{
"Name":"Currency",
"Value":"EUR"
}
]
}
]
},
"HandlingInformation":"C"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cJlZgozODIyNAolJUVPRgo=",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

HazardousGoods

REQUESTRESPONSE
{
"Shipment": {
"Product":"PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail": "tim.test@gls.de",
"ContactPerson": "Laura Test",
"MobilePhoneNumber": "004912345678910",
"FixedLinePhonenumber": "004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress": {
"Name1": "Tim Test",
"Name2": "",
"Name3": "",
"CountryCode": "DE",
"Province": "Saxony",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"StreetNumber": "3",
"eMail": "tim.test@gls.de",
"FixedLinePhonenumber": "0049619664022",
"MobilePhoneNumber": "00491702033440"
}
},
"ShipmentUnit": [{
"Service": [{
"HazardousGoods": {
"ServiceName": "service_hazardousgoods",
"HazardousGood": [{
"GLSHazNo": "1263",
"Weight": 15
},{
"GLSHazNo": "1263",
"Weight": 5
}]
}
}],
"Weight": 5
}]
},
"PrintingOptions": {
"ReturnLabels": {
"TemplateSet": "NONE",
"LabelFormat": "SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[],
"ParcelData":[{
"TrackID":"TEST1234",
"ParcelNumber":"202800011579",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST1234AAL 3esa123465760 02320001001 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|||| ",
"Primary1D":"202800011579",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"HazardousGoodsService",
"Information":[
{"Name":"Unno","Value":"XXXX"},
{"Name":"HgClass","Value":"XXXX"},
{"Name":"Packaging","Value":"XXXX"},
{"Name":"PackagingGroup","Value":"XXXX"},
{"Name":"Substance","Value":"XXXX"},
{"Name":"HgCode","Value":"XXXX"},
{"Name":"EnvironmentalHaz","Value":"true"},
{"Name":"Unno","Value":"XXXX"},
{"Name":"HgClass","Value":"XXXX"},
{"Name":"Packaging","Value":"XXXX"},
{"Name":"PackagingGroup","Value":"XXXX"},
{"Name":"Substance","Value":"XXXX"},
{"Name":"HgCode","Value":"XXXX"},
{"Name":"EnvironmentalHaz","Value":"false"}
]
},
{
"Header":"HazardousGoodsService",
"Information":[
{"Name":"Unno","Value":"XXXX"},
{"Name":"HgClass","Value":"XXXX"},
{"Name":"Packaging","Value":"XXXX"},
{"Name":"PackagingGroup","Value":"XXXX"},
{"Name":"Substance","Value":"XXXX"},
{"Name":"HgCode","Value":"XXXX"},
{"Name":"EnvironmentalHaz","Value":"true"},
{"Name":"Unno","Value":"XXXX"},
{"Name":"HgClass","Value":"XXXX"},
{"Name":"Packaging","Value":"XXXX"},
{"Name":"PackagingGroup","Value":"XXXX"},
{"Name":"Substance","Value":"XXXX"},
{"Name":"HgCode","Value":"XXXX"},
{"Name":"EnvironmentalHaz","Value":"false"}
]
}
]
},
"HandlingInformation":"H"
}],
"PrintData":[{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iEgfdsfQKJSVFT0YK",
"LabelFormat":"SoftwarePartner"
}],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"]
}
}

DeliveryAtWork

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":["Ref-Unit-4711"],
"Product":"PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail": "tim.test@gls.de"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
],
"Service": [
{
"DeliveryAtWork": {
"ServiceName": "service_deliveryatwork",
"RecipientName" : "Tim Test",
"AlternateRecipientName" : "Laura Test",
"Building" : "Block A",
"Floor" : "2",
"Room" : "Test123.45",
"Phonenumber" : "004912345678910"
}
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-4711"],
"ParcelData":[{
"TrackID":"TEST5678",
"ParcelNumber":"207400010076",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST5678AAG 3esa123465760 02320001001 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|||11ddbf5a-93be-4116-8| ",
"Primary1D":"207400010076",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[{
"Header":"DeliveryAtWorkService",
"Information":[
{"Name":"Contact","Value":"Tim Test"},
{"Name":"Alternative Contact","Value":"DC Lautmaeuser-Schellenhügel"},
{"Name":"Building","Value":"Block A"},
{"Name":"Floor","Value":"2"},
{"Name":"Room","Value":"Test123.45"},
{"Name":"Phone","Value":"004912345678910"}
]
}]
},
"HandlingInformation":"AW"
}],
"PrintData":[{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamDEwCiUlRU9GCg==",
"LabelFormat":"SoftwarePartner"
}],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"]
}
}

Deposit

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":["Ref-Unit-4711"],
"Product":"PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail": "tim.test@gls.de"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
],
"Service": [
{
"Deposit": {
"ServiceName": "service_deposit",
"PlaceOfDeposit" : "under the doormat"
}
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-4711"],
"ParcelData":[{
"TrackID":"TEST0258",
"ParcelNumber":"",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST0258AAC 3esa123465760 02320001001 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|||11ddbf5a-93be-4116-8| ",
"Primary1D":"",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[{
"Header":"DepositService",
"Information":[
{"Name":"Deposit Place","Value":"under the doormat"}
]
}]
}
}],
"PrintData":[{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamzUzMjAKJSVFT0YK",
"LabelFormat":"SoftwarePartner"
}],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"]
}
}

IdentPin

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":["Ref-Unit-4711"],
"Product":"PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail": "tim.test@gls.de"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
],
"Service": [
{
"IdentPin": {
"ServiceName": "service_identpin",
"PIN" : "1234",
"Birthdate" : "1970-11-11"
}
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-4711"],
"ParcelData":[{
"TrackID":"TEST1234",
"ParcelNumber":"202800011562",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST1234AAw 3esa123465760 02320001001;XxC;Bbn0FYj ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|||11ddbf5a-93be-4116-8| ",
"Primary1D":"202800011562",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[{
"Header":"IdentPINService",
"Information":[{}]
}]
},
"HandlingInformation":"IPS"
}],
"PrintData":[{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9CM2MjUyCiUlRU9GCg==",
"LabelFormat":"SoftwarePartner"
}],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"]
}
}

Pick&Ship

REQUESTRESPONSE
{
"Shipment": {
"Product":"PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail": "tim.test@gls.de",
"ContactPerson" : "Laura Test",
"MobilePhoneNumber" : "004912345678910",
"FixedLinePhonenumber" : "004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress" : {
"Name1" : "Tim Test",
"Name2" : "",
"Name3" : "",
"CountryCode" : "DE",
"Province" : "Saxony",
"ZIPCode" : "65760",
"City" : "Testingen",
"Street" : "Testallee",
"StreetNumber" : "32",
"eMail" : "tim.test@gls.de",
"FixedLinePhonenumber" : "0049619664022",
"MobilePhoneNumber" : "00491702033440"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
],
"Service": [
{
"PickAndShip": {
"ServiceName": "service_pickandship",
"PickupDate" : "2020-11-11"
}
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[],
"ParcelData":[{
"TrackID":"TEST5678",
"ParcelNumber":"208900000611",
"ServiceArea":{
"Service":[{
"Header":"",
"Information":[{}]
}]
}
}],
"CustomerID":"",
"PickupLocation":"DE 777",
"GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"]
}
}

Pick&Return

REQUESTRESPONSE
{
"Shipment": {
"Product":"PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail": "tim.test@gls.de",
"ContactPerson" : "Laura Test",
"MobilePhoneNumber" : "004912345678910",
"FixedLinePhonenumber" : "004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress" : {
"Name1" : "Tim Test",
"Name2" : "",
"Name3" : "",
"CountryCode" : "DE",
"Province" : "Saxony",
"ZIPCode" : "65760",
"City" : "Testingen",
"Street" : "Testallee",
"StreetNumber" : "32",
"eMail" : "tim.test@gls.de",
"FixedLinePhonenumber" : "0049619664022",
"MobilePhoneNumber" : "00491702033440"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
],
"Service": [
{
"PickAndReturn": {
"ServiceName": "service_pickandreturn",
"PickupDate" : "2020-11-11"
}
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[],
"ParcelData":[{
"TrackID":"TEST0258",
"ParcelNumber":"208900000628",
"ServiceArea":{
"Service":[{
"Header":"",
"Information":[{}]
}]
}
}],
"CustomerID":"",
"PickupLocation":"DE 777",
"GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"]
}
}

FlexDelivery

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":[
],
"Product": "PARCEL",
"Consignee": {
"ConsigneeID":"1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail": "tim.test@gls.de"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
],
"Service": [{
"Service": {
"ServiceName": "service_flexdelivery"
}
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
"Ref-Unit-007"
],
"ParcelData":[
{
"TrackID":"TEST1234",
"ParcelNumber":"202800010138",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST1234AAe 3esa123465760 02320001001 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|||9fd8f936-32a1-43e4-b| ",
"Primary1DPrint":false
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"",
"Information":[
{
}
]
}
]
},
"HandlingInformation":"F"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iam0NjMxCiUlRU9GCg==",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

AddresseeOnly

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee": {
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "94239",
"City": "Testingen",
"Street": "Testallee",
"StreetNumber": "3"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [{
"Weight": 5
}],
"Service": [{
"Service": {
"ServiceName": "service_addresseeonly"
}
}]
},
"PrintingOptions": {
"ReturnLabels": {
"TemplateSet": "NONE",
"LabelFormat": "SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST5678",
"ParcelNumber":"205700060074",
"Barcodes":{
"Primary2D":"ADE 777DE 93412345678901234567890TEST5678AAB 1R59081994239 00377001001564887 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|3||| ",
"Primary1D":"205700060074",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"0819",
"InboundSortingFlag":"10",
"FinalLocationCode":"DE 934",
"HubLocation":"R59",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"AddresseeOnlyService",
"Information":[
{
}
]
}
]
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iaIczNzMKJSVFT0YK",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

Exchange

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":["Ref-Unit-1234"],
"Product":"PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail": "tim.test@gls.de"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
],
"Service": [
{
"Exchange": {
"ServiceName": "service_exchange",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee"
}
}
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-1234"],
"ParcelData":[{
"TrackID":"TEST0258",
"ExchangeParcelID":"TEST5678",
"ParcelNumber":"208700010018",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST0258AAI 3esa123465760 02320001001 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|||4f4754da-6bba-4e96-9| ",
"Primary1D":"208700010018",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[{
"Header":"ExchangeService",
"Information":[{"Name":"Pickup parcel(s)","Value":"TEST5678"}]
}]
}
},
{
"TrackID":"TEST5678",
"ParcelNumber":"208900000000",
"Barcodes":{
"UniShip":"A|1234567890|1234567890|AA|276|65760|001|001|4f4754da-6bba-4e96-9|
Tim Test|||Testallee||Testingen|||208900000000;000000000|000|I|"
},
"ServiceArea":{
"Service":[{
"Header":"ExchangeService",
"Information":[
{"Name":"TrackID","Value":"TEST5678"},
{"Name":"Parcelnumber","Value":"208900000000"},
{"Name":"Ref. No","Value":""}
]
}]
}
}
],
"PrintData":[{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRMQolJUVPRgo=",
"LabelFormat":"SoftwarePartner"
}],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"]
}
}

Intercompany

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":["Ref-Unit-1234"],
"Product":"PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail": "tim.test@gls.de"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
],
"Service": [
{
"Intercompany": {
"ServiceName": "service_intercompany",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee"
},
"NumberOfLabels": 1
}
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-1234"],
"ParcelData":[{
"TrackID":"TEST0258",
"ParcelNumber":"207800010010",
"Barcodes":{
"UniShip":"A|1234567890|1234567890|AA|276|65760|001|001|4f4754da-6bba-4e96-9|
Tim Test|||Testallee||Testingen|||207800010010;000000000|2320|M|"},
"ServiceArea":{
"Service":[{
"Header":"IntercompanyService",
"Information":[
{"Name":"TrackID","Value":"TEST0258"},
{"Name":"Parcelnumber","Value":"207800010010"}
]
}]
}
}],
"PrintData":[{
"Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRVPRgo=",
"LabelFormat":"SoftwarePartner"
}],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"]
}
}

AddOnLiability

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":["Ref-Unit-4711"],
"Product":"PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail": "tim.test@gls.de"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5,
"Service": [
{
"AddonLiability": {
"ServiceName": "service_addonliability",
"Amount" : "150,15",
"Currency" : "EUR"
}
}
]
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-4711"],
"ParcelData":[{
"TrackID":"TEST0258",
"ParcelNumber":"202800011555",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST0258AAA 3esa123465760 02320001001 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|||11ddbf5a-93be-4116-8| ",
"Primary1D":"202800011555","Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[{
"Header":"",
"Information":[{}]
}]
}
}],
"PrintData":[{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NAwXS9GGCg==",
"LabelFormat":"SoftwarePartner"
}],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"]
}
}

G24

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee": {
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"StreetNumber": "3"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [{
"Weight": 5
}],
"Service": [{
"Service": {
"ServiceName": "service_guaranteed24"
}
}]
},
"PrintingOptions": {
"ReturnLabels": {
"TemplateSet": "NONE",
"LabelFormat": "SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST1234",
"ParcelNumber":"207500030035",
"Barcodes":{
"Primary2D":"ADE 777DE 77712345678901234567890TEST1234AAK 3esa123465760 00377001001564887 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|3||| ",
"Primary1D":"207500030035",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"Guaranteed24Service",
"Information":[
{
}
]
}
]
},
"HandlingInformation":"G24"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9lRU9GCg==",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

ShopReturn

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":["Ref-Unit-1234"],
"Product":"PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail":"tim.test@gls.de"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
],
"Service": [
{
"ShopReturn": {
"ServiceName": "service_shopreturn",
"NumberOfLabels": 2
}
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-1234"],
"ParcelData":[
{
"TrackID":"TEST5678",
"ParcelNumber":"207600010012",
"Barcodes":{
"UniShip":"A|1234567890|1234567890|AA|276|65760|002|001|4f4754da-6bba-4e96-9|
Tim Test|||Testallee|3|Testingen|||207600010012;000000000|2320|d|"},
"ServiceArea":{ "Service":[{ "Header":"ShopReturnService", "Information":[{}]}]}
},
{
"TrackID":"TEST0258",
"ParcelNumber":"207600010029",
"Barcodes":{
"UniShip":"A|1234567890|1234567890|AA|276|65760|002|002|4f4754da-6bba-4e96-9|
Tim Test|||Testallee|3|Testingen|||207600010029;000000000|2320|d|"},
"ServiceArea":{"Service":[{"Header":"ShopReturnService","Information":[{}]}]}
}
],
"PrintData":[{
"Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9i9NYXRyaXgVPRgo=",
"LabelFormat":"SoftwarePartner"
}],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"]
}
}

ShopDelivery

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":[
],
"Product": "PARCEL",
"Consignee": {
"ConsigneeID":"1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail":"tim.test@gls.de"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
],
"Service": [
{
"ShopReturn": {
"ServiceName": "service_shopreturn",
"NumberOfLabels": 2
}
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-1234"],
"ParcelData":[
{
"TrackID":"TEST5678",
"ParcelNumber":"207600010012",
"Barcodes":{
"UniShip":"A|1234567890|1234567890|AA|276|65760|002|001|4f4754da-6bba-4e96-9|
Tim Test|||Testallee|3|Testingen|||207600010012;000000000|2320|d|"},
"ServiceArea":{ "Service":[{ "Header":"ShopReturnService", "Information":[{}]}]}},
{
"TrackID":"TEST0258",
"ParcelNumber":"207600010029",
"Barcodes":{
"UniShip":"A|1234567890|1234567890|AA|276|65760|002|002|4f4754da-6bba-4e96-9|
Tim Test|||Testallee|3|Testingen|||207600010029;000000000|2320|d|"
},
"RoutingInfo":[{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2016-04-15"}]
}
],
"PrintData":[{
"Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9VjdC9NYXRyaXgVPRgo=",
"LabelFormat":"SoftwarePartner"
}],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"]
}
}

Inbound

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":["Ref-Unit-1234"],
"IncotermCode": "10",
"Product": "PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail": "tim.test@gls.de"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [{
"Weight": 5
}],
"Service": [
{
"Service": {
"ServiceName": "service_inbound"
}
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
},
"ReturnOptions": {
"ReturnRoutingInfo" : true
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-1234"],
"ParcelData":[
{
"TrackID":"TEST0258",
"ParcelNumber":"206010200211",
"Barcodes":{
"Primary2D":"ADE 777DE 77712345678901234567890TEST0258AAo 3esa123465760 02320001001 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|||5300238f-e917-4081-a| ",
"Primary1D":"206010200211",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"InboundService",
"Information":[
{
}
]
}
]
},
"HandlingInformation":"IBS"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRyT0YK",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

LimitedQuantities

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":[
],
"Product": "PARCEL",
"Consignee":{
"ConsigneeID":"1234567890",
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"eMail":"tim.test@gls.de",
"ContactPerson":"Laura Test",
"MobilePhoneNumber":"004912345678910",
"FixedLinePhonenumber":"004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5,
"Service": [{
"LimitedQuantities": {
"ServiceName": "service_limitedquantities",
"Weight": "0.5"
}
}]
}]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-1234"],
"ParcelData":[
{
"TrackID":"TEST1234",
"ParcelNumber":"205700060067",
"Barcodes":{
"Primary2D":"ADE 777DE 77712345678901234567890TEST1234AAp 3esa123465760 00377001001564887 ",
"Secondary2D":"A| Tim Test|Testallee|Testingen|||a45e75cc-d5c8-48a4-8| ",
"Primary1D":"205700060067",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"LimitedQuantitiesService",
"Information":[
{
"Name":"LQ-weight",
"Value":"0.5"
},
{
"Name":"Unit",
"Value":"Kg"
}
]
}
]
},
"HandlingInformation":"LQ"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRy9GCg==",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

Letterbox

The Letterbox service can only be used in arrangement with your GLS support.

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee": {
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "50351",
"City": "Testingen",
"Street": "Testallee",
"StreetNumber": "3"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"Service": [{
"Deposit": {
"ServiceName": "service_deposit",
"PlaceOfDeposit": "Briefkasten"
}
}],
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions": {
"ReturnLabels": {
"TemplateSet": "NONE",
"LabelFormat": "SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST5678",
"ParcelNumber":"",
"Barcodes":{
"Primary2D":"ADE 777DE 77712345678901234567890TEST5678AAC 3esa123465760 00355001001564887 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|3||| ",
"Primary1D":"",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"DepositService",
"Information":[
{
"Name":"Deposit Place",
"Value":"Briefkasten"
}
]
}
]
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYPRgo=",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

Tyre

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee": {
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"StreetNumber": "3"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"Service": [{
"Service": {
"ServiceName": "service_tyre"
}
}],
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions": {
"ReturnLabels": {
"TemplateSet": "NONE",
"LabelFormat": "SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST0258",
"ParcelNumber":"205700060081",
"Barcodes":{
"Primary2D":"ADE 777DE 77712345678901234567890TEST0258AAf 3esa123465760 00300001001564887 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|3||| ",
"Primary1D":"205700060081",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"",
"Information":[
{
}
]
}
]
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYVPRgo=",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

Express

from DE to DE

REQUESTRESPONSE
{
"Shipment": {
"Product": "EXPRESS",
"Consignee": {
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail": "tim.test@gls.de"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": "1.2",
"ShipmentUnitReference" : ["Ref-Unit-007"]
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST5678",
"ShipmentUnitReference":[
"Ref-Unit-007"
],
"ParcelNumber":"208500040079",
"Barcodes":{
"Primary2D":"ADE 777DE 55512345678901234567890TEST5678EE 0NST123465760 00120001001564887 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen||9eeebedf-cfd5-4742-9|| ",
"Primary1D":"208500040079",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"",
"FinalLocationCode":"DE 555",
"HubLocation":"",
"LastRoutingDate":"2020-11-11"
},
"ExpressData":{
"KurierAlternateDelivery":true,
"Kurier1D":"1234567890",
"KurierTourNumber":"1234",
"KurierImportStation":"1234",
"KurierLatestDeliveryTime":"17:00"
},
"ServiceArea":{
"Service":[
{
"Header":"ExpressParcel",
"Information":[
{
}
]
}
]
},
"HandlingInformation":"T S"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRyRgo=",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

from DE to Europe

REQUESTRESPONSE
{
"Shipment": {
"IncotermCode" : "10",
"Product": "PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Timmy Test",
"Name2" : "",
"CountryCode": "CH",
"ZIPCode": "3963",
"City": "Testhausen",
"Street": "Testgasse",
"StreetNumber" : "3"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST5678",
"ParcelNumber":"202800010060",
"Barcodes":{
"Primary2D":"ADE 777CH 2341234567890 1234567890 TEST5678CC 2 02013963 02320001001 1234567890 ",
"Secondary2D":"A|Timmy Test|Testgasse|Testhausen|3||| ",
"Primary1D":"202800010060",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"0201",
"InboundSortingFlag":"201",
"FinalLocationCode":"CH 234",
"HubLocation":"",
"LastRoutingDate":"2020-11-11"
},
"NDIArea":{
"NDI1D":"1234567890",
"CHParcelNumber":"1234567890",
"CHPRI1D":"1234",
"CHSI1D":"1234"
},
"HandlingInformation":"10"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRyFT0YK",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Information about Data Protection in GLS Group can be found at",
"gls-group.eu/dataprotection"
]
}
}
REQUESTRESPONSE
{
"Shipment": {
"Product": "EXPRESS",
"Consignee": {
"Address": {
"Name1": "Tim Test",
"Name2" : "",
"CountryCode": "NL",
"ZIPCode": "1312 NL",
"City": "Testingen",
"Street": "Teststraat",
"StreetNumber" : "3"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST0258",
"ParcelNumber":"208500040086",
"Barcodes":{
"Primary2D":"ADE 777NLDEKU12345678901234567890TEST0258GG 0NST00001312 NL00120001001564887 1234567890 ",
"Secondary2D":"A|Tim Test|Teststraat|Testingen|3||| ",
"Primary1D":"208500040086",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"0000",
"InboundSortingFlag":"",
"FinalLocationCode":"NLDEKU",
"HubLocation":"",
"LastRoutingDate":"2020-11-11"
},
"ExpressData":{
"KurierAlternateDelivery":true,
"Kurier1D":"820500040081",
"KurierTourNumber":"1234",
"KurierImportStation":"1234",
"KurierLatestDeliveryTime":"17:00"
},
"ServiceArea":{
"Service":[
{
"Header":"ExpressParcel",
"Information":[
{
}
]
}
]
},
"NDIArea":{
"NDI1D":"1234567890"
},
"HandlingInformation":"T S"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRzdGSVFT0YK",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"#Information about Data Protection in GLS Group can be found at",
"#gls-group.eu/dataprotection"
]
}
}

from DE to World

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":["Ref-Unit-1234"],
"IncotermCode": "10",
"Product": "PARCEL",
"Consignee": {
"ConsigneeID":"1234567890",
"Address": {
"Name1": "Manuel Test",
"Name2": "",
"CountryCode": "UY",
"ZIPCode": "37006",
"City": "Testona",
"Street": "Strada de Test",
"StreetNumber": "3"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [{
"Weight": 5
}]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
"Ref-Unit-4711"
],
"ParcelData":[
{
"TrackID":"TEST0258",
"ParcelNumber":"202800050059",
"Barcodes":{
"Primary2D":"ADE 777DEEFDX27603013321234567890TEST0258QQ 0 37006 02320001001 ",
"Secondary2D":"A|Manuel Test|Strada de Test|Testona|3||c5681687-de52-4aa8-a| ",
"Primary1D":"202800050059",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"",
"InboundSortingFlag":"",
"FinalLocationCode":"DEEFDX",
"HubLocation":"",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"GlobalBusinessParcel",
"Information":[
{
}
]
}
]
},
"HandlingInformation":"10"
}
],
"CustomerID":"2760301332",
"PickupLocation":"DE 777",
"GDPR":[
"Information about Data Protection in GLS Group can be found at",
"gls-group.eu/dataprotection"
]
}
}

from AT to AT

REQUESTRESPONSE
{
"Shipment": {
"Product": "EXPRESS",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Timmy Test",
"Name2" : "",
"Name3" : "",
"CountryCode": "AT",
"ZIPCode": "8970",
"City": "Testhausen",
"Street": "Testgasse",
"StreetNumber" : "3",
"eMail": "timmy@test.at",
"ContactPerson": "Laura Test",
"MobilePhoneNumber": "004312345678910",
"FixedLinePhonenumber": "004312345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress": {
"Name1": "Timmy Test",
"Name2": "",
"Name3": "",
"CountryCode": "AT",
"Province": "",
"ZIPCode": "1080",
"City": "Testhausen",
"Street": "Testgasse",
"StreetNumber": "3",
"eMail": "timmy@test.at",
"FixedLinePhonenumber": "004312345678910",
"MobilePhoneNumber": "004312345678910"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
],
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-1234"],
"ParcelData":[
{
"TrackID":"TEST1234",
"ParcelNumber":"202800010015",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST1234AA 3esa123465760 02320001001 ",
"Secondary2D":"A| Tim Test|Testallee|Testingen|||| ",
"Primary1D":"202800010015",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"ExpressParcel",
"Information":[
{
}
]
}
]
},
"HandlingInformation":"T"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYMzgKJSVFT0YK",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

from BE to BE

REQUESTRESPONSE
{
"Shipment": {
"Product": "EXPRESS",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"Name2" : "",
"Name3" : "",
"CountryCode": "BE",
"ZIPCode": "8970",
"City": "Testingen",
"Street": "Teststraat",
"StreetNumber" : "3",
"eMail": "tim.test@gls.be",
"ContactPerson": "Laura Test",
"MobilePhoneNumber": "004312345678910",
"FixedLinePhonenumber": "004312345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress": {
"Name1": "Tim Test",
"Name2": "",
"Name3": "",
"CountryCode": "BE",
"Province": "",
"ZIPCode": "1080",
"City": "Testingen",
"Street": "Teststraat",
"StreetNumber": "3",
"eMail": "tim.test@gls.be",
"FixedLinePhonenumber": "004312345678910",
"MobilePhoneNumber": "004312345678910"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
],
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-1234"],
"ParcelData":[
{
"TrackID":"TEST1234",
"ParcelNumber":"202800010015",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST1234AA 3esa123465760 02320001001 ",
"Secondary2D":"A| Tim Test|Teststraat|Testingen|||| ",
"Primary1D":"202800010015",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"BE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"ExpressParcel",
"Information":[
{
}
]
}
]
},
"HandlingInformation":"T"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRyaXVFT0YK",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"BE 777",
"GDPR":[
"L'information concernant la protection des donnees au sein du groupe GLS est disponible sur",
"Informatie omtrent gegevensbescherming binnen de GLS groep is beschikbaar op",
"Informationen zur GLS-Datenschutzrichtlinie unter",
"gls-group.eu/dataprotection"
]
}
}

from FR to FR

REQUESTRESPONSE
{
"Shipment": {
"Product": "EXPRESS",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"Name2" : "",
"Name3" : "",
"CountryCode": "FR",
"ZIPCode": "8970",
"City": "Testeny",
"Street": "Avenue de Test",
"StreetNumber" : "3",
"eMail": "tim@testgls.fr",
"ContactPerson": "Laura Test",
"MobilePhoneNumber": "004312345678910",
"FixedLinePhonenumber": "004312345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress": {
"Name1": "Tim Test",
"Name2": "",
"Name3": "",
"CountryCode": "FR",
"Province": "",
"ZIPCode": "1080",
"City": "Testeny",
"Street": "Avenue de Test",
"StreetNumber": "3",
"eMail": "tim@testgls.fr",
"FixedLinePhonenumber": "004312345678910",
"MobilePhoneNumber": "004312345678910"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
],
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":["Ref-Unit-1234"],
"ParcelData":[
{
"TrackID":"TEST1234",
"ParcelNumber":"202800010015",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST1234AA 3esa123465760 02320001001 ",
"Secondary2D":"A| Tim Test|Avenue de Test|Testeny|||| ",
"Primary1D":"202800010015",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"ExpressParcel",
"Information":[
{
}
]
}
]
},
"HandlingInformation":"T"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRyaMzgKJSVFT0YK",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

Services (for one relation only)

0800

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":[
],
"Product": "EXPRESS",
"Consignee":{
"ConsigneeID":"1234567890",
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"eMail":"tim.test@gls.de",
"ContactPerson":"Laura Test",
"MobilePhoneNumber":"004912345678910",
"FixedLinePhonenumber":"004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"StreetNumber":"3",
"eMail":"tim.test@gls.de",
"FixedLinePhonenumber":"0049619664022",
"MobilePhoneNumber":"00491702033440"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
],
"Service": [
{
"Service": {
"ServiceName": "service_0800"
}
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
"Ref-Unit-007"
],
"ParcelData":[
{
"TrackID":"TEST5678",
"ParcelNumber":"208500010010",
"Barcodes":{
"Primary2D":"ADE 777DE 5551234567890 1234567890 TEST5678EE8 0NST123465760 02320001001 ",
"Secondary2D":"A| Tim Test|Testallee|Testingen|||12df8fb9-8333-4f6a-9| ",
"Primary1D":"208500010010",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"",
"FinalLocationCode":"DE 555",
"HubLocation":"",
"LastRoutingDate":"2020-11-11"
},
"ExpressData":{
"KurierAlternateDelivery":true,
"Kurier1D":"1234567890",
"KurierTourNumber":"1234",
"KurierImportStation":"1234",
"KurierLatestDeliveryTime":"08:00"
},
"ServiceArea":{
"Service":[
{
"Header":"ExpressParcel",
"Information":[
{
}
]
},
{
"Header":"08:00Service",
"Information":[
{
}
]
}
]
},
"HandlingInformation":"T T8"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXR5CiUlRU9GCg==",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

1200

REQUESTRESPONSE
{
"Shipment": {
"ShipmentReference":[
],
"Product": "EXPRESS",
"Consignee":{
"ConsigneeID":"1234567890",
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"eMail":"tim.test@gls.de",
"ContactPerson":"Laura Test",
"MobilePhoneNumber":"004912345678910",
"FixedLinePhonenumber":"004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"StreetNumber":"3",
"eMail":"tim.test@gls.de",
"FixedLinePhonenumber":"0049619664022",
"MobilePhoneNumber":"00491702033440"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
],
"Service": [
{
"Service": {
"ServiceName": "service_1200"
}
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
"Ref-Unit-4711"
],
"ParcelData":[
{
"TrackID":"TEST1234",
"ParcelNumber":"208500010027",
"Barcodes":{
"Primary2D":"ADE 777DE 5551234567890 1234567890 TEST1234EEa 0NST123465760 02320001001 ",
"Secondary2D":"A| Tim Test|Testallee|Testingen|||2e4714c0-fd7d-4e79-8| ",
"Primary1D":"208500010027",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"",
"FinalLocationCode":"DE 555",
"HubLocation":"",
"LastRoutingDate":"2020-11-11"
},
"ExpressData":{
"KurierAlternateDelivery":true,
"Kurier1D":"1234567890",
"KurierTourNumber":"1234",
"KurierImportStation":"1234",
"KurierLatestDeliveryTime":"12:00"
},
"ServiceArea":{
"Service":[
{
"Header":"ExpressParcel",
"Information":[
{
}
]
},
{
"Header":"12:00Service",
"Information":[
{
}
]
}
]
},
"HandlingInformation":"T T12"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRyJSVFT0YK",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

Alternative Delivery Address

REQUESTRESPONSE
{
"Shipment": {
"Product": "EXPRESS",
"ExpressAltDeliveryAllowed": "true",
"Consignee": {
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"eMail": "tim.test@gls.de"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": "1.2",
"ShipmentUnitReference" : ["Ref-Unit-007"]
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST5678",
"ShipmentUnitReference":[
"Ref-Unit-007"
],
"ParcelNumber":"208500040123",
"Barcodes":{
"Primary2D":"ADE 777DE 55512345678901234567890TEST5678EE 0NST123465760 00120001001564887 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen||9eeebedf-cfd5-4742-9|| ",
"Primary1D":"208500040123",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"",
"FinalLocationCode":"DE 555",
"HubLocation":"",
"LastRoutingDate":"2020-11-11"
},
"ExpressData":{
"KurierAlternateDelivery":true,
"Kurier1D":"1234567890",
"KurierTourNumber":"1234",
"KurierImportStation":"1234",
"KurierLatestDeliveryTime":"17:00"
},
"ServiceArea":{
"Service":[
{
"Header":"ExpressParcel",
"Information":[
{
}
]
}
]
},
"HandlingInformation":"T S"
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NA4NgolJUVPRgo=",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

Customer Logo on Label

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee":{
"ConsigneeID":"1234567890",
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"eMail":"tim.test@gls.de",
"ContactPerson":"Laura Test",
"MobilePhoneNumber":"004912345678910",
"FixedLinePhonenumber":"004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"StreetNumber":"3",
"eMail":"tim.test@gls.de",
"FixedLinePhonenumber":"0049619664022",
"MobilePhoneNumber":"00491702033440"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
},
"CustomContent":{
"CustomerLogo": "iVBORw0KGgoAAAANSUhEUgAAAGQAAAAbCAYAAACKlipAAAAKNklEQVRoge2abYicVxXHf/9lJiwhhCWEnRhC3AkhxhLSTSKpVq7Y5V8aWlIvhW8Yg=="
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST1234",
"ParcelNumber":"202800010015",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST1234AA 3esa123465760 02320001001 ",
"Secondary2D":"A| Tim Test|Testallee|Testingen|||| ",
"Primary1D":"202800010015",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYCjM5OT3CiUlRU9GCg==",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

Customer Barcode on Label

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee":{
"ConsigneeID":"1234567890",
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"eMail":"tim.test@gls.de",
"ContactPerson":"Laura Test",
"MobilePhoneNumber":"004912345678910",
"FixedLinePhonenumber":"004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"StreetNumber":"3",
"eMail":"tim.test@gls.de",
"FixedLinePhonenumber":"0049619664022",
"MobilePhoneNumber":"00491702033440"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
},
"CustomContent": {
"Barcode": "0123456789",
"BarcodeType": "CODE_39"
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST0258",
"ParcelNumber":"202800010022",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST0258AA 3esa123465760 02320001001 ",
"Secondary2D":"A| Tim Test|Testallee|Testingen|||| ",
"Primary1D":"202800010022",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjwMTI2CiUlRU9GCg==",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

Printing options

SoftwarePartner

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee": {
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"StreetNumber": "3"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"Service": [{
"Service": {
"ServiceName": "service_tyre"
}
}],
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions": {
"ReturnLabels": {
"TemplateSet": "NONE",
"LabelFormat": "SoftwarePartner"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST0258",
"ParcelNumber":"205700060128",
"Barcodes":{
"Primary2D":"ADE 777DE 77712345678901234567890TEST0258AAf 3esa123465760 00300001001564887 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|3b||| ",
"Primary1D":"205700060128",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"",
"Information":[
{
}
]
}
]
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRyiUlRU9GCg==",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

ZPL

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee": {
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee",
"StreetNumber": "3"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"Service": [{
"Service": {
"ServiceName": "service_tyre"
}
}],
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions": {
"ReturnLabels": {
"TemplateSet": "ZPL_300",
"LabelFormat": "ZEBRA"
}
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST0258",
"ParcelNumber":"205700060135",
"Barcodes":{
"Primary2D":"ADE 777DE 77712345678901234567890TEST0258AAf 3esa123465760 00300001001564887 ",
"Secondary2D":"A|Tim Test|Testallee|Testingen|3||| ",
"Primary1D":"205700060135",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
},
"ServiceArea":{
"Service":[
{
"Header":"",
"Information":[
{
}
]
}
]
}
}
],
"PrintData":[
{
"Data":"fkpPCl5YQV5FR15YWgpeWEEKXlBNTgpeTVVECl5MSDM1LDAKXkNJMjgKXkpNQQpeRk8xNSwxNDE5LF5HQjkyNSwyMDYsMV5GUwpeREKXlhaCg==",
"LabelFormat":"ZEBRA"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

Return options

With routing

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee":{
"ConsigneeID":"1234567890",
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"eMail":"tim.test@gls.de",
"ContactPerson":"Laura Test",
"MobilePhoneNumber":"004912345678910",
"FixedLinePhonenumber":"004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"StreetNumber":"3",
"eMail":"tim.test@gls.de",
"FixedLinePhonenumber":"0049619664022",
"MobilePhoneNumber":"00491702033440"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
},
"ReturnOptions": {
"ReturnPrintData" : false
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST1234",
"ParcelNumber":"202800010015",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST1234AA 3esa123465760 02320001001 ",
"Secondary2D":"A| Tim Test|Testallee|Testingen|||| ",
"Primary1D":"202800010015",
"Primary1DPrint":true
},
"RoutingInfo":{
"Tour":"1234",
"InboundSortingFlag":"003",
"FinalLocationCode":"DE 777",
"HubLocation":"esa",
"LastRoutingDate":"2020-11-11"
}
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

With routing

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee":{
"ConsigneeID":"1234567890",
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"eMail":"tim.test@gls.de",
"ContactPerson":"Laura Test",
"MobilePhoneNumber":"004912345678910",
"FixedLinePhonenumber":"004912345678910"
}
},
"Shipper": {
"ContactID": "1234567890",
"AlternativeShipperAddress":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"StreetNumber":"3",
"eMail":"tim.test@gls.de",
"FixedLinePhonenumber":"0049619664022",
"MobilePhoneNumber":"00491702033440"
}
},
"ShipmentUnit": [
{
"Weight": 5
}
]
},
"PrintingOptions":{
"ReturnLabels":{
"TemplateSet":"NONE","LabelFormat":"SoftwarePartner"
}
},
"ReturnOptions": {
"ReturnRoutingInfo" : false
}
}
{
"CreatedShipment":{
"ShipmentReference":[
],
"ParcelData":[
{
"TrackID":"TEST0258",
"ParcelNumber":"202800010022",
"Barcodes":{
"Primary2D":"ADE 777DE 7771234567890 1234567890 TEST0258AA 3esa123465760 02320001001 ",
"Secondary2D":"A| Tim Test|Testallee|Testingen|||| ",
"Primary1D":"202800010022",
"Primary1DPrint":true
}
}
],
"PrintData":[
{
"Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRVPRgo=",
"LabelFormat":"SoftwarePartner"
}
],
"CustomerID":"1234567890",
"PickupLocation":"DE 777",
"GDPR":[
"Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter",
"gls-group.eu/dataprotection"
]
}
}

Miscellaneous

Cancel parcel

REQUESTRESPONSE
POST https://localhost:8443/backend/rs/shipments/cancel/TEST1234
{
"TrackID":"TEST1234",
"result":"CANCELLED"
}

Show GLS parcelshop

By country

REQUESTRESPONSE
GET https://localhost:8443/backend/rs/parcelshop/country/FR
{
"ParcelShop":[
{
"ParcelShopID":"GLS_XX-1234567890",
"Location":{
"Latitude":"49.71194",
"Longitude":"6.25194"
},
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"FR",
"ZIPCode":"6130",
"City":"Testeny",
"Street":"Avenue de Test",
"StreetNumber":"3"
},
"WorkingDay":[
{
"DayOfWeek":"MON",
"OpeningHours":{
"OpeningHours":[
{
"From":27000000,
"To":61200000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":39600000,
"To":45900000
}
]
}
},
{
"DayOfWeek":"TUE",
"OpeningHours":{
"OpeningHours":[
{
"From":27000000,
"To":61200000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":39600000,
"To":45900000
}
]
}
},
{
"DayOfWeek":"WED",
"OpeningHours":{
"OpeningHours":[
{
"From":27000000,
"To":61200000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":39600000,
"To":45900000
}
]
}
},
{
"DayOfWeek":"THU",
"OpeningHours":{
"OpeningHours":[
{
"From":27000000,
"To":61200000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":39600000,
"To":45900000
}
]
}
},
{
"DayOfWeek":"FRI",
"OpeningHours":{
"OpeningHours":[
{
"From":27000000,
"To":61200000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":39600000,
"To":45900000
}
]
}
},
{
"DayOfWeek":"SAT",
"OpeningHours":{
"OpeningHours":[
{
"From":28800000,
"To":61200000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":39600000,
"To":45900000
}
]
}
}
]
}
]
}

By ParcelShopID

REQUESTRESPONSE
GET https://localhost:8443/backend/rs/parcelshop/GLS_XX-1234567890
{
"ParcelShopID":"GLS_XX-1234567890",
"Location":{
"Latitude":"51.22613",
"Longitude":"6.78739"
},
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"40211",
"City":"Testingen",
"Street":"Testallee.",
"StreetNumber":"3"
},
"WorkingDay":[
{
"DayOfWeek":"MON",
"OpeningHours":{
"OpeningHours":[
{
"From":32400000,
"To":64800000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"TUE",
"OpeningHours":{
"OpeningHours":[
{
"From":32400000,
"To":64800000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"WED",
"OpeningHours":{
"OpeningHours":[
{
"From":32400000,
"To":64800000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"THU",
"OpeningHours":{
"OpeningHours":[
{
"From":32400000,
"To":64800000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"FRI",
"OpeningHours":{
"OpeningHours":[
{
"From":32400000,
"To":64800000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
}
]
}

By area

REQUESTRESPONSE
{
"From": {
"Latitude": "51.286721",
"Longitude": "6.885992"
},
"To": {
"Latitude": "46.891547",
"Longitude": "10.524964"
}
}
{
"ParcelShop":[
{
"ParcelShopID":"GLS_XX-1234567890",
"Location":{
"Latitude":"47.28516",
"Longitude":"9.59152"
},
"Address":{
"Name1":"Timmy Test",
"Name2":"",
"Name3":"",
"CountryCode":"AT",
"ZIPCode":"6830",
"City":"Testhausen",
"Street":"Testgasse",
"StreetNumber":"3"
},
"WorkingDay":[
{
"DayOfWeek":"MON",
"OpeningHours":{
"OpeningHours":[
{
"From":25200000,
"To":57600000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"TUE",
"OpeningHours":{
"OpeningHours":[
{
"From":25200000,
"To":57600000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"WED",
"OpeningHours":{
"OpeningHours":[
{
"From":25200000,
"To":57600000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"THU",
"OpeningHours":{
"OpeningHours":[
{
"From":25200000,
"To":57600000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"FRI",
"OpeningHours":{
"OpeningHours":[
{
"From":25200000,
"To":57600000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
}
]
}
]
}

By delivery address

REQUESTRESPONSE
POST data:
{
"CountryCode": "FR",
"ZIPCode": "20250",
"City" : "Testeny"
}
{
"ParcelShop":[
{
"ParcelShopID":"GLS_XX-1234567890",
"Location":{
"Latitude":"42.00403",
"Longitude":"8.92095"
},
"Address":{
"Name1":"Tim Test",
"Name2":"GLS France",
"Name3":"",
"CountryCode":"FR",
"ZIPCode":"20167",
"City":"Testeny",
"Street":"Avenue de Test",
"StreetNumber":"3"
},
"WorkingDay":[
{
"DayOfWeek":"MON",
"OpeningHours":{
"OpeningHours":[
{
"From":25200000,
"To":64800000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"TUE",
"OpeningHours":{
"OpeningHours":[
{
"From":25200000,
"To":64800000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"WED",
"OpeningHours":{
"OpeningHours":[
{
"From":25200000,
"To":64800000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"THU",
"OpeningHours":{
"OpeningHours":[
{
"From":25200000,
"To":64800000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"FRI",
"OpeningHours":{
"OpeningHours":[
{
"From":25200000,
"To":64800000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"SAT",
"OpeningHours":{
"OpeningHours":[
{
"From":25200000,
"To":64800000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
},
{
"DayOfWeek":"SUN",
"OpeningHours":{
"OpeningHours":[
{
"From":32400000,
"To":64800000
}
]
},
"Breaks":{
"OpeningHours":[
{
"From":-3600000,
"To":-3600000
}
]
}
}
],
"AirlineDistance":"34.64978335007007"
}
]
}

By distance

REQUESTRESPONSE
{
"Latitude": "48.784177",
"Longitude": "6.885992",
"Distance": "20"
}
{
"ParcelShop":[
{
"ParcelShopID":"GLS_XX-1234567890",
"Location":{
"Latitude":"50.90849",
"Longitude":"9.58712"
},
"Address":{
"Name1":"Tim Test",
"CountryCode":"DE",
"ZIPCode":"40211",
"City":"Testingen",
"Street":"Testallee",
"StreetNumber":"3"
},
"WorkingDay":[
{
"DayOfWeek":"MON",
"OpeningHours":{
"OpeningHours":[
{
"From":25200000,
"To":54000000
}
]
}
},
...
]
},
{
"ParcelShopID":"GLS_XX-1234567890",
"Location":{
"Latitude":"50.90849",
"Longitude":"9.58712"
},
"Address":{
"Name1":"Tim Test",
"CountryCode":"DE",
"ZIPCode":"40211",
"City":"Testingen",
"Street":"Testallee",
"StreetNumber":"3"
},
"WorkingDay":[
{
"DayOfWeek":"MON",
"OpeningHours":{
"OpeningHours":[
{
"From":25200000,
"To":54000000
}
]
}
},
...
]
}
]
}

Show all available services

REQUESTRESPONSE
{
"Source":{
"CountryCode":"DE",
"ZIPCode":"35510"
},
"Destination":{
"CountryCode":"DE",
"ZIPCode":"61381"
},
"ContactID":"1234567890"
}
{
"AllowedServices":[
{
"ProductName":"PARCEL"
},
{
"ProductName":"EXPRESS"
},
{
"ProductName":"FREIGHT"
},
{
"ServiceName":"service_Saturday"
},
{
"ServiceName":"service_inbound"
},
{
"ServiceName":"service_shopdelivery"
},
{
"ServiceName":"service_deposit"
},
{
"ServiceName":"service_deliveryatwork"
},
{
"ServiceName":"service_exchange"
},
{
"ServiceName":"service_tyre"
},
{
"ServiceName":"service_intercompany"
},
{
"ServiceName":"service_hazardousgoods"
},
{
"ServiceName":"service_identpin"
},
{
"ServiceName":"service_limitedquantities"
},
{
"ServiceName":"service_pickandship"
},
{
"ServiceName":"service_directshop"
}
{
"ServiceName":"service_documentreturn"
},
{
"ServiceName":"service_smsservice"
},
{
"ServiceName":"service_exworks"
},
{
"ServiceName":"service_addonliability"
},
{
"ServiceName":"service_addresseeonly"
},
{
"ServiceName":"service_cash"
},
{
"ServiceName":"service_preadvice"
},
{
"ServiceName":"service_flexdelivery"
},
{
"ServiceName":"service_ident"
},
{
"ServiceName":"service_pickandreturn"
},
{
"ServiceName":"service_shopreturn"
},
{
"ServiceName":"service_guaranteed24"
}
]
}

create end of day

REQUESTRESPONSE
POST https://localhost:8443/backend/rs/shipments/endofday?date=2020-11-11
{
"Shipments":[
{
"ShippingDate":"2020-11-11",
"Product":"PARCEL",
"Consignee":{
"Address":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"2020-11-11",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"eMail":"tim.test@gls.de",
"FixedLinePhonenumber":"004912345678910",
"MobilePhoneNumber":"004912345678910"
}
},
"Shipper":{
"ContactID":"1234567890",
"AlternativeShipperAddress":{
"Name1":"Tim Test",
"Name2":"",
"Name3":"",
"CountryCode":"DE",
"ZIPCode":"65760",
"City":"Testingen",
"Street":"Testallee",
"StreetNumber":"3",
"eMail":"tim.test@gls.de",
"FixedLinePhonenumber":"0049619664022",
"MobilePhoneNumber":"00491702033440"
}
},
"ShipmentUnit":[
{
"Weight":"5",
"TrackID":"TEST0258",
"ParcelNumber":"50006546731"
}
]
}
]
}

validate parcel

REQUESTRESPONSE
{
"Shipment": {
"Product": "PARCEL",
"Consignee": {
"ConsigneeID": "1234567890",
"Address": {
"Name1": "Tim Test",
"CountryCode": "DE",
"ZIPCode": "65760",
"City": "Testingen",
"Street": "Testallee"
}
},
"Shipper": {
"ContactID": "1234567890"
},
"ShipmentUnit": [
{
"Weight": 5
}
]
}
}
{
"success":true,
"validationResult":{
"Issues":[
]
}
}

Estimated delivery days

REQUESTRESPONSE
{
"Source": {
"Address": {
"Street": "Testallee",
"ZIPCode": "65760",
"StreetNumber": "3",
"CountryCode": "DE"
}
},
"Destination": {
"Address": {
"Street": "Testallee",
"ZIPCode": "65760",
"StreetNumber": "3",
"CountryCode": "DE"
}
}
}
{
"NumberOfWorkDays":4
}