GLS ShipIT 5.0.15 GLS ShipIT - REST services

Webservices Requests Samples

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

### Germany domestic

REQUEST | RESPONSE
--- | ---
{ "Shipment": { "ShipmentReference":["Ref-Unit-1234","Ref-Ship-abc"], "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":"PDF" } } } | { "CreatedShipment":{ "ShipmentReference":["Ref-Unit-1234","Ref-Ship-abc"], "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":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection"] } }

### from Germany to Europe

- with Incoterm (parcel to Switzerland)

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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", }, "HandlingInformation":"10" } ], "PrintData":[ { "Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2T0YK", "LabelFormat":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Information about Data Protection in GLS Group can be found at", "gls-group.eu/dataprotection" ] } }

- without Incoterm (parcel to the Netherlands)

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "#Information about Data Protection in GLS Group can be found at", "#gls-group.eu/dataprotection" ] } }

### from Germany to somewhere outside Europe (Argentina)

REQUEST | RESPONSE
--- | ---
{ "Shipment": { "Product": "PARCEL", "IncotermCode": "10", "Consignee": { "ConsigneeID": "1234567890", "Address": { "Name1": "Tim Test", "Name2" : "", "CountryCode": "AG", "ZIPCode": "B1406", "City": "Buenos Aires", "Street": "Cambiado", "StreetNumber" : "3" } }, "Shipper": { "ContactID": "1234567890" }, "ShipmentUnit": [ { "Weight": 5 } ] }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } } } | { "CreatedShipment":{ "ShipmentReference":[ ], "ParcelData":[ { "TrackID":"TEST1234", "ParcelNumber":"202800010114", "Barcodes":{ "Primary2D":"ADE 500DEEFDX27602208452769995N0EZD1DC06CQQ 0NST B1406 0010000100153237", "Secondary2D":"A|Tim Test|Cambiado|Buenos Aires|3|||", "Primary1D":"500168675564", "Primary1DPrint":true }, "RoutingInfo":{ "Tour":"", "InboundSortingFlag":"", "FinalLocationCode":"DEEFDX", "HubLocation":"", "LastRoutingDate":"2020-11-11" }, "NDIArea":{ "NDI1D":"01053042466630" }, "HandlingInformation":"10" } ], "PrintData":[ { "Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0ZRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRyaXggWzEgMCAwMTgwCiUlRU9GCg==", "LabelFormat":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "#Information about Data Protection in GLS Group can be found at", "#gls-group.eu/dataprotection" ] } }

### Austria domestic

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"AT 520", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

### Belgium domestic

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" } ], "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" ] } }

### France domestic

REQUEST | RESPONSE
--- | ---
{ "Shipment": { "Product": "PARCEL", "Consignee": { "ConsigneeID": "1234567890", "Address": { "Name1": "Timmy Test", "Name2" : "", "Name3" : "", "CountryCode": "Fr", "ZIPCode": "10000", "City": "Troyes", "Street": "Rue mon dieu", "StreetNumber" : "3", "eMail": "tim.test@gls.fr", "ContactPerson": "Laura Test", "MobilePhoneNumber": "003312345678910", "FixedLinePhonenumber": "003312345678910" } }, "Shipper": { "ContactID": "1234567890", }, "ShipmentUnit": [ { "Weight": 5 } ] }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } } } | { "CreatedShipment":{ "ShipmentReference":[ ], "ParcelData":[ { "TrackID":"TEST5678", "ParcelNumber":"206200100109", "Barcodes":{ "Primary2D":"AFR0031FR00102500011329250136922900AC74HIAA 1FR1498810000 00100001001null00006668730000FR null00006668730000FR", "Secondary2D":"A|France Galle|Rue Mon Dieu|Troyes|123|||", "Primary1D":"", "Primary1DPrint":false }, "RoutingInfo":{ "Tour":"4988", "InboundSortingFlag":"1", "FinalLocationCode":"FR 0010", "HubLocation":"FR1", "LastRoutingDate":"2020-11-11" } } ], "PrintData":[ { "Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1RgWzEgMCAwNTk1OQolJUVPRgo=", "LabelFormat":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"FR0031", "GDPR":[ "Les informations sur la protection des donnees personnelles de GLS sont disponibles sur", "gls-group.eu/dataprotection" ] } }

### with all fields used

REQUEST | RESPONSE
--- | ---
{ "Shipment": { "ShipmentReference": [ "Parcel DE-DE" ], "ShippingDate": "2023-09-13", "IncotermCode": "10", "Identifier": "user", "Middleware": "CustomerERPSystem", "Product": "PARCEL", "Consignee": { "ConsigneeID": "1234567890", "Category": "PRIVATE", "Address": { "Name1": "Tim Test", "Name2": "", "Name3": "", "Street": "Testallee", "StreetNumber": "4", "ZIPCode": "65760", "City": "Eschborn", "CountryCode": "DE", "eMail": "tim.test@gls.de", "ContactPerson": "Laura Test", "MobilePhoneNumber": "004912345678910", "FixedLinePhonenumber": "+4912345678910" } }, "Shipper": { "ContactID": "1234567890", "AlternativeShipperAddress": { "Name1": "Timmy Shipper", "Name2": "", "Name3": "", "CountryCode": "AT", "Province": "", "ZIPCode": "1080", "City": "Testhausen", "Street": "Testgasse", "StreetNumber": "3", "eMail": "tim.test@gls.at", "FixedLinePhonenumber": "004312345678910", "MobilePhoneNumber": "004312345678910" } }, "Return": { "Address": { "Name1": "Somewhere Else", "Name2": "", "Name3": "", "CountryCode": "FR", "Province": "", "ZIPCode": "1080", "City": "Troyes", "Street": "Rue du Test", "StreetNumber": "3", "eMail": "tim.test@gls.fr", "FixedLinePhonenumber": "004312345678910", "MobilePhoneNumber": "004312345678910" } }, "ShipmentUnit": [ { "Note1": "Note1", "Note2": "Note2", "ShipmentUnitReference": [ "UnitRef1", "UnitRef2" ], "Weight": 12.54 } ] }, "PrintingOptions": { "ReturnLabels": { "TemplateSet": "ZPL_200", "LabelFormat": "ZEBRA" } }, "CustomContent": { "CustomerLogo": "bvjevbweanvksadjopfwejdjkvbsdkjgb=", "Barcode": "0123456789", "BarcodeType": "CODE_39", "HideShipperAddress": "true" }, "ReturnOptions": { "ReturnPrintData": "true", "ReturnRoutingInfo": "false" } } | { "CreatedShipment": { "ShipmentReference": [ "Parcel DE-DE" ], "ParcelData": [ { "TrackID": "TEST1234", "ShipmentUnitReference": [ "UnitRef1", "UnitRef2" ], "ParcelNumber": "500170625021", "Barcodes": { "Primary2D": "ADE 500DE 22227602208451234567890 TEST1234AA 2NST132201591 0125400100153237 ", "Secondary2D": "A|Tim Test|Testallee|Eschborn|4|UnitRef1|Parcel DE-DE| ", "Primary1D": "500170625021", "Primary1DPrint": true } } ], "PrintData": [ { "Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2Rlgo=", "LabelFormat": "ZEBRA" } ], "CustomerID": "1234567890", "PickupLocation": "DE 500", "GDPR": [ "Informationen zur GLS-Datenschutzrichtlinie unter", "gls-group.eu/dataprotection" ] } }

## Services

### Parcel without a service

- 1 parcel

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

- 3 parcels

REQUEST | RESPONSE
--- | ---
{ "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 }, { "Weight": 15 }, { "Weight": 7.5 } ] }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

### CashService

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"] } }

- different amounts per shipment unit

REQUEST | RESPONSE
--- | ---
{ "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" } }] }, { "Weight": 5, "Service": [{ "Cash": { "ServiceName": "service_cash", "Reason": "Cash order 12345", "Amount": "250", "Currency": "EUR" } }] }, { "Weight": 15, "Service": [{ "Cash": { "ServiceName": "service_cash", "Reason": "Cash order 12345", "Amount": "175", "Currency": "EUR" } }] } ] }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

### HazardousGoods

- 1 unit with 1 Haz Goods

REQUEST | RESPONSE
--- | ---
{ "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 }] } }], "Weight": 5 }] }, "PrintingOptions": { "ReturnLabels": { "TemplateSet": "NONE", "LabelFormat": "PDF" } } } | { "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"} ] }] } ] }, "HandlingInformation":"H" }], "PrintData":[{ "Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iEgfdsfQKJSVFT0YK", "LabelFormat":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"] } }

- 1 unit with 2 Haz Goods.

REQUEST | RESPONSE
--- | ---
{ "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": "1264", "Weight": 5 }] } }], "Weight": 5 }] }, "PrintingOptions": { "ReturnLabels": { "TemplateSet": "NONE", "LabelFormat": "PDF" } } } | { "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":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"] } }

## LimitedQuantities

REQUEST | RESPONSE
--- | ---
{ "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": [{ "LimitedQuantities": { "ServiceName": "service_limitedquantities", "Weight": 15 }}]}], "Weight": 5 }] }, "PrintingOptions": { "ReturnLabels": { "TemplateSet": "NONE", "LabelFormat": "PDF" } } } | { "CreatedShipment":{ "ShipmentReference":[], "ParcelData":[{ "TrackID":"TEST1234", "ParcelNumber":"202800011579", "Barcodes":{ "Primary2D":"ADE 777DE 7771234567890 1234567890 TEST1234AAp 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":"LimitedQuantities", "Information":[ {} ] }] } ] }, "HandlingInformation":"LQ" }], "PrintData":[{ "Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iEgfdsfQKJSVFT0YK", "LabelFormat":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"] } }

### DeliveryAtWork

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"] } }

### Deposit

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"] } }

### IdentPIN

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"] } }

## Pick&Ship

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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

REQUEST | RESPONSE
--- | ---
{ "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" }, "ShipmentUnit": [ { "Weight": 5 } ], "Service": [ { "PickAndReturn": { "ServiceName": "service_pickandreturn", "PickupDate" : "2020-11-11" } } ] }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } } } | { "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

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

## Signature

REQUEST | RESPONSE
--- | ---
{ "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_signature" } } ] }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } } } | { "CreatedShipment":{ "ShipmentReference":[ "Ref-Unit-007" ], "ParcelData":[ { "TrackID":"TEST1234", "ParcelNumber":"202800010138", "Barcodes":{ "Primary2D":"ADE 777DE 7771234567890 1234567890 TEST1234AA2 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":"2" } ], "PrintData":[ { "Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iam0NjMxCiUlRU9GCg==", "LabelFormat":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

## RoyalMail T24/T48

REQUEST | RESPONSE
--- | ---
{ "Shipment": { "ShipmentReference":[ ], "Product": "PARCEL", "IncotermCode":10, "Carrier":"ROYALMAIL", "Consignee": { "ConsigneeID":"1234567890", "Address": { "Name1": "Tim Test", "CountryCode": "GB", "ZIPCode": "EC3V 3LN", "City": "London", "Street": "Teststreet", "eMail": "tim.test@gls.de" } }, "Shipper": { "ContactID": "1234567890" }, "ShipmentUnit": [ { "Weight": 5 } ], "Service": [{ "Service": { "ServiceName": "service_t48" } } ] }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } } } | { "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": "T48", "Information": [ {} ] } ] }, "NDIArea": { "NDI1D": "EH702207608GB", "GBProductIdentifier": "24", "GBPostOffice1D": "*EC3V*" }, "HandlingInformation": "10" } ], "PrintData":[ { "Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iam0NjMxCiUlRU9GCg==", "LabelFormat":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

## AddresseeOnly

REQUEST | RESPONSE
--- | ---
{ "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": "PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

### Exchange

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"] } }

## Intercompany

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"] } }

### AddOnLiability

REQUEST | RESPONSE
--- | ---
{ "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" : "5000.00", "Currency" : "EUR" } } ] } ] }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } } } | { "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":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"] } }

## Guaranteed24

REQUEST | RESPONSE
--- | ---
{ "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": "PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

## ShopReturn

### ShopReturn Germany domestic

- from DE to DE

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"] } }

### ShopReturn France domestic

- from France to France

REQUEST | RESPONSE
--- | ---
{ "Shipment": { "ShipmentReference":["Ref-Unit-1234"], "Product":"PARCEL", "Consignee": { "ConsigneeID": "1234567890", "Address": { "Name1": "Tim Test", "CountryCode": "FR", "ZIPCode": "10000", "City": "Troyees", "Street": "Rue due test", "eMail":"tim.test@gls.fr" } }, "Shipper": { "ContactID": "1234567890" }, "ShipmentUnit": [ { "Weight": 5 } ], "MondialRelayArea": { "MondialRelayNumber": "73100360250101103002000732" }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } } } | { "CreatedShipment":{ "ShipmentReference":["Ref-Unit-1234"], "ParcelData":[ { "TrackID":"TEST5678", "ParcelNumber":"207600010012", "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":"ShopReturnService","Information":[{}]}]} } "MondialRelayArea": {"MondialRelayNumber": "73100390240101103002000732"} ], "PrintData":[{ "Data":"JVBERi0xLj[...]Mzc3MjIKJSVFT0YK", "LabelFormat":"PDF" }], "PrintData":[{ "Data":"JVBERi0xLj[...]g5NwolJUVPRgo=", "LabelFormat":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"FR0010", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"] } }

## ShopDelivery

REQUEST | RESPONSE
--- | ---
{ "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": [ { "ShopDelivery": { "ServiceName": "service_shopdelivery", "ParcelShopID": "GLS_XX-1234567890" } } ] }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } } } | { "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":"ShopDeliveryService", "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":"PDF" }], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":["Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter","gls-group.eu/dataprotection"] } }

## Inbound

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } }, "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":"PDF" } ], "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.

REQUEST | RESPONSE
--- | ---
{ "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": "PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

## Tyre

REQUEST | RESPONSE
--- | ---
{ "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": "PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

## Consignment

REQUEST | RESPONSE
--- | ---
{ "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_completedeliveryconsignment" } }], "ShipmentUnit": [ { "Weight": 5 } ] }, "PrintingOptions": { "ReturnLabels": { "TemplateSet": "NONE", "LabelFormat": "PDF" } } } | { "CreatedShipment":{ "ShipmentReference":[ ], "ParcelData":[ { "TrackID":"TEST0258", "ParcelNumber":"205700060081", "Barcodes":{ "Primary2D":"ADE 777DE 77712345678901234567890TEST0258AAq 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": "CompleteDeliveryConsignmentService", "Information": [{}] } ] } } ], "PrintData":[ { "Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYVPRgo=", "LabelFormat":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

## Multiple services in a shipment

REQUEST | RESPONSE
--- | ---
{ "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": [ { "DeliveryAtWork": { "ServiceName": "service_deliveryatwork", "RecipientName": "Hansi Meier", "AlternateRecipientName": "Hilde Schmidt", "Building": "Haus A", "Floor": "2. Stock", "Room": "D234.22", "Phonenumber": "+49 800 111 0 333" } }, { "Ident": { "ServiceName": "service_ident", "Birthdate": "1999-02-15", "Firstname": "Susanne", "Lastname": "Ident", "Nationality": { "CountryCode": "DE" } } } ] }, "PrintingOptions": { "ReturnLabels": { "TemplateSet": "NONE", "LabelFormat": "PDF" } } } | { "CreatedShipment": { "ShipmentReference": [], "ParcelData": [ { "TrackID": "Z5K6M3VE", "ParcelNumber": "337401802506", "Barcodes": { "Primary2D": "ADE 330DE 5012760305783276a45eCBdZ5K6M3VEAAGE 4 000150351 00377001001 ", "Secondary2D": "A|Tim Test|Testallee|Testingen|3||| ", "Primary1D": "337401802506", "Primary1DPrint": true }, "RoutingInfo": { "Tour": "0001", "InboundSortingFlag": "4", "FinalLocationCode": "DE 501", "HubLocation": "", "LastRoutingDate": "2023-09-03" }, "ServiceArea": { "Service": [ { "Header": "DeliveryAtWorkService", "Information": [ { "Name": "Contact", "Value": "Hansi Meier" }, { "Name": "Alternative Contact", "Value": "Hilde Schmidt" }, { "Name": "Building", "Value": "Haus A" }, { "Name": "Floor", "Value": "2. Stock" }, { "Name": "Room", "Value": "D234.22" }, { "Name": "Phone", "Value": "+49 800 111 0 333" } ] }, { "Header": "IdentService", "Information": [ { "Name": "Nationality", "Value": "DE" }, { "Name": "Name", "Value": "Susanne" }, { "Name": "Surname", "Value": "Ident" }, { "Name": "Birthdate", "Value": "1999-15-02" } ] } ] }, "HandlingInformation": "AW IDS" } ], "PrintData": [ { "Data": "JVBERi0xLjUKJeLjz9MKNSAw[...]fed7XHrCEUwqGg+d99SRZKJ1iI", "LabelFormat": "PDF" }, { "Data": "JVBERi0xLjcKJfbk/[...]BSCi9Sb3RhdGUgMAovVHlwZSAvUGFnZQo", "LabelFormat": "PDF" } ], "CustomerID": "2760305783", "PickupLocation": "DE 330", "GDPR": [ "Informationen zur GLS-Datenschutzrichtlinie unter", "gls-group.eu/dataprotection" ] } }

## Express

### Germany domestic

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

### from Germany to Europe

- with Incoterm (parcel to Switzerland)

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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", }, "HandlingInformation":"10" } ], "PrintData":[ { "Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRyFT0YK", "LabelFormat":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Information about Data Protection in GLS Group can be found at", "gls-group.eu/dataprotection" ] } }

- without Incoterm

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "#Information about Data Protection in GLS Group can be found at", "#gls-group.eu/dataprotection" ] } }

### from Germany to somewhere outside Europe (Uruguay)

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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" ] } }

### Austria domestic

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

### Belgium domestic

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":[ ] }, "HandlingInformation":"T" } ], "PrintData":[ { "Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRyaXVFT0YK", "LabelFormat":"PDF" } ], "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" ] } }

### France domestic

REQUEST | RESPONSE
--- | ---
{ "Shipment": { "Product": "PARCEL", "Consignee": { "ConsigneeID": "1234567890", "Address": { "Name1": "Tim Test", "Name2" : "", "Name3" : "", "CountryCode": "FR", "ZIPCode": "10000", "City": "Testeny", "Street": "Avenue de Test", "StreetNumber" : "3", "eMail": "tim@testgls.fr", "ContactPerson": "Laura Test", "MobilePhoneNumber": "004312345678910", "FixedLinePhonenumber": "004312345678910" } }, "Shipper": { "ContactID": "1234567890", "ShipmentUnit": [ { "Weight": 5 } ], }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } } } | { "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":"NST "LastRoutingDate":"2020-11-11" }, } ], "PrintData":[ { "Data":"JVBERi0xLjUKJeLjz9MKNSAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NYXRyaMzgKJSVFT0YK", "LabelFormat":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

## Express Service

### Service 0800

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":false, "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

### Service1200

REQUEST | RESPONSE
--- | ---
{ "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", "ShipmentUnit": [ { "Weight": 5 } ], "Service": [ { "Service": { "ServiceName": "service_1200" } } ] }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } } } | { "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":false, "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

## Alternative Delivery Allowed

REQUEST | RESPONSE
--- | ---
{ "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":"PDF" } } } | { "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":"12:00" }, "ServiceArea":{ "Service":[ { "Header":"ExpressParcel", "Information":[ { } ] } ] }, "HandlingInformation":"T S" } ], "PrintData":[ { "Data":"JVBERi0xLjUKJeLjz9MKNCAwIG9iago8PC9TdWJ0eXBlL0Zvcm0vRmlsdGVyL0ZsYXRlRGVjb2RlL1R5cGUvWE9iamVjdC9NA4NgolJUVPRgo=", "LabelFormat":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

## Print customer Logo on label

REQUEST | RESPONSE
--- | ---
{ "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", "ShipmentUnit": [ { "Weight": 5 } ] }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } }, "CustomContent":{ "CustomerLogo": "iVBORw0K[...]WlIvhW8Yg==" } } | { "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":"JVBERi0xLjUK[...]9iamVjdC9NYCjM5OT3CiUlRU9GCg==", "LabelFormat":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

## Print customer barcode on label

REQUEST | RESPONSE
--- | ---
{ "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", "ShipmentUnit": [ { "Weight": 5 } ] }, "PrintingOptions":{ "ReturnLabels":{ "TemplateSet":"NONE", "LabelFormat":"PDF" } }, "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

# Printing options

## PDF

REQUEST | RESPONSE
--- | ---
{ "Shipment": { "Product": "PARCEL", "Consignee": { "Address": { "Name1": "Tim Test", "CountryCode": "DE", "ZIPCode": "65760", "City": "Testingen", "Street": "Testallee", "StreetNumber": "3" } }, "Shipper": { "ContactID": "1234567890" }, "ShipmentUnit": [ { "Weight": 5 } ] }, "PrintingOptions": { "ReturnLabels": { "TemplateSet": "NONE", "LabelFormat": "PDF" } } } | { "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":"PDF" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

## PNG

REQUEST | RESPONSE
--- | ---
{ "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": "PNG" } } } | { "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":"PNG" } ], "CustomerID":"1234567890", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

## ZPL

REQUEST | RESPONSE
--- | ---
{ "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" ] } }

# Miscellaneous

## Cancel parcel

REQUEST | RESPONSE
--- | ---
POST https://localhost:8443/backend/rs/shipments/cancel/TEST1234 | { "TrackID":"TEST1234", "result":"CANCELLED" }

## Retrieve GLS parcelshops

### - All parcelshops for a selected country

REQUEST | RESPONSE
--- | ---
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 } ] } } ] } ] } .....

### - Parcelshops for a given ID

REQUEST | RESPONSE
--- | ---
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" }, "Holidays": [{ "StartDate": "2023-08-30", "EndDate": "2023-12-31" } ], "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 } ] } } ] }

### - All parcelshops around a given address

REQUEST | RESPONSE
--- | ---
{ "Street": "Teststraße", "StreetNumber": "3", "CountryCode": "AT", "ZIPCode": "6830", "City": "Testhausen" } | { "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 } ] } } ] } ] }

### - All parcelshops in a given distance from a spot

REQUEST | RESPONSE
--- | ---
{ "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 for a shipper

REQUEST | RESPONSE
--- | ---
{ "Source":{ "CountryCode":"DE", "ZIPCode":"35510" }, "Destination":{ "CountryCode":"DE", "ZIPCode":"61381" }, "ContactID":"1234567890" } | { "AllowedServices":[ { "ProductName":"PARCEL" }, { "ProductName":"EXPRESS" }, .... .... { "ServiceName":"service_flexdelivery" }, { "ServiceName":"service_ident" }, { "ServiceName":"service_pickandreturn" }, { "ServiceName":"service_shopreturn" }, { "ServiceName":"service_guaranteed24" } ] }

## Perform end of day

REQUEST | RESPONSE
--- | ---
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

REQUEST | RESPONSE
--- | ---
{ "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":[ ] } }

## Reprint Parcel

REQUEST | RESPONSE
--- | ---
{ "ShipmentReference" : "OLD556", "CreationDate" : "2020-02-19", "PrintingOptions": { "ReturnLabels": { "TemplateSet": "NONE", "LabelFormat": "PDF" } } } | { "CreatedShipment":{ "ParcelData":[ { "TrackID":"YQ26KY68", "ShipmentUnitReference":[ "NEW772" ], "ParcelNumber":"000000000009", "Barcodes":{ "Primary2D":"ADE 777 abcdefghij276equiul YQ26KY68AA 1 081965760 00420001001", "Secondary2D":"A|GLS|Helfmannpark|Eschborn|1|NEW772|SHM998|", "Primary1D":"000000000009", "Primary1DPrint":true }, "RoutingInfo":{ "Tour":"0819", "InboundSortingFlag":"10", "FinalLocationCode":"DE 934", "HubLocation":"", "LastRoutingDate":"1970-01-01" } } ], "PrintData":[ { "Data":"JVBERi0xLjUKJeLjz9MlJUVPRgo=", "LabelFormat":"PDF" } ], "CustomerID":"abcdefghij", "PickupLocation":"DE 777", "GDPR":[ "Informationen zum Datenschutz in der GLS-Gruppe finden Sie unter", "gls-group.eu/dataprotection" ] } }

# Track&Trace

## findParcels

REQUEST | RESPONSE
--- | ---
{ "DateFrom": "2016-02-07", "DateTo": "2016-02-08" } | { "UnitItems": [{ "TrackID": "P3L11002", "ShipmentReference": "ShipRef1", "ShipmentUnitReference": "UnitRefabc", "InitialDate": "2016-02-07T13:17:15+01:00", "Status": "DELIVERED" } ] }

## getParcelDetailsByID

REQUEST | RESPONSE
--- | ---
{ "TrackID" : "ZD1720BO" } | { "UnitDetail": { "TrackID": "ZD1720BO", "ShipmentReference": [ "1304390" ], "ShipmentUnitReference": [ "1304390" ], "Weight": "1.0", "Product": "PARCEL", "Consignee": { "ConsigneeID": "1304390", "Address": { "Name1": "Tim Test", "Name2": "", "Name3": "", "CountryCode": "DE", "ZIPCode": "50354", "City": "Testingen", "Street": "Testallee", "StreetNumber": "123", "eMail": "consignee1304390@t-online.de", "FixedLinePhonenumber": "+49 6196 1304390", "MobilePhoneNumber": "+49 1304390" } }, "Shipper": { "ContactID": "1234567890", "AlternativeShipperAddress": { "Name1": "Ella Shipper", "Name2": "GMBH & Co. KG", "CountryCode": "DE", "ZIPCode": "01591", "City": "Riesa", "Street": "Breite Strasse", "StreetNumber": "159", "eMail": "Ella.Horst@gls-group.com", "FixedLinePhonenumber": "0049221 2722731", "MobilePhoneNumber": "01522722731" } }, "Service": [], "ShipmentService": [], "History": [ { "Date": "2023-09-05T14:35:46+02:00", "LocationCode": "DE 500", "Location": "Köln DE 500", "Country": "DE", "StatusCode": "DATA_RECEIVED", "Description": "The parcel data was entered into the GLS IT system; the parcel was not yet handed over to GLS." } ] } }

## getParcelPODByID

REQUEST | RESPONSE
--- | ---
{ "TrackID" : "ZD1720BJ" } | { "PODItem": { "TrackID": "ZD1720BJ", "ImageData": "JVBERi0xLjQKJf[...]SVFT0YK" } }