{"info":{"_postman_id":"54cc7069-ee71-4bd9-b903-810978c63ca7","name":"ShipmentHub","description":"<html><head></head><body><p>Shipment Hub is a comprehensive platform designed to streamline and manage all aspects of shipment creation, tracking, and management.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14921753","collectionId":"54cc7069-ee71-4bd9-b903-810978c63ca7","publishedId":"2sAXqpA4sa","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-09-20T20:40:45.000Z"},"item":[{"name":"v2","item":[{"name":"Token","item":[{"name":"Token","event":[{"listen":"test","script":{"id":"de3640f5-25c7-4814-b3a2-cccc39e1e73f","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.collectionVariables.set(\"token\", pm.response.headers.one(\"Token\").value);\r","    \r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"4b028df5-7138-4870-be26-0537eec7ffed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"text/plain; ver=2.0"},{"key":"Username","value":"xxxx","type":"text"},{"key":"Password","value":"xxxx","type":"text"}],"url":"https://ship.gls-us.com/v2/Token","description":"<h4 id=\"request\">Request</h4>\n<p>Provide username and password in the <strong>request header.</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Username</td>\n<td>string</td>\n<td>GLS-provided username</td>\n</tr>\n<tr>\n<td>Password</td>\n<td>string</td>\n<td>GLS-provided password</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response\">Response</h4>\n<p>The Token and TokenExpiry are provided in the <strong>response header</strong>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Token</td>\n<td>string</td>\n<td>Token to access the subsequent requests</td>\n</tr>\n<tr>\n<td>TokenExpiry</td>\n<td>string</td>\n<td>Token expiry date time</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","Token"],"host":["https://ship.gls-us.com"],"query":[],"variable":[]}},"response":[{"id":"bbf21239-9cbe-4e67-bb99-9c4239c5bdef","name":"Created","originalRequest":{"method":"GET","header":[{"key":"Username","value":"testuser","type":"text"},{"key":"Password","value":"testpassword","type":"text"}],"url":{"raw":"https://ship.gls-us.com/v2/Token?Username=XXXXXXXXX&Password=XXXXXXXXX","host":["https://ship.gls-us.com"],"path":["v2","Token"],"query":[{"key":"Username","value":"XXXXXXXXX"},{"key":"Password","value":"XXXXXXXXX"}]}},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[{"key":"Transfer-Encoding","value":"chunked","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"Authorized"},{"id":"972188f2-1abd-43b9-a7b4-a1ed8cf54a31","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"text/plain; ver=2.0"}],"url":{"raw":"https://ship.gls-us.com/v2/Token?Username=XXXXXXXXX&Password=XXXXXXXXX","host":["https://ship.gls-us.com"],"path":["v2","Token"],"query":[{"key":"Username","value":"XXXXXXXXX"},{"key":"Password","value":"XXXXXXXXX"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; ver=2.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"StatusCode\": 400,\n    \"StatusDescription\": \"Bad Request\",\n    \"AuthenticationResultCode\": 1,\n    \"RequestDateTime\": \"2024-07-19T09:52:45.0175002-07:00\",\n    \"ResponseDateTime\": \"2024-07-19T09:52:45.3074304-07:00\",\n    \"ErrorCount\": 1,\n    \"ErrorDetail\": [\n        {\n            \"ErrorCode\": \"Failure\",\n            \"ErrorDescription\": \"Error Message.\"\n        }\n    ]\n}"},{"id":"1e82fd99-5cfc-4ca4-b035-0ce0ac0d9045","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"text/plain; ver=2.0"}],"url":{"raw":"https://ship.gls-us.com/v2/Token?Username=XXXXXXXXX&Password=XXXXXXXXX","host":["https://ship.gls-us.com"],"path":["v2","Token"],"query":[{"key":"Username","value":"XXXXXXXXX"},{"key":"Password","value":"XXXXXXXXX"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; ver=2.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"StatusCode\": 401,\n    \"StatusDescription\": \"Unauthorized\",\n    \"AuthenticationResultCode\": 1,\n    \"RequestDateTime\": \"2024-07-19T09:52:45.0175002-07:00\",\n    \"ResponseDateTime\": \"2024-07-19T09:52:45.3074304-07:00\",\n    \"ErrorCount\": 1,\n    \"ErrorDetail\": [\n        {\n            \"ErrorCode\": \"Failure\",\n            \"ErrorDescription\": \"INVALID CREDENTIALS.\"\n        }\n    ]\n}"},{"id":"eaac3cb9-2c9c-41e7-bd52-eb56822362f1","name":"Server Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://ship.gls-us.com/v2/Token?Username=XXXXXXXXX&Password=XXXXXXXXX","host":["https://ship.gls-us.com"],"path":["v2","Token"],"query":[{"key":"Username","value":"XXXXXXXXX"},{"key":"Password","value":"XXXXXXXXX"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"StatusCode\": 500,\r\n    \"StatusDescription\": \"Internal Server Error\",\r\n    \"AuthenticationResultCode\": 1,\r\n    \"RequestDateTime\": \"2024-07-19T09:52:45.0175002-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T09:52:45.3074304-07:00\",\r\n    \"ErrorCount\": 1,\r\n    \"ErrorDetail\": [\r\n        {\r\n            \"ErrorCode\": \"Failure\",\r\n            \"ErrorDescription\": \"Error Message.\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"4b028df5-7138-4870-be26-0537eec7ffed"}],"id":"826389ff-d369-4a9e-b548-57848353ff75","description":"<p>As the initial step, the user will submit their GLS-provided username and password within the request header. Upon successful verification of the credentials by GLS, a token will be issued to the user, which will remain valid for <strong>12 hours</strong>.</p>\n","_postman_id":"826389ff-d369-4a9e-b548-57848353ff75"},{"name":"Shipment","item":[{"name":"Shipment","id":"1a043d9d-d1c5-4f41-98d8-3801686f56a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"},{"key":"Accept","value":"text/plain; ver=2.0"},{"key":"Token","value":"xxxx","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"AccountNumber\": \"1036\",\n    \"Shipment\": {       \n        \"TrackingNumber\": \"OOROISD1\",\n        \"ShipperCompany\": \"Techfolds Company\",\n        \"ShipperContact\": \"Jerald Mc White\",\n        \"ShipperPhone\": \"9212341234\",\n        \"ShipperEmail\": \"testemail@123.com\",\n        \"PickupAddress1\": \"1000  South Ampton Line Rd\",\n        \"PickupAddress2\": null,\n        \"PickupCity\": \"TRACY\",\n        \"PickupState\": \"CA\",\n        \"PickupZip\": \"94583\",\n        \"PickupCountry\":\"US\",\n        \"PickupCountryCode\": \"US\",\n        \"LabelFromCompany\": \"test\",\n        \"labelFromContact\": \"Andrew Joe Martin\",\n        \"labelFromAddress1\": \"252 lenin priego\",\n        \"labelFromAddress2\": \"\",\n        \"labelFromCity\": \"Tracy\",\n        \"labelFromState\": \"CA\",\n        \"labelFromZip\": \"94583\",\n        \"labelFromCountry\": \"US\",\n        \"labelFromCountryCode\": \"US\",\n        \"PickupAddressType\":\"R\",\n        \"ShipToCompany\": \"SCK\",\n        \"ShipToAttention\": \"Steve Martin\",\n        \"ShipToPhone\": \"123654789\",\n        \"ShipToEmail\": \"test123@abc.com\",\n        \"DeliveryAddress1\": \"1540, Blog Street, 2nd Lane \",\n        \"DeliveryAddress2\": \"\",\n        \"DeliveryCity\": \"Berlin\",\n        \"DeliveryState\": \"CA\",\n        \"DeliveryZip\": \"65760\",\n        \"DeliveryCountry\": \"Germany\",\n        \"DeliveryCountryCode\": \"DE\",\n        \"ShipDate\":\"2025-02-18\",\n        \"ServiceCode\": \"ITS\",\n        \"DeclaredValue\": 10,\n        \"CODValue\": \"20\",\n        \"SpecialInstructions\": \"test Special  Instructions\",\n        \"Weight\": \"10\",  \n        \"WeightUnitOfMeasure\" : \"lb\",\n        \"Dimensions\":\n        {\n            \"Length\":1,\n            \"Width\":\"2\",\n            \"Height\":\"3\",\n            \"UnitOfMeasure\":\"inch\"\n        },\n        \"SignatureCode\":\"ADULT_SIG_REQD\",\n        \"ShipmentReference\": 1213,\n        \"ShipmentLabelType\": \"zpl_short_label\",\n        \"AddnShipperReference1\": \"Addn reference content1\",\n        \"AddnShipperReference2\": \"Addn reference content2\",\n        \"ParcelContent\": [\n            \"unrestricted\"\n        ], \n        \"DeliveryAddressType\":\"R\",\n        \"ItemDetails\": [\n            {\n                \"name\": \"TestItem1\",\n                \"code\": \"1\",\n                \"quantity\": \"10\",\n                \"value\": 15,\n                \"hsCode\": \"215\",\n                \"hsDescription\": \"test\",\n                \"countryCodeOfOrigin\": \"DE\",\n                \"pieceweight\": 2.2,\n                \"grosspieceweight\": 2.5\n            },  \n            {\n                \"name\": \"TestItem2\",\n                \"code\": \"2\",\n                \"quantity\": \"10\",\n                \"value\": 12,\n                \"hsCode\": \"214\",\n                \"hsDescription\": \"test\",\n                \"countryCodeOfOrigin\": \"DE\",\n                \"pieceweight\": 2.2,\n                \"grosspieceweight\": 2.5\n            }],\n       \"customs\": // optional\n        {\n            \"importer\": {\n                \"address\": {\n                    \"name1\": \"Hofmann Hausgeräte GmbH\", // Req if any one of the importer / exporter fields are provided\n                    \"street1\": \"Im oberen Kienle\", // Req if any one of the importer / exporter fields are provided\n                    \"postcode\": \"70839\", // Req if any one of the importer / exporter fields are provided\n                    \"city1\": \"Gerlingen\", // Req if any one of the importer / exporter fields are provided\n                    \"countryCode\": \"DE\", // Req if any one of the importer / exporter fields are provided\n                    \"name2\": \"Kundenservice\",\n                    \"street2\": \"Waldesruh\",\n                    \"houseNumber\": \"13\",\n                    \"stateOrRegion\": \"BW\"\n                },\n                \"contactPerson\": {\n                    \"name\": \"Ralf Richter\",\n                    \"emailAddress\": \"ralf.richter@mydomain.de\", //Either EmailAddress or both PhoneCountryPrefix and PhoneNumber is required.\n                    \"phoneCountryPrefix\": \"+49\",\n                    \"phoneNumber\": \"7114478890\"\n                },\n                \"isCommercial\": true, // Req if any one of the importer / exporter fields are provided\n                \"eoriNumber\": \"r09876\",\n                \"taxId\": \"\"\n            },\n            \"exporter\": {\n                \"address\": {\n                    \"name1\": \"Hofmann Hausgeräte GmbH\",\n                    \"street1\": \"Im oberen Kienle\",\n                    \"postcode\": \"70839\",\n                    \"city1\": \"Gerlingen\",\n                    \"countryCode\": \"US\",\n                    \"name2\": \"Kundenservice\",\n                    \"street2\": \"Waldesruh\",\n                    \"houseNumber\": \"13\",\n                    \"stateOrRegion\": \"BW\"\n                },\n                \"contactPerson\": {\n                    \"name\": \"Ralf Richter\",\n                    \"emailAddress\": \"ralf.richter@mydomain.de\",\n                    \"phoneCountryPrefix\": \"+49\",\n                    \"phoneNumber\": \"7114478890\"\n                },\n                \"isCommercial\": true,\n                \"eoriNumber\": \"ASWQER123\",\n                \"taxId\": \"123HGFD\",\n                \"SwissUid\": \"XZ987\",\n                \"VatRegistrationNumber\": \"AS2345\",\n                \"AuthorizationNumber\": \"65765432\",\n                \"LoadingPlaceCode\": \"Gerlingen\"\n            }\n        },\n          \n        \"CommercialInvoiceAttached\": true,\n        \"TotalCommercialInvoiceAmount\":100,\n        \"PurchaseOrderNumber\":\"test\",\n        \"PackageDescription\": \"test\",\n        \"CommercialInvoiceNumber\": 235,\n        \"ReceiveNotifications\":{\n                \"emailAddress\":[\"testcontact@sample.com\"],\n                \"MobileNumber\":[\"+1 9112341234\"]\n            },            \n       \"Notification\": [\n            {\n                \"NotificationType\": \"SHIPMENT\",\n                \"EmailAddress\":\"test123@sample.com\"\n                 \n            },\n             {\n                \"NotificationType\": \"RECEIPT\",\n                 \"EmailAddress\":\"test123@sample.com\"\n            },\n            {\n                \"NotificationType\": \"EXCEPTION\",\n                 \"EmailAddress\":\"test123@sample.com\"\n            }\n            ,\n            {\n                \"NotificationType\": \"DELIVERY\",\n                 \"EmailAddress\":\"test123@sample.com\"\n            }\n            ,\n            {\n                \"NotificationType\": \"ETA\",\n                 \"EmailAddress\":\"test123@sample.com\"\n            }\n        ]\n    }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/Shipment","description":"<h4 id=\"🧾-request-header\">🧾 Request Header</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Token</td>\n<td>Access Token</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n</tr>\n<tr>\n<td>Accept-Encoding</td>\n<td>gZip or deflate (Optional)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"📤-request-body\">📤 Request Body</h4>\n<p>The request body must be a JSON object with the following keys:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type / Max Length / Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>accountNumber</td>\n<td>Integer (10), Required: Yes</td>\n<td>Shipper’s GLS account number.</td>\n</tr>\n<tr>\n<td>shipment</td>\n<td>Shipment object, Required: Yes</td>\n<td>Details of the shipment including tracking number, addresses, dates, service code, weight, dimensions, and other related information.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"📦-shipment-object\">📦 Shipment Object</h3>\n<h4 id=\"🔹-shipper-information\">🔹 Shipper Information</h4>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>TrackingNumber</strong></td>\n<td>String (20), Required: No</td>\n<td>1. Unique identifier for the shipment.  <br />2. Minimum 6 characters. If not provided, GLS auto-generates a unique 20-character tracking number.</td>\n</tr>\n<tr>\n<td><strong>ShipperCompany</strong></td>\n<td>String (50), Required: Yes</td>\n<td>Name of company sending the shipment.</td>\n</tr>\n<tr>\n<td>ShipperContact</td>\n<td>String (50), Required: No</td>\n<td>Name of person sending the shipment.</td>\n</tr>\n<tr>\n<td>ShipperPhone</td>\n<td>String (20), Required: No</td>\n<td>Phone number of person sending the shipment.</td>\n</tr>\n<tr>\n<td>ShipperEmail</td>\n<td>String (50), Required: No</td>\n<td>Email address of person sending the shipment.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"📍-pickup-information\">📍 Pickup Information</h4>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>PickupAddress1</strong></td>\n<td>String (50), Required: Yes</td>\n<td>Street address of pickup location.</td>\n</tr>\n<tr>\n<td>PickupAddress2</td>\n<td>String (50), Required: No</td>\n<td>Extra address info for pickup location.</td>\n</tr>\n<tr>\n<td><strong>PickupCity</strong></td>\n<td>String (50), Required: Yes</td>\n<td>Pickup city name.</td>\n</tr>\n<tr>\n<td><strong>PickupState</strong></td>\n<td>String (2), Required: Yes</td>\n<td>State abbreviation of pickup location. Valid within GLS service area.</td>\n</tr>\n<tr>\n<td><strong>PickupZip</strong></td>\n<td>String (10), Required: Yes</td>\n<td>Only first 5 digits used if PickupCountryCode is US or empty.</td>\n</tr>\n<tr>\n<td>PickupCountry</td>\n<td>String (55), Required: No</td>\n<td>ISO Country Name for origin country.</td>\n</tr>\n<tr>\n<td><strong>PickupCountryCode</strong></td>\n<td>String (2), Required: Yes*</td>\n<td>ISO Country Code. Required only for the International shipments.</td>\n</tr>\n<tr>\n<td>PickupAddressType</td>\n<td>String (1), Required: No</td>\n<td>'B' for Business or 'R' for Residential.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"🏷️-label-from-optional-label-sender\">🏷️ Label From (Optional Label Sender)</h4>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>LabelFromCompany</td>\n<td>String (50), Required: No</td>\n<td>Company name printed on the label.</td>\n</tr>\n<tr>\n<td>LabelFromContact</td>\n<td>String (50), Required: No</td>\n<td>Name printed on the label.</td>\n</tr>\n<tr>\n<td><strong>LabelFromAddress1</strong></td>\n<td>String (100), Required: Yes*</td>\n<td>Required if LabelFromCity, LabelFromState, or LabelFromZIP is provided.</td>\n</tr>\n<tr>\n<td>LabelFromAddress2</td>\n<td>String (50), Required: No</td>\n<td>Additional address info for label.</td>\n</tr>\n<tr>\n<td><strong>LabelFromCity</strong></td>\n<td>String (50), Required: Yes*</td>\n<td>Required if LabelFromAddress1, LabelFromState, or LabelFromZIP is provided.</td>\n</tr>\n<tr>\n<td><strong>LabelFromState</strong></td>\n<td>String (2), Required: Yes*</td>\n<td>Required if LabelFromAddress1, LabelFromCity, or LabelFromZIP is provided.</td>\n</tr>\n<tr>\n<td><strong>LabelFromZip</strong></td>\n<td>String (10), Required: Yes*</td>\n<td>Required if LabelFromAddress1, LabelFromCity, or LabelFromState is provided.</td>\n</tr>\n<tr>\n<td>LabelFromCountry</td>\n<td>String (55), Required: No</td>\n<td>ISO Country Name for pickup label.</td>\n</tr>\n<tr>\n<td>LabelFromCountryCode</td>\n<td>String (2), Required: No</td>\n<td>ISO Country Code for pickup label.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"📬-delivery-information\">📬 Delivery Information</h4>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>ShipToCompany</strong></td>\n<td>String (50), Required: Yes</td>\n<td>Name of company receiving the shipment.</td>\n</tr>\n<tr>\n<td>ShipToAttention</td>\n<td>String (50), Required: No</td>\n<td>Person receiving the shipment.</td>\n</tr>\n<tr>\n<td>ShipToPhone</td>\n<td>String (20), Required: No</td>\n<td>Phone number of receiver.</td>\n</tr>\n<tr>\n<td>ShipToEmail</td>\n<td>String (50), Required: No</td>\n<td>Email address of receiver.</td>\n</tr>\n<tr>\n<td><strong>DeliveryAddress1</strong></td>\n<td>String (50), Required: Yes</td>\n<td>Street address of delivery destination.  <br />  <br /><strong>Note</strong>: For EU Shipments, please pass the Street Name and House Number in DeliveryAddress1 field. For Optimal results and avoiding delivery delays, please only use Characters 1-40</td>\n</tr>\n<tr>\n<td>DeliveryAddress2</td>\n<td>String (50), Required: No</td>\n<td>Extra delivery address info.</td>\n</tr>\n<tr>\n<td><strong>DeliveryCity</strong></td>\n<td>String (50), Required: Yes</td>\n<td>City name for delivery.</td>\n</tr>\n<tr>\n<td><strong>DeliveryState</strong></td>\n<td>String (2), Required: Yes</td>\n<td>State abbreviation for delivery location.</td>\n</tr>\n<tr>\n<td><strong>DeliveryZip</strong></td>\n<td>String (10), Required: Yes</td>\n<td>Only first 5 digits used if DeliveryCountryCode is US or empty.</td>\n</tr>\n<tr>\n<td>DeliveryCountry</td>\n<td>String (55), Required: No</td>\n<td>ISO Country Name for delivery.</td>\n</tr>\n<tr>\n<td>DeliveryCountryCode</td>\n<td>String (2), Required: No</td>\n<td>ISO Country Code for delivery.</td>\n</tr>\n<tr>\n<td>DeliveryAddressType</td>\n<td>String (1), Required: No</td>\n<td>'B' or 'R'. Applies RDF for Residential deliveries.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"🗓️-shipment-schedule--services\">🗓️ Shipment Schedule &amp; Services</h4>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ShipDate</td>\n<td>Date, Required: No</td>\n<td>Defaults to current date. Can be future-dated up to 5 days.  <br />If the label/data upload is done before the package handover, the shipper can provide the scheduled ship date.</td>\n</tr>\n<tr>\n<td><strong>ServiceCode</strong></td>\n<td>String (3), Required: Yes</td>\n<td>GLS Delivery Service Type for the shipment, options are:  <br />  <br />PDS – Priority Overnight  <br />EPS – Early Priority Overnight  <br />NPS – Noon Priority Overnight  <br />SDS – Saturday Delivery  <br />ESS – Early Saturday Delivery  <br />CPS – GLS Ground  <br />ITS – EU International service type  <br />CAN –  <br />Canada International Service  <br />* Not all service types may apply to every shippers account.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"💵-value--instructions\">💵 Value &amp; Instructions</h4>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>DeclaredValue</td>\n<td>Decimal (8,2), Required: No</td>\n<td>Declared value. Only pass value if over $100.</td>\n</tr>\n<tr>\n<td>CODValue</td>\n<td>Decimal (8,2), Required: No</td>\n<td>Amount to collect at delivery.</td>\n</tr>\n<tr>\n<td>SpecialInstructions</td>\n<td>String (100), Required: No</td>\n<td>Additional delivery instructions (e.g., Side Door).</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"⚖️-package-details\">⚖️ Package Details</h4>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Weight</td>\n<td>Decimal (8,2), Required: No</td>\n<td>Package weight in pounds. Round up to next pound.</td>\n</tr>\n<tr>\n<td>WeightUnitOfMeasure</td>\n<td>String (4), Required: No</td>\n<td>Default is lb. Accepted values: lb, kg.</td>\n</tr>\n<tr>\n<td>Dimensions</td>\n<td>Dimensions, Required: Conditional</td>\n<td>Package dimensions. See <a href=\"#dimensions\">Dimensions</a>.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"🧾-label--signature-options\">🧾 Label &amp; Signature Options</h4>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ShipmentLabelType</td>\n<td>Enum (String), Required: No</td>\n<td>Setting for the Shipping Label to be generated. Options include:  <br />  <br />- <strong>NO_LABEL</strong>  <br />- <strong>PAPER_LABEL</strong>: Returns a byte array of the GLS label, compatible with PNG and other image formats.  <br />- <strong>PDF_4x5LABEL</strong>: Returns a byte array of the GLS label in PDF format.  <br />- <strong>ZPL_SHORT_LABEL</strong> and <strong>ZPL_LONG_LABEL</strong>: Returns GLS label string formatted for Zebra ZPL thermal printers (4×6 in label). Recommended for GK420d and similar models.  <br />- <strong>ZPL_SHORT_LABEL_PON</strong> and <strong>ZPL_LONG_LABEL_PON</strong>: Same as above but printed in normal orientation. Use if label orientation issues occur. Recommended for GK420d and similar Zebra printers.  <br />  <br />Label type constants can be used to specify these options.</td>\n</tr>\n<tr>\n<td>SignatureCode</td>\n<td>Enum (String), Required: No</td>\n<td>Signature requirement. Options:  <br />SIG_STANDARD  <br />SIG_REQD  <br />SIG_NOT_REQD  <br />ADULT_SIG_REQD</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"🔖-references--identifiers\">🔖 References &amp; Identifiers</h4>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ShipmentReference</td>\n<td>String (25), Required: No</td>\n<td>Shipper's internal shipment reference.  <br />Reference information will be included in the customer invoice and can be used to track the shipment.</td>\n</tr>\n<tr>\n<td>AddnShipperReference1</td>\n<td>String (25), Required: No</td>\n<td>Additional shipment reference.</td>\n</tr>\n<tr>\n<td>AddnShipperReference2</td>\n<td>String (25), Required: No</td>\n<td>Additional shipment reference.</td>\n</tr>\n<tr>\n<td>ParcelContent</td>\n<td>String[], Required: No</td>\n<td>Parcel item details to validate if the parcel can be delivered. Validated by industry type if not provided.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"🌍-international-shipping\">🌍 International Shipping</h4>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ImporterTaxId</td>\n<td>String (50), Required: No</td>\n<td>Importer's tax ID.</td>\n</tr>\n<tr>\n<td>PurchaseOrderNumber</td>\n<td>String (50), Required: No</td>\n<td>Unique PO number.</td>\n</tr>\n<tr>\n<td><strong>CommercialInvoiceAttached</strong></td>\n<td>Boolean, Required: Yes</td>\n<td>Indicates whether a commercial invoice is included with the package.  <br />  <br />If set to <code>true</code>, the invoice is provided by the shipper.  <br />If set to <code>false</code>, GLS will generate one automatically.  <br />  <br />This field must be set to true for international shipments where:  <br />- Total Commercial Invoice Amount &gt; <strong>$1000</strong> for <strong>EU</strong>  <br />- Total Commercial Invoice Amount &gt; <strong>$2100</strong> for <strong>Canada</strong></td>\n</tr>\n<tr>\n<td><strong>PackageDescription</strong></td>\n<td>String (100), Required: Yes*</td>\n<td>Description of package contents (e.g., clothing, health supply).</td>\n</tr>\n<tr>\n<td><strong>CommercialInvoiceNumber</strong></td>\n<td>String (50), Required: Yes*</td>\n<td>Required for customs clearance in international shipments.</td>\n</tr>\n<tr>\n<td>ItemDetails</td>\n<td>ItemDetails[], Required: Conditional</td>\n<td>Required only for international shipments. See <a href=\"#itemdetails\">ItemDetails</a>.</td>\n</tr>\n<tr>\n<td>Customs</td>\n<td>Customs, Required: No</td>\n<td>Customs declaration info. See <a href=\"#customs\">Customs</a>.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"📣-notifications\">📣 Notifications</h4>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ReceiveNotifications</td>\n<td>ReceiveNotifications, Required: No</td>\n<td>Enables automatic transit notifications. See <a href=\"#receivenotifications\">ReceiveNotifications</a>.</td>\n</tr>\n<tr>\n<td>Notification</td>\n<td>Notification[], Required: No</td>\n<td>User-subscribed notification types. See <a href=\"#notification\">Notification</a>.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"📐-dimensions\">📐 Dimensions</h4>\n<p><a href=\"null\"></a></p>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Length</td>\n<td>Integer (3), Required: No</td>\n<td>Estimated package length.  <br />  <br />Parcel: 1–144 in; max 80,000 cubic size.  <br />Freight: 1–96 in.</td>\n</tr>\n<tr>\n<td>Width</td>\n<td>Integer (3), Required: No</td>\n<td>Estimated package width.  <br />  <br />Parcel: 1–144 in; max 80,000 cubic size.  <br />Freight: 1–96 in.</td>\n</tr>\n<tr>\n<td>Height</td>\n<td>Integer (3), Required: No</td>\n<td>Estimated package height.  <br />  <br />Parcel: 1–144 in; max 80,000 cubic size.  <br />Freight: 1–72 in.</td>\n</tr>\n<tr>\n<td>UnitOfMeasure</td>\n<td>String (4), Required: No</td>\n<td>Default is \"inch\". Accepted values: cm, inch.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"📦-itemdetails\">📦 ItemDetails</h4>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Name</td>\n<td>String (100), Required: Yes</td>\n<td>Detail name or description for each item inside one box.</td>\n</tr>\n<tr>\n<td>Code</td>\n<td>String (80), Required: Yes</td>\n<td>SKU number or item code.</td>\n</tr>\n<tr>\n<td>Quantity</td>\n<td>Integer, Required: Yes</td>\n<td>Quantity of same items in the box. Must be greater than 0.</td>\n</tr>\n<tr>\n<td>Value</td>\n<td>Decimal (9,2), Required: Yes</td>\n<td>Each item's value in US dollars.</td>\n</tr>\n<tr>\n<td>HSCode</td>\n<td>Integer, Required: No</td>\n<td>Harmonized System Code. Must be 6–10 digits (no decimal points).</td>\n</tr>\n<tr>\n<td>HSDescription</td>\n<td>String (80), Required: No</td>\n<td>Description for the harmonized system code.</td>\n</tr>\n<tr>\n<td>CountryCodeOfOrigin</td>\n<td>String (2), Required: Yes</td>\n<td>ISO country code indicating country of origin.</td>\n</tr>\n<tr>\n<td>PieceWeight</td>\n<td>Decimal (9,2), Required: No</td>\n<td>Weight of each individual item.</td>\n</tr>\n<tr>\n<td>GrossPieceWeight</td>\n<td>Decimal (9,2), Required: No</td>\n<td>Gross weight of each item.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"📧-receivenotification\">📧 ReceiveNotification</h3>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>EmailAddress</td>\n<td>String[], Required: No</td>\n<td>List of email addresses to receive shipment notifications.</td>\n</tr>\n<tr>\n<td>Mobile</td>\n<td>String[], Required: No</td>\n<td>List of mobile numbers to receive SMS notifications.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"field-details\">Field Details</h3>\n<ul>\n<li><p><strong>EmailAddress</strong><br />  Array of email addresses to receive automated email notifications.<br />  Trigger points:</p>\n<ul>\n<li><p><strong>SHIPMENT</strong>: Triggered when package data upload is received by the GLS server.</p>\n</li>\n<li><p><strong>RECEIPT</strong>: Triggered when the package is scanned at a GLS facility.</p>\n</li>\n<li><p><strong>ETA</strong>: Triggered when the package is out for delivery.</p>\n</li>\n<li><p><strong>DELIVERY</strong>: Triggered when the delivery is completed.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Mobile</strong><br />  Array of mobile numbers to receive automated text (SMS) notifications.<br />  Trigger points:</p>\n<ul>\n<li><p><strong>SHIPMENT</strong>: Triggered when package data upload is received by the GLS server.</p>\n</li>\n<li><p><strong>RECEIPT</strong>: Triggered when the package is scanned at a GLS facility.</p>\n</li>\n<li><p><strong>ETA</strong>: Triggered when the package is out for delivery.</p>\n</li>\n<li><p><strong>DELIVERY</strong>: Triggered when the delivery is completed.</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>Additional Notes:</p>\n<ul>\n<li><p>Only <strong>one mobile number per notification</strong> is allowed.</p>\n</li>\n<li><p><strong>Unsubscribed</strong> mobile numbers will <strong>not receive SMS</strong> notifications.</p>\n</li>\n<li><p><strong>International numbers</strong> must include the area code.</p>\n</li>\n<li><p>Users can <strong>subscribe to specific notification types</strong>, and GLS will automatically trigger the subscribed ones.</p>\n</li>\n</ul>\n<h3 id=\"notification\">Notification</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Length</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>NotificationType</td>\n<td>Enum: Integer</td>\n<td>100</td>\n<td>Yes</td>\n<td>Notification trigger type</td>\n</tr>\n<tr>\n<td>EmailAddress</td>\n<td>String</td>\n<td>255</td>\n<td>Yes</td>\n<td>Email(s) for notification</td>\n</tr>\n<tr>\n<td>MobileNumber</td>\n<td>String</td>\n<td>15</td>\n<td>No</td>\n<td>SMS number for notifications</td>\n</tr>\n<tr>\n<td>Message</td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Custom message in email</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"field-details-1\">Field Details</h3>\n<ul>\n<li><p><strong>NotificationType</strong><br />  Options: <code>SHIPMENT</code>, <code>RECEIPT</code>, <code>DELIVERY</code>, <code>EXCEPTION</code>, <code>ETA</code>.</p>\n</li>\n<li><p><strong>EmailAddress</strong><br />  Email address(es) to receive automated notifications.<br />  Multiple emails should be separated by a semicolon (<code>;</code>).<br />  Notification trigger points:</p>\n<ul>\n<li><p><strong>SHIPMENT</strong>: When package data is uploaded to GLS server.</p>\n</li>\n<li><p><strong>RECEIPT</strong>: When scanned at GLS facility.</p>\n</li>\n<li><p><strong>ETA</strong>: When package is out for delivery.</p>\n</li>\n<li><p><strong>DELIVERY</strong>: When delivery is complete.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>MobileNumber</strong><br />  Only one mobile number allowed.<br />  Used for SMS notifications.<br />  Unsubscribed numbers will not receive SMS.</p>\n</li>\n<li><p><strong>Message</strong><br />  Optional sender commentis included in the email body.<br />  Not applicable for SMS notifications.</p>\n</li>\n</ul>\n<h3 id=\"🛃-customs\">🛃 Customs</h3>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Importer</td>\n<td>Importer, Required: No</td>\n<td>Importer contacts and contact person details. See <a href=\"#importer\">Importer</a> section below</td>\n</tr>\n<tr>\n<td>Exporter</td>\n<td>Exporter, Required: No</td>\n<td>Exporter contacts and contact person details. See <a href=\"#exporter\">Exporter</a> section below</td>\n</tr>\n<tr>\n<td>IncotermCode</td>\n<td>String (4), Required: No</td>\n<td>Incoterm Code  <br />  <br />Allowed values: 10, 11, 12, 18, 20, 21, 25, 30, 33, 40, 41, 50, 91</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"field-details-2\">Field Details</h3>\n<ul>\n<li>If any field within the Customs object is provided, then all <strong>required fields</strong> within that object must also be included.</li>\n</ul>\n<h3 id=\"importer\">Importer</h3>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Address</td>\n<td>Address, Required: No</td>\n<td>Importer address details. See <a href=\"#address\">Address</a> section below</td>\n</tr>\n<tr>\n<td>ContactPerson</td>\n<td>ContactPerson, Required: No</td>\n<td>Importer contact person details. See <a href=\"#contactperson\">ContactPerson</a> section below</td>\n</tr>\n<tr>\n<td>IsCommercial</td>\n<td>boolean, Required: Yes</td>\n<td>Flag indicating if the importer is a commercial entity</td>\n</tr>\n<tr>\n<td>EORINumber</td>\n<td>String (50), Required: No</td>\n<td>Importer EORI Number  <br />  <br />Required only when IsCommercial is true</td>\n</tr>\n<tr>\n<td>TaxId</td>\n<td>String (50), Required: No</td>\n<td>Importer Tax Id</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"exporter\">Exporter</h3>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Address</td>\n<td>Address, Required: No</td>\n<td>Exporter address details. See <a href=\"#address\">Address</a> section below</td>\n</tr>\n<tr>\n<td>ContactPerson</td>\n<td>ContactPerson, Required: No</td>\n<td>Exporter contact person details. See <a href=\"#contactperson\">ContactPerson</a> section below</td>\n</tr>\n<tr>\n<td>IsCommercial</td>\n<td>boolean, Required: Yes</td>\n<td>Flag indicating if the exporter is a commercial entity</td>\n</tr>\n<tr>\n<td>EORINumber</td>\n<td>String (50), Required: No</td>\n<td>Exporter EORI Number</td>\n</tr>\n<tr>\n<td>SwissUid</td>\n<td>String (50), Required: No</td>\n<td>Exporter SwissUid</td>\n</tr>\n<tr>\n<td>TaxId</td>\n<td>String (50), Required: No</td>\n<td>Exporter Tax Id</td>\n</tr>\n<tr>\n<td><strong>VatRegistrationNumber</strong></td>\n<td>String (50), Required: Yes*</td>\n<td>Exporter VatRegistrationNumber  <br />  <br />Required when Incoterm code is 18</td>\n</tr>\n<tr>\n<td>AuthorizationNumber</td>\n<td>String (50), Required: No</td>\n<td>Exporter AuthorizationNumber</td>\n</tr>\n<tr>\n<td>LoadingPlaceCode</td>\n<td>String (50), Required: No</td>\n<td>Physical Loading Place Code</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"🏠-address\">🏠 Address</h3>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Name1</td>\n<td>string (255), Required</td>\n<td>Name1 of the entity</td>\n</tr>\n<tr>\n<td>Street1</td>\n<td>string (255), Required</td>\n<td>Street name</td>\n</tr>\n<tr>\n<td>City1</td>\n<td>string (100), Required</td>\n<td>City name</td>\n</tr>\n<tr>\n<td>Postcode</td>\n<td>string (50), Required</td>\n<td>Postal code</td>\n</tr>\n<tr>\n<td>CountryCode</td>\n<td>string (10), Required</td>\n<td>Country code (ISO)</td>\n</tr>\n<tr>\n<td>Name2</td>\n<td>string (255), Optional</td>\n<td>Optional Name2</td>\n</tr>\n<tr>\n<td>Street2</td>\n<td>string (255), Optional</td>\n<td>Optional Street2</td>\n</tr>\n<tr>\n<td>HouseNumber</td>\n<td>string (50), Optional</td>\n<td>House number</td>\n</tr>\n<tr>\n<td>StateOrRegion</td>\n<td>string (100), Optional</td>\n<td>State or Region name</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"👤-contactperson\">👤 ContactPerson</h3>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Name</td>\n<td>string (255), Required</td>\n<td>Name of the contact person</td>\n</tr>\n<tr>\n<td>EmailAddress</td>\n<td>string (255), Required**</td>\n<td>Email address for the primary contact</td>\n</tr>\n<tr>\n<td>PhoneCountryPrefix</td>\n<td>string (10), Required**</td>\n<td>Country prefix for Phone number</td>\n</tr>\n<tr>\n<td>PhoneNumber</td>\n<td>string (50), Required**</td>\n<td>Phone number for the primary contact</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"field-details-3\">Field Details</h3>\n<ul>\n<li>Either <code>EmailAddress</code> or both <code>PhoneCountryPrefix</code> and <code>PhoneNumber</code> are required.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request will be in the form of a JSON schema with the following properties:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type &amp; Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>StatusCode</td>\n<td>Integer</td>\n<td>The HTTP Status code for the request.  <br />200 – Successful Request  <br />400 – Bad Request  <br />401 – Unauthorized  <br />500 – Internal Server Error</td>\n</tr>\n<tr>\n<td>StatusDescription</td>\n<td>String</td>\n<td>The HTTP Status description for the request.</td>\n</tr>\n<tr>\n<td>AuthenticationResultCode</td>\n<td>Integer</td>\n<td>A status code that offers additional information about authentication success or failure.  <br /><strong>Code</strong></td>\n</tr>\n<tr>\n<td>RequestDateTime</td>\n<td>DateTime</td>\n<td>The Datetime of the request sent to the server. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ResponseDateTime</td>\n<td>DateTime</td>\n<td>The Datetime of the response sent back to the Client. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ErrorCount</td>\n<td>Integer</td>\n<td>Count of the errors. By default, it will be 0.</td>\n</tr>\n<tr>\n<td>ErrorDetail</td>\n<td>Error[]</td>\n<td>ErrorDetail will be an array of Error Structure with two fields – ErrorCode (Integer) and ErrorDescription (String 255). By default, it will be null in case of no errors.</td>\n</tr>\n<tr>\n<td>AccountNumber</td>\n<td>Integer (10)</td>\n<td>Shipper’s GLS account number.</td>\n</tr>\n<tr>\n<td>TrackingNumber</td>\n<td>String (20)</td>\n<td>Unique tracking number of shipment.</td>\n</tr>\n<tr>\n<td>ServiceCode</td>\n<td>String (3)</td>\n<td>GLS Delivery Service Type for the shipment.</td>\n</tr>\n<tr>\n<td>ScheduledShipDate</td>\n<td>Date</td>\n<td>Scheduled Ship Date.</td>\n</tr>\n<tr>\n<td>ScheduledDeliveryDate</td>\n<td>Date / String</td>\n<td>Scheduled Delivery Date.  <br />- Returns in Date format for domestic shipments.  <br />- Returns as date range in String format for international shipments.  <br />Example: 07/10/2024 – 07/13/2024</td>\n</tr>\n<tr>\n<td>ScheduledDeliveryTime</td>\n<td>String (10)</td>\n<td>Guaranteed delivery time or delivery time window.</td>\n</tr>\n<tr>\n<td>DeliveryZone</td>\n<td>Integer (1)</td>\n<td>Delivery Zone based on Origin and Destination zip code.</td>\n</tr>\n<tr>\n<td>RouteCode</td>\n<td>String (20)</td>\n<td>GLS Operational Code (to be included on all package shipping labels).</td>\n</tr>\n<tr>\n<td>ShipmentCharges</td>\n<td>—</td>\n<td>Service charges for shipment.</td>\n</tr>\n<tr>\n<td>PaperLabel</td>\n<td>Base64Binary</td>\n<td>Applicable to LabelType PAPER_LABEL and PDF_4x5LABEL.  <br />- PAPER_LABEL: MimeType: “image/jpeg”  <br />- PDF Label: MimeType: “application/pdf”  <br />ASCII Data buffer of shipping label that needs to be converted to image and sent to paper printer.</td>\n</tr>\n<tr>\n<td>ThermalLabel</td>\n<td>String</td>\n<td>Applicable to Thermal Label Types - ZPL_SHORT_LABEL and ZPL_LONG_LABEL.  <br />Shipping label string that needs to be directed to thermal printer.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"shipment-charges\">Shipment Charges</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>TransportationCharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Service charge for shipment.</td>\n</tr>\n<tr>\n<td>CODCharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Charge applicable to COD shipments.</td>\n</tr>\n<tr>\n<td>DeclaredCharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Charge applicable to declared shipments.</td>\n</tr>\n<tr>\n<td>OtherCharge</td>\n<td>OtherCharge[]</td>\n<td></td>\n<td>Accessorial charges applicable to shipment.</td>\n</tr>\n<tr>\n<td>Code</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Accessorial Fee Code.</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>String</td>\n<td>50</td>\n<td>Accessorial Fee Description.</td>\n</tr>\n<tr>\n<td>Fee</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Accessorial Fee Amount.</td>\n</tr>\n<tr>\n<td>FuelSurcharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Fuel surcharge for shipment.</td>\n</tr>\n<tr>\n<td>TotalCharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Total charge for shipment.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"error\">Error</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ErrorCode</td>\n<td>Integer</td>\n<td></td>\n<td>Code for the Error.</td>\n</tr>\n<tr>\n<td>ErrorDescription</td>\n<td>String(255)</td>\n<td></td>\n<td>Description for the Error</td>\n</tr>\n</tbody>\n</table>\n</div><p>Please note that these are the complete list of fields in the request and response</p>\n","urlObject":{"path":["v2","Shipment"],"host":["https://ship.gls-us.com"],"query":[],"variable":[]}},"response":[{"id":"56cf9de9-8b7b-4de9-8e32-a9b5ef89834b","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"},{"key":"Accept","value":"text/plain; ver=2.0"}],"body":{"mode":"raw","raw":"{\n    \"AccountNumber\": \"1005001\",\n    \"Shipment\": {       \n        \"TrackingNumber\": \"OOROISD1\",\n        \"ShipperCompany\": \"Techfolds Company\",\n        \"ShipperContact\": \"Jerald Mc White\",\n        \"ShipperPhone\": \"9212341234\",\n        \"ShipperEmail\": \"testemail@123.com\",\n        \"PickupAddress1\": \"1000  South Ampton Line Rd\",\n        \"PickupAddress2\": null,\n        \"PickupCity\": \"TRACY\",\n        \"PickupState\": \"CA\",\n        \"PickupZip\": \"94583\",\n        \"PickupCountry\":\"US\",\n        \"PickupCountryCode\": \"US\",\n        \"LabelFromCompany\": \"test\",\n        \"labelFromContact\": \"Andrew Joe Martin\",\n        \"labelFromAddress1\": \"252 lenin priego\",\n        \"labelFromAddress2\": \"\",\n        \"labelFromCity\": \"Tracy\",\n        \"labelFromState\": \"CA\",\n        \"labelFromZip\": \"94583\",\n        \"labelFromCountry\": \"US\",\n        \"labelFromCountryCode\": \"US\",\n        \"PickupAddressType\":\"R\",\n        \"ShipToCompany\": \"SCK\",\n        \"ShipToAttention\": \"Steve Martin\",\n        \"ShipToPhone\": \"123654789\",\n        \"ShipToEmail\": \"test123@abc.com\",\n        \"DeliveryAddress1\": \"1540, Blog Street, 2nd Lane \",\n        \"DeliveryAddress2\": \"\",\n        \"DeliveryCity\": \"Berlin\",\n        \"DeliveryState\": \"CA\",\n        \"DeliveryZip\": \"65760\",\n        \"DeliveryCountry\": \"Germany\",\n        \"DeliveryCountryCode\": \"DE\",\n        \"ShipDate\":\"2025-02-18\",\n        \"ServiceCode\": \"ITS\",\n        \"DeclaredValue\": 10,\n        \"CODValue\": \"20\",\n        \"SpecialInstructions\": \"test Special  Instructions\",\n        \"Weight\": \"10\",  \n        \"WeightUnitOfMeasure\" : \"lb\",\n        \"Dimensions\":\n        {\n            \"Length\":1,\n            \"Width\":\"2\",\n            \"Height\":\"3\",\n            \"UnitOfMeasure\":\"inch\"\n        },\n        \"SignatureCode\":\"ADULT_SIG_REQD\",\n        \"ShipmentReference\": 1213,\n        \"ShipmentLabelType\": \"zpl_short_label\",\n        \"AddnShipperReference1\": \"Addn reference content1\",\n        \"AddnShipperReference2\": \"Addn reference content2\",\n        \"ParcelContent\": [\n            \"unrestricted\"\n        ], \n        \"DeliveryAddressType\":\"R\",\n        \"ItemDetails\": [\n            {\n                \"name\": \"TestItem1\",\n                \"code\": \"1\",\n                \"quantity\": \"10\",\n                \"value\": 15,\n                \"hsCode\": \"215\",\n                \"hsDescription\": \"test\",\n                \"countryCodeOfOrigin\": \"DE\"\n            },  \n            {\n                \"name\": \"TestItem2\",\n                \"code\": \"2\",\n                \"quantity\": \"10\",\n                \"value\": 12,\n                \"hsCode\": \"214\",\n                \"hsDescription\": \"test\",\n                \"countryCodeOfOrigin\": \"DE\"\n            }],\n        \"customs\": // optional\n        {\n            \"importer\": {\n                \"address\": {\n                    \"name1\": \"Hofmann Hausgeräte GmbH\", // Req if any one of the importer / exporter fields are provided\n                    \"street1\": \"Im oberen Kienle\", // Req if any one of the importer / exporter fields are provided\n                    \"postcode\": \"70839\", // Req if any one of the importer / exporter fields are provided\n                    \"city1\": \"Gerlingen\", // Req if any one of the importer / exporter fields are provided\n                    \"countryCode\": \"DE\", // Req if any one of the importer / exporter fields are provided\n                    \"name2\": \"Kundenservice\",\n                    \"street2\": \"Waldesruh\",\n                    \"houseNumber\": \"13\",\n                    \"stateOrRegion\": \"BW\"\n                },\n                \"contactPerson\": {\n                    \"name\": \"Ralf Richter\",\n                    \"emailAddress\": \"ralf.richter@mydomain.de\", //Either EmailAddress or both PhoneCountryPrefix and PhoneNumber is required.\n                    \"phoneCountryPrefix\": \"+49\",\n                    \"phoneNumber\": \"7114478890\"\n                },\n                \"isCommercial\": true, // Req if any one of the importer / exporter fields are provided\n                \"eoriNumber\": \"r09876\",\n                \"taxId\": \"\"\n            },\n            \"exporter\": {\n                \"address\": {\n                    \"name1\": \"Hofmann Hausgeräte GmbH\",\n                    \"street1\": \"Im oberen Kienle\",\n                    \"postcode\": \"70839\",\n                    \"city1\": \"Gerlingen\",\n                    \"countryCode\": \"US\",\n                    \"name2\": \"Kundenservice\",\n                    \"street2\": \"Waldesruh\",\n                    \"houseNumber\": \"13\",\n                    \"stateOrRegion\": \"BW\"\n                },\n                \"contactPerson\": {\n                    \"name\": \"Ralf Richter\",\n                    \"emailAddress\": \"ralf.richter@mydomain.de\",\n                    \"phoneCountryPrefix\": \"+49\",\n                    \"phoneNumber\": \"7114478890\"\n                },\n                \"isCommercial\": true,\n                \"eoriNumber\": \"ASWQER123\",\n                \"taxId\": \"123HGFD\",\n                \"SwissUid\": \"XZ987\",\n                \"VatRegistrationNumber\": \"AS2345\",\n                \"AuthorizationNumber\": \"65765432\",\n                \"LoadingPlaceCode\": \"Gerlingen\"\n            }\n        },\n          \n        \"CommercialInvoiceAttached\": true,\n        \"TotalCommercialInvoiceAmount\":100,\n        \"PurchaseOrderNumber\":\"test\",\n        \"PackageDescription\": \"test\",\n        \"CommercialInvoiceNumber\": 235,\n        \"ReceiveNotifications\":{\n                \"emailAddress\":[\"testcontact@sample.com\"],\n                \"MobileNumber\":[\"+1 9112341234\"]\n            },            \n       \"Notification\": [\n            {\n                \"NotificationType\": \"SHIPMENT\",\n                \"EmailAddress\":\"test123@sample.com\"\n                 \n            },\n             {\n                \"NotificationType\": \"RECEIPT\",\n                 \"EmailAddress\":\"test123@sample.com\"\n            },\n            {\n                \"NotificationType\": \"EXCEPTION\",\n                 \"EmailAddress\":\"test123@sample.com\"\n            }\n            ,\n            {\n                \"NotificationType\": \"DELIVERY\",\n                 \"EmailAddress\":\"test123@sample.com\"\n            }\n            ,\n            {\n                \"NotificationType\": \"ETA\",\n                 \"EmailAddress\":\"test123@sample.com\"\n            }\n        ]\n    }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"/v2/Shipment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; ver=2.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"AccountNumber\": 1036,\n    \"TrackingNumber\": \"999880955243\",\n    \"ServiceCode\": \"ITS\",\n    \"ScheduledShipDate\": \"05/14/2025\",\n    \"ScheduledDeliveryDate\": \"5/26/2025 - 5/28/2025 \",\n    \"ScheduledDeliveryTime\": null,\n    \"DeliveryZone\": 2,\n    \"RouteCode\": \"NWK CA927-EPG\",\n    \"ShipmentCharges\": {\n        \"TransportationCharge\": 28.00,\n        \"CODCharge\": 0.00,\n        \"DeclaredCharge\": 0.00,\n        \"FuelSurcharge\": 8.63,\n        \"OtherCharge\": [\n            {\n                \"Code\": \"ASR\",\n                \"Description\": \"Adult Signature Fee\",\n                \"Fee\": 21.31\n            }\n        ],\n        \"TotalCharge\": 57.94\n    },\n    \"CommercialInvoice\": {\n        \"PdfURL\": \"https://gls-customer-portal-dev.s3.us-west-1.amazonaws.com/CommercialInvoice\"\n    },\n    \"PaperLabel\": null,\n    \"ThermalLabel\": \"~JO\\n^XA^EG^XZ\\n^XA\\n^PMN\\n^MUD\\n^LH15,0\\n^CI28\\n^JMA\\n^FO10,946,^GB616,137,1^FS\\n^FO10,703,^GB616,244,1^FS\\n^FO24,712,^A0N,24^FR^FD^FS\\n^FO24,743,^A0N,43^FR^FDCOLLEGIO ALLA QUERCE^FS\\n^FO24,790,^A0N,31^FR^FDSteve Martin^FS\\n^FO24,824,^A0N,31^FR^FD^FS\\n^FO24,857,^A0N,30^FR^FD2000  South Ampton Line Rd \\n^XZ\\n\",\n    \"StatusCode\": 200,\n    \"StatusDescription\": \"OK\",\n    \"AuthenticationResultCode\": 0,\n    \"RequestDateTime\": \"2025-05-14T08:12:48.7667466-07:00\",\n    \"ResponseDateTime\": \"2025-05-14T08:13:00.7886175-07:00\",\n    \"ErrorCount\": 0,\n    \"ErrorDetail\": null\n}"},{"id":"33861794-c1fb-4b57-86ec-0cb748d7cb7f","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"},{"key":"Accept","value":"text/plain; ver=2.0"}],"body":{"mode":"raw","raw":"{\n    \"AccountNumber\": \"1005001\",\n    \"Shipment\": {       \n        \"TrackingNumber\": \"KMPH1024123\",\n        \"ShipperCompany\": \"Techfolds Company\",\n        \"ShipperContact\": \"Jerald Mc White\",\n        \"ShipperPhone\": \"9212341234\",\n        \"ShipperEmail\": \"testemail@123.com\",\n        \"PickupAddress1\": \"1000  South Ampton Line Rd\",\n        \"PickupAddress2\": null,\n        \"PickupCity\": \"TRACY\",\n        \"PickupState\": \"CA\",\n        \"PickupZip\": \"94583\",\n        \"PickupCountry\":\"US\",\n        \"PickupCountryCode\": \"US\",\n        \"LabelFromCompany\": \"test\",\n        \"labelFromContact\": \"Andrew Joe Martin\",\n        \"labelFromAddress1\": \"252 lenin priego\",\n        \"labelFromAddress2\": \"\",\n        \"labelFromCity\": \"Tracy\",\n        \"labelFromState\": \"CA\",\n        \"labelFromZip\": \"94583\",\n        \"labelFromCountry\": \"US\",\n        \"labelFromCountryCode\": \"US\",\n        \"PickupAddressType\":\"R\",\n        \"ShipToCompany\": \"SCK-FAT \",\n        \"ShipToAttention\": \"Steve Martin\",\n        \"ShipToPhone\": \"123654789\",\n        \"ShipToEmail\": \"test123@abc.com\",\n        \"DeliveryAddress1\": \"1540, Blog Street, 2nd Lane \",\n        \"DeliveryAddress2\": \"\",\n        \"DeliveryCity\": \"Berlin\",\n        \"DeliveryState\": \"CA\",\n        \"DeliveryZip\": \"65760\",\n        \"DeliveryCountry\": \"Germany\",\n        \"DeliveryCountryCode\": \"DE\",\n        \"ShipDate\":\"2024-07-19\",\n        \"ServiceCode\": \"ITS\",\n        \"DeclaredValue\": 100,\n        \"CODValue\": \"20\",\n        \"SpecialInstructions\": \"test Special  Instructions\",\n        \"Weight\": \"10\",  \n        \"WeightUnitOfMeasure\" : \"kg\",\n        \"Dimensions\":\n        {\n            \"Length\":1,\n            \"Width\":\"20\",\n            \"Height\":\"30\",\n            \"UnitOfMeasure\":\"cm\"\n        },\n        \"SignatureCode\":\"ADULT_SIG_REQD\",\n        \"ShipmentReference\": 1213,\n        \"ShipmentLabelType\": \"zpl_short_label\",\n        \"AddnShipperReference1\": \"Addn reference content1\",\n        \"AddnShipperReference2\": \"Addn reference content2\",\n        \"ParcelContent\": [\n            \"unrestricted\"\n        ], \n        \"DeliveryAddressType\":\"R\",\n        \"ItemDetails\": [\n            {\n                \"name\": \"TestItem1\",\n                \"code\": \"1\",\n                \"quantity\": \"10\",\n                \"value\": 10,\n                \"hsCode\": \"215\",\n                \"hsDescription\": \"test\",\n                \"countryCodeOfOrigin\": \"DE\"\n            },  {\n                \"name\": \"TestItem2\",\n                \"code\": \"2\",\n                \"quantity\": \"10\",\n                \"value\": 12,\n                \"hsCode\": \"214\",\n                \"hsDescription\": \"test\",\n                \"countryCodeOfOrigin\": \"DE\"\n            }],\n        \"ImporterTaxId\": \"1234\",      \n        \"CommercialInvoiceAttached\": true,\n        \"TotalCommercialInvoiceAmount\":100,\n        \"PurchaseOrderNumber\":\"test\",\n        \"PackageDescription\": \"test\",\n        \"CommercialInvoiceNumber\": 235,\n        \"ReceiveNotifications\":{\n                \"emailAddress\":[\"testcontact@sample.com\"],\n                \"MobileNumber\":[\"+1 9112341234\"]\n            },            \n       \"Notification\": [\n            {\n                \"NotificationType\": \"SHIPMENT\",\n                \"EmailAddress\":\"test123@sample.com\"\n                 \n            },\n             {\n                \"NotificationType\": \"RECEIPT\",\n                 \"EmailAddress\":\"test123@sample.com\"\n            },\n            {\n                \"NotificationType\": \"EXCEPTION\",\n                 \"EmailAddress\":\"test123@sample.com\"\n            }\n            ,\n            {\n                \"NotificationType\": \"DELIVERY\",\n                 \"EmailAddress\":\"test123@sample.com\"\n            }\n            ,\n            {\n                \"NotificationType\": \"ETA\",\n                 \"EmailAddress\":\"test123@sample.com\"\n            }\n        ]\n    }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/Shipment"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; ver=2.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"StatusCode\": 400,\n    \"StatusDescription\": \"Bad Request\",\n    \"AuthenticationResultCode\": 0,\n    \"RequestDateTime\": \"2024-07-19T07:24:26.8517465-07:00\",\n    \"ResponseDateTime\": \"2024-07-19T08:21:11.5885999-07:00\",\n    \"ErrorCount\": 1,\n    \"ErrorDetail\": [\n        {\n            \"ErrorCode\": \"Failure\",\n            \"ErrorDescription\": \"Error Message\"\n        }\n    ]\n}"}],"_postman_id":"1a043d9d-d1c5-4f41-98d8-3801686f56a5"},{"name":"Shipment","id":"9b8bb30a-7430-4de7-8374-c508e5d7f38b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"},{"key":"Accept","value":"text/plain; ver=2.0"},{"key":"Token","value":"xxxx","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"trackingNumber\": \"id\",\n  \"accountNumber\": -96273340\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/Shipment","description":"<h3 id=\"delete-shipment\">Delete Shipment</h3>\n<p>This method will be used to cancel a shipment that has been uploaded to GLS.</p>\n<h4 id=\"request-header\">Request Header</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Token</td>\n<td>Access Token</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n</tr>\n<tr>\n<td>Accept-Encoding</td>\n<td>gZip or deflate (Optional)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Request</strong></p>\n<ul>\n<li><p>Method: DELETE</p>\n</li>\n<li><p>URL: <code>/v2/Shipment</code></p>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AccountNumber</td>\n<td>Integer</td>\n<td>10</td>\n<td>Yes</td>\n<td>Shipper’s GLS account number.</td>\n</tr>\n<tr>\n<td>TrackingNumber</td>\n<td>String</td>\n<td>20</td>\n<td>Yes</td>\n<td>Unique tracking number for shipment.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response\">Response</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>StatusCode</td>\n<td>Integer</td>\n<td></td>\n<td>The HTTP Status code for the request.  <br />200 – Successful Request  <br />400 – Bad Request  <br />401 – Unauthorized  <br />500 – Internal Server Error</td>\n</tr>\n<tr>\n<td>StatusDescription</td>\n<td>String</td>\n<td></td>\n<td>The HTTP Status description for the request.</td>\n</tr>\n<tr>\n<td>AuthenticationResultCode</td>\n<td>Integer</td>\n<td></td>\n<td>A status code that offers additional information about authentication success or failure.  <br /><strong>Code</strong></td>\n</tr>\n<tr>\n<td>RequestDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the request sent to the server. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ResponseDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the response sent back to the Client. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ErrorCount</td>\n<td>Integer</td>\n<td></td>\n<td>Count of the errors. By default, it will be 0.</td>\n</tr>\n<tr>\n<td>ErrorDetail</td>\n<td>Error[]</td>\n<td></td>\n<td>ErrorDetail will be an array of Error Structure which will have two fields – ErrorCode (Integer) and ErrorDescription (String (255)). By default, it will be null in case of no errors.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","Shipment"],"host":["https://ship.gls-us.com"],"query":[],"variable":[]}},"response":[{"id":"1f066d51-a068-4d10-aa93-925ad480d50d","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"}],"body":{"mode":"raw","raw":"{\n  \"TrackingNumber\": \"KMPH1024123\",\n  \"AccountNumber\": 1005001\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"/v2/Shipment"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"AccountNumber\": 1005001,\r\n    \"TrackingNumber\": \"KMPH1024123\",\r\n    \"StatusCode\": 200,\r\n    \"StatusDescription\": \"OK\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2024-07-19T08:24:22.6176314-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T08:24:22.8206491-07:00\",\r\n    \"ErrorCount\": 0,\r\n    \"ErrorDetail\": null\r\n}"},{"id":"9509dce6-2cb5-4f17-8ed8-6c2bac8d73a1","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"},{"key":"Accept","value":"text/plain; ver=2.0"}],"body":{"mode":"raw","raw":"{\n  \"TrackingNumber\": \"KMPH1024123\",\n  \"AccountNumber\": 1005001\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/Shipment"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; ver=2.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"AccountNumber\": 1005001,\n    \"TrackingNumber\": \"KMPH1024123\",\n    \"StatusCode\": 400,\n    \"StatusDescription\": \"BadRequest\",\n    \"AuthenticationResultCode\": 0,\n    \"RequestDateTime\": \"2024-07-19T08:24:39.7363952-07:00\",\n    \"ResponseDateTime\": \"2024-07-19T08:24:39.7404024-07:00\",\n    \"ErrorCount\": 1,\n    \"ErrorDetail\": [\n        {\n            \"ErrorCode\": \"Failure\",\n            \"ErrorDescription\": \"ERROR MESSAGE\"\n        }\n    ]\n}"},{"id":"07b4d4be-4361-4a93-89f7-94129d30459a","name":"Server Error","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"}],"body":{"mode":"raw","raw":"{\n  \"TrackingNumber\": \"KMPH1024123\",\n  \"AccountNumber\": 1005001\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/Shipment"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"AccountNumber\": 1005001,\r\n    \"TrackingNumber\": \"KMPH1024123\",\r\n    \"StatusCode\": 500,\r\n    \"StatusDescription\": \"Internal Server Error\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2024-07-19T08:24:39.7363952-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T08:24:39.7404024-07:00\",\r\n    \"ErrorCount\": 1,\r\n    \"ErrorDetail\": [\r\n        {\r\n            \"ErrorCode\": \"Failure\",\r\n            \"ErrorDescription\": \"Error Message\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"9b8bb30a-7430-4de7-8374-c508e5d7f38b"}],"id":"a5b8706a-057d-431f-9ae3-c00a5a81c8f7","description":"<p>This method will be used to upload information about an outbound package to GLS. The uploaded shipment information does not go live in the GLS operations system until the package is physically received/scanned in the GLS scan facility. If the package is not scanned, the data will be dropped after 90 days from upload date without delivery or billing action. This is a transactional method and does not accept batch uploads.</p>\n<blockquote>\n<p>Note: We've added LabelFrom fields to the Shipment object. Instead of being limited to specifying the actual pickup location on the label, you can use the LabelFrom fields to designate an alternative address, which will only appear on the GLS label. This feature provides flexibility for scenarios where our shippers may prefer not to display the actual ship-from address on the label. If no data is passed in the LabelFrom fields address info from the Pickup/ShipFrom fields will be printed on the label.</p>\n</blockquote>\n","_postman_id":"a5b8706a-057d-431f-9ae3-c00a5a81c8f7"},{"name":"Pickup","item":[{"name":"Locations","item":[{"name":"Locations","id":"6a522186-ebaf-41fe-9ef2-ac1d55d8621d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"text/plain; ver=2.0"},{"key":"Token","value":"xxxx","type":"text"}],"url":"https://ship.gls-us.com/v2/Pickup/Locations?AccountNumber=36534637","description":"<h3 id=\"retrieve-pickup-locations\">Retrieve Pickup Locations</h3>\n<p>This method will return pickup locations and related pickup information for each scheduled and on-call pickup location registered in GLS system for a Parcel account.</p>\n<h4 id=\"request-header\">Request Header</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Token</td>\n<td>Access Token</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n</tr>\n<tr>\n<td>Accept-Encoding</td>\n<td>gzip, deflate</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note: Oncall Pickup Locations expects the input parameters from the URL.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>Endpoint: <code>/v2/Pickup/Locations</code></p>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AccountNumber</td>\n<td>Integer</td>\n<td>10</td>\n<td>Yes</td>\n<td>GLS US Account Number</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response\">Response</h4>\n<p>The response for this request will be a JSON object representing the pickup locations.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>StatusCode</td>\n<td>Integer</td>\n<td></td>\n<td>The HTTP Status code for the request.  <br />200 – Successful Request  <br />400 – Bad Request  <br />401 – Unauthorized  <br />500 – Internal Server Error</td>\n</tr>\n<tr>\n<td>StatusDescription</td>\n<td>String</td>\n<td></td>\n<td>The HTTP Status description for the request.</td>\n</tr>\n<tr>\n<td>AuthenticationResultCode</td>\n<td>Integer</td>\n<td></td>\n<td>A status code that offers additional information about authentication success or failure.  <br />0 ValidToken  <br />1 InvalidToken  <br />2 ExpiredToken  <br />3 NoToken</td>\n</tr>\n<tr>\n<td>RequestDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the request sent to the server. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ResponseDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the response sent back to the Client. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ErrorCount</td>\n<td>Integer</td>\n<td></td>\n<td>Count of the errors. By default, it will be 0.</td>\n</tr>\n<tr>\n<td>ErrorDetail</td>\n<td>Error[]</td>\n<td></td>\n<td>ErrorDetail will be an array of Error Structure which will have two fields – ErrorId (Integer) and ErrorDescription (String255). By default, it will be null in case of no errors.</td>\n</tr>\n<tr>\n<td>PickupLocations</td>\n<td>PickupLocations[]</td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"pickup-locations\">Pickup Locations</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>PickupCompanyName</td>\n<td>String</td>\n<td>50</td>\n<td>Pickup company name.</td>\n</tr>\n<tr>\n<td>PickupAddress1</td>\n<td>String</td>\n<td>50</td>\n<td>Street address of pickup location.</td>\n</tr>\n<tr>\n<td>PickupAddress2</td>\n<td>String</td>\n<td>50</td>\n<td>Extra address info for pickup location.</td>\n</tr>\n<tr>\n<td>PickupCity</td>\n<td>String</td>\n<td>50</td>\n<td>Pickup City name.</td>\n</tr>\n<tr>\n<td>PickupState</td>\n<td>String</td>\n<td>2</td>\n<td>State abbreviation of pickup location. Valid options are: AZ, CA, NV, NM, OR, WA, and ID</td>\n</tr>\n<tr>\n<td>PickupZip</td>\n<td>String</td>\n<td>10</td>\n<td>Zip code of pickup location.</td>\n</tr>\n<tr>\n<td>PickupAddressType</td>\n<td>String</td>\n<td>1</td>\n<td>Returns ‘B’ OR ‘R’.  <br />B → Commercial/Business location  <br />R → Residential location type.</td>\n</tr>\n<tr>\n<td>EarliestPickupTime</td>\n<td>DateTime</td>\n<td></td>\n<td>Earliest Pickup Time when the Pickup can happen for this Pickup Location.</td>\n</tr>\n<tr>\n<td>LatestPickupTime</td>\n<td>DateTime</td>\n<td></td>\n<td>Latest Pickup Time when the Pickup can happen for this Pickup Location.</td>\n</tr>\n<tr>\n<td>LatestCallInByTime</td>\n<td>DateTime</td>\n<td></td>\n<td>If the same day Pickup is scheduled, this is the latest time by which Pickup can be requested.</td>\n</tr>\n<tr>\n<td>PickupWindow</td>\n<td>Integer</td>\n<td>2</td>\n<td>For same day on-call pickups; minimum number of lead time hours for Earliest Pickup Availability from the time the On-Call request is submitted.</td>\n</tr>\n<tr>\n<td>AdditionalTransitDay</td>\n<td>Boolean</td>\n<td></td>\n<td>Default will be false.  <br />True if the packages picked up from this zip code may require one additional delivery day.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","Pickup","Locations"],"host":["https://ship.gls-us.com"],"query":[{"key":"AccountNumber","value":"36534637"}],"variable":[]}},"response":[{"id":"62068f08-0639-4057-b16b-5438ab4f5696","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"/v2/Pickup/Locations?AccountNumber=36534637","path":["v2","Pickup","Locations"],"query":[{"key":"AccountNumber","value":"36534637"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"PickupLocations\": [\r\n        {\r\n            \"PickupCompanyName\": \"GLS/GSO\",\r\n            \"PickupAddress1\": \"4000 EXCECUTIVE Address.\",\r\n            \"PickupAddress2\": \"STE 123\",\r\n            \"PickupCity\": \"CALIFORNIA\",\r\n            \"PickupState\": \"CA\",\r\n            \"PickupZip\": \"94583\",\r\n            \"PickupAddressType\": \"B\",\r\n            \"EarliestPickupTime\": \"08:00 AM\",\r\n            \"LatestPickupTime\": \"07:00 PM\",\r\n            \"LatestCallInByTime\": \"01:00 PM\",\r\n            \"PickupWindow\": 4,\r\n            \"AdditionalTransitDay\": false\r\n        },\r\n        {\r\n            \"PickupCompanyName\": \"TEST PU LOCATION\",\r\n            \"PickupAddress1\": \"123 N. AMERICAN ST\",\r\n            \"PickupAddress2\": \"\",\r\n            \"PickupCity\": \"VISALIA\",\r\n            \"PickupState\": \"CA\",\r\n            \"PickupZip\": \"93210\",\r\n            \"PickupAddressType\": \"B\",\r\n            \"EarliestPickupTime\": \"08:00 AM\",\r\n            \"LatestPickupTime\": \"07:00 PM\",\r\n            \"LatestCallInByTime\": \"01:00 PM\",\r\n            \"PickupWindow\": 4,\r\n            \"AdditionalTransitDay\": false\r\n        }\r\n    ],\r\n    \"StatusCode\": 200,\r\n    \"StatusDescription\": \"OK\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2024-07-19T08:34:30.4416735-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T08:34:30.4866747-07:00\",\r\n    \"ErrorCount\": 0,\r\n    \"ErrorDetail\": null\r\n}"},{"id":"938cc74b-bcff-47c6-8820-9315f3efaf84","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"text/plain; ver=2.0"}],"url":{"raw":"https://ship.gls-us.com/v2/Pickup/Locations?AccountNumber=36534637","host":["https://ship.gls-us.com"],"path":["v2","Pickup","Locations"],"query":[{"key":"AccountNumber","value":"36534637"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; ver=2.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"StatusCode\": 400,\n    \"StatusDescription\": \"Bad Request\",\n    \"AuthenticationResultCode\": 3,\n    \"RequestDateTime\": \"2024-07-19T08:24:17.7885998-07:00\",\n    \"ResponseDateTime\": \"2024-07-19T08:36:54.5659776-07:00\",\n    \"ErrorCount\": 1,\n    \"ErrorDetail\": [\n        {\n            \"ErrorCode\": \"Failure\",\n            \"ErrorDescription\": \"Error Message\"\n        }\n    ]\n}\n\n\n"},{"id":"67f82887-9553-4c4f-a74b-a2f16af7a1b1","name":"Server Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://ship.gls-us.com/v2/Pickup/Locations?AccountNumber=36534637","host":["https://ship.gls-us.com"],"path":["v2","Pickup","Locations"],"query":[{"key":"AccountNumber","value":"36534637"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"\r\n{\r\n    \"StatusCode\": 500,\r\n    \"StatusDescription\": \"Internal Server Error\",\r\n    \"AuthenticationResultCode\": 3,\r\n    \"RequestDateTime\": \"2024-07-19T08:24:17.7885998-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T08:36:54.5659776-07:00\",\r\n    \"ErrorCount\": 1,\r\n    \"ErrorDetail\": [\r\n        {\r\n            \"ErrorCode\": \"Failure\",\r\n            \"ErrorDescription\": \"Error Message\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"6a522186-ebaf-41fe-9ef2-ac1d55d8621d"}],"id":"1f8cc7a2-8b81-4b7e-b42c-fefbef0dca3c","_postman_id":"1f8cc7a2-8b81-4b7e-b42c-fefbef0dca3c","description":""},{"name":"PickupWindow","item":[{"name":"Pickup Window","id":"cfbc0234-644c-44b0-8ffa-180473dde464","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"text/plain; ver=2.0"}],"url":"https://ship.gls-us.com/v2/Pickup/PickupWindow?ZIP=94583&AccountNumber=36534637","description":"<p><strong>Description</strong><br />This method will return the pickup window details of a specific ZIP code/All ZIP codes.<br />• Provide a specific ZIP in the Request parameter “ZIP” to get the pickup window details of that specific ZIP.<br />• Provide “ALL” in the Request parameter “ZIP”, to get pickup window for all ZIP’s in GLS service footprint.</p>\n<h4 id=\"request-header\">Request Header</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Token</td>\n<td>Access Token</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n</tr>\n<tr>\n<td>Accept-Encoding</td>\n<td>gzip, deflate</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note: Oncall Pickup Window expects the input parameters from the URL.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>Endpoint: <code>/v2/Pickup/PickupWindow</code></p>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AccountNumber</td>\n<td>Integer</td>\n<td>10</td>\n<td>Yes</td>\n<td>GLS US Account Number</td>\n</tr>\n<tr>\n<td>ZIP</td>\n<td>String</td>\n<td>10</td>\n<td>Yes</td>\n<td>Pickup ZIP  <br />Pickup ZIP  <br />“ALL” – returns pickup window details  <br />for all GLS Service Zipcodes</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response\">Response</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>PickupZIPWindow</td>\n<td>PickupZIPWindow[]</td>\n<td></td>\n<td>Array of PickupZIPWindow structures.</td>\n</tr>\n<tr>\n<td>StatusCode</td>\n<td>Integer</td>\n<td></td>\n<td>The HTTP Status code for the request. 200 – Successful Request  <br />400 - Bad Request  <br />401 – Unauthorized  <br />500 – Internal Server Error</td>\n</tr>\n<tr>\n<td>StatusDescription</td>\n<td>String</td>\n<td></td>\n<td>The HTTP Status description for the request.</td>\n</tr>\n<tr>\n<td>AuthenticationResultCode</td>\n<td>Integer</td>\n<td></td>\n<td>A status code that offers additional information about authentication success or failure.  <br />One of the following values:  <br />Code and Description  <br />0 ValidToken  <br />1 InvalidToken  <br />2 ExpiredToken  <br />3 NoToken</td>\n</tr>\n<tr>\n<td>RequestDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the request sent to the server. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ResponseDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the response sent back to the Client. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ErrorCount</td>\n<td>Integer</td>\n<td></td>\n<td>Count of the errors. By default, it will be 0.</td>\n</tr>\n<tr>\n<td>ErrorDetail</td>\n<td>Error[]</td>\n<td></td>\n<td>ErrorDetail will be an array of Error Structure which will have two fields –  <br />ErrorId (Integer) and ErrorDescription (String255). By default, it will be null in case of no errors.</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"pickup-zip-window\">Pickup Zip Window</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>City</td>\n<td>String</td>\n<td>50</td>\n<td>Pickup City name.</td>\n</tr>\n<tr>\n<td>State</td>\n<td>String</td>\n<td>2</td>\n<td>State abbreviation of pickup location. Valid options are: AZ, CA, NV, NM, OR, WA, and ID</td>\n</tr>\n<tr>\n<td>Zip</td>\n<td>String</td>\n<td>10</td>\n<td>ZIP code of the location.</td>\n</tr>\n<tr>\n<td>EarliestPickupTime</td>\n<td>Time</td>\n<td></td>\n<td>Earliest Pickup Time when the Pickup can happen for this Pickup Location.</td>\n</tr>\n<tr>\n<td>LatestPickupTime</td>\n<td>Time</td>\n<td></td>\n<td>Latest Pickup Time when the Pickup can happen for this Pickup Location.</td>\n</tr>\n<tr>\n<td>LatestCallInByTime</td>\n<td>Time</td>\n<td></td>\n<td>If the same day Pickup is scheduled, this is the latest time by which Pickup can be requested.</td>\n</tr>\n<tr>\n<td>PickupWindow</td>\n<td>Integer</td>\n<td>2</td>\n<td>For same day on-call pickups; minimum number of lead time hours for Earliest Pickup Availability from the time the On-Call request is submitted.</td>\n</tr>\n<tr>\n<td>AdditionalTransitDay</td>\n<td>Boolean</td>\n<td></td>\n<td>Default will be false. True if the packages picked up from this zip code may require one additional delivery day.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","Pickup","PickupWindow"],"host":["https://ship.gls-us.com"],"query":[{"key":"ZIP","value":"94583"},{"key":"AccountNumber","value":"36534637"}],"variable":[]}},"response":[{"id":"04fe4109-df6d-4585-90f4-de4bec741a6b","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"/v2/Pickup/PickupWindow?ZIP=94583&AccountNumber=36534637","path":["v2","Pickup","PickupWindow"],"query":[{"key":"ZIP","value":"94583"},{"key":"AccountNumber","value":"36534637"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"PickupZIPWindow\": [\r\n        {\r\n            \"City\": \"San Ramon\",\r\n            \"State\": \"CA\",\r\n            \"ZIP\": \"94583\",\r\n            \"EarliestPickupTime\": \"08:00 AM\",\r\n            \"LatestPickupTime\": \"07:00 PM\",\r\n            \"LatestCallInByTime\": \"01:00 PM\",\r\n            \"PickupWindow\": 4,\r\n            \"AdditionalTransitDay\": false\r\n        }\r\n    ],\r\n    \"StatusCode\": 200,\r\n    \"StatusDescription\": \"OK\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2024-07-19T08:39:19.752543-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T08:39:19.8565485-07:00\",\r\n    \"ErrorCount\": 0,\r\n    \"ErrorDetail\": null\r\n}"},{"id":"84d11450-5c1c-46f7-84d4-981e42dc875a","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"text/plain; ver=2.0"}],"url":{"raw":"https://ship.gls-us.com/v2/Pickup/PickupWindow?ZIP=94583&AccountNumber=36534637","host":["https://ship.gls-us.com"],"path":["v2","Pickup","PickupWindow"],"query":[{"key":"ZIP","value":"94583"},{"key":"AccountNumber","value":"36534637"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; ver=2.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"StatusCode\": 400,\n    \"StatusDescription\": \"BadRequest\",\n    \"AuthenticationResultCode\": 0,\n    \"RequestDateTime\": \"2024-07-19T08:39:42.4995567-07:00\",\n    \"ResponseDateTime\": \"2024-07-19T08:39:42.5535576-07:00\",\n    \"ErrorCount\": 1,\n    \"ErrorDetail\": [\n        {\n            \"ErrorCode\": \"Failure\",\n            \"ErrorDescription\": \"Error Message.\"\n        }\n    ]\n}"},{"id":"807b895e-be41-4668-9a61-e395f6193edf","name":"Server Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://ship.gls-us.com/v2/Pickup/PickupWindow?ZIP=94583&AccountNumber=36534637","host":["https://ship.gls-us.com"],"path":["v2","Pickup","PickupWindow"],"query":[{"key":"ZIP","value":"94583"},{"key":"AccountNumber","value":"36534637"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"StatusCode\": 500,\r\n    \"StatusDescription\": \"Internal Server Error\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2024-07-19T08:39:42.4995567-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T08:39:42.5535576-07:00\",\r\n    \"ErrorCount\": 1,\r\n    \"ErrorDetail\": [\r\n        {\r\n            \"ErrorCode\": \"Failure\",\r\n            \"ErrorDescription\": \"Error Message.\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"cfbc0234-644c-44b0-8ffa-180473dde464"}],"id":"05c7f441-3c46-4045-9757-2e2be5532b9b","_postman_id":"05c7f441-3c46-4045-9757-2e2be5532b9b","description":""},{"name":"Pickup","id":"d9aa79fc-9f0a-4093-9775-030f4beb9ee8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"},{"key":"Accept","value":"text/plain; ver=2.0"},{"key":"Token","value":"xxxx","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"accountNumber\": 18825338,\r\n  \"pickupDate\": \"2024-07-19\",\r\n  \"earliestPickupTime\": \"12:40 pm\",\r\n  \"latestPickupTime\": \"06:00 pm\",\r\n  \"numberofPackages\": 2,\r\n  \"totalWeight\": 1,\r\n  \"onCallPickupLocation\": {\r\n    \"pickupCompany\": \"test pickup Company\",\r\n    \"pickupAddress1\": \"101, White Lane\",\r\n    \"pickupAddress2\": \"test\",\r\n    \"pickupCity\": \"ANTIOCH\",\r\n    \"pickupState\": \"CA\",\r\n    \"pickupZip\": \"94583\",\r\n    \"pickupAddressType\": \"B\",\r\n    \"latitude\": 85.0,\r\n    \"longitude\": 120.5,\r\n    \"pickupContact\": \"test SAME DAY PICKUP\",\r\n    \"pickupContactEmail\": \"contact@test.com\",\r\n    \"pickupContactPhone\": \"925-925-9255\",\r\n    \"pickupRequestNotification\": true,\r\n    \"pickupInstruction\": \"test  SAME DAY PICKUP\"\r\n  }\r\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/Pickup","description":"<p><strong>HTTP Method</strong></p>\n<ul>\n<li><p>Method: Post</p>\n</li>\n<li><p>Endpoint: <code>/v2/Pickup</code></p>\n</li>\n</ul>\n<p><strong>Description</strong><br />This method will allow user to request an On-Call pickup for a GLS Parcel Account. It will return a Pickup Confirmation number if Pickup is successfully scheduled. This method will also send a Pickup Request notification email to the user if requested.</p>\n<h5 id=\"request-header\">Request Header</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Token</td>\n<td>Access Token</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n</tr>\n<tr>\n<td>Accept-Encoding</td>\n<td>gzip, deflate</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"request\">Request</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AccountNumber</td>\n<td>Integer</td>\n<td>10</td>\n<td>Yes</td>\n<td>GLS Account number</td>\n</tr>\n<tr>\n<td>PickupDate</td>\n<td>Date</td>\n<td></td>\n<td>Yes</td>\n<td>Requested Pickup Date</td>\n</tr>\n<tr>\n<td>EarliestPickupTime</td>\n<td>Time</td>\n<td></td>\n<td>Yes</td>\n<td>Earliest time when the package(s) are ready for Pickup.</td>\n</tr>\n<tr>\n<td>LatestPickupTime</td>\n<td>Time</td>\n<td></td>\n<td>Yes</td>\n<td>Latest time when the package(s) are ready for Pickup.</td>\n</tr>\n<tr>\n<td>NumberofPackages</td>\n<td>Integer</td>\n<td></td>\n<td>Yes</td>\n<td>Number of packages to be picked up. Max count of 100 packages.</td>\n</tr>\n<tr>\n<td>TotalWeight</td>\n<td>Integer</td>\n<td>9999</td>\n<td>No</td>\n<td>Total Weight of Packages to be picked up</td>\n</tr>\n<tr>\n<td>OnCallPickupLocation</td>\n<td></td>\n<td></td>\n<td>Yes</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"oncallpickuplocation\">OnCallPickupLocation</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>PickupCompany</td>\n<td>String</td>\n<td>50</td>\n<td>Yes</td>\n<td>Pickup Company Name</td>\n</tr>\n<tr>\n<td>PickupAddress1</td>\n<td>String</td>\n<td>50</td>\n<td>Yes</td>\n<td>Street address of pickup location.</td>\n</tr>\n<tr>\n<td>PickupAddress2</td>\n<td>String</td>\n<td>50</td>\n<td>No</td>\n<td>Extra address info for pickup location.</td>\n</tr>\n<tr>\n<td>PickupCity</td>\n<td>String</td>\n<td>50</td>\n<td>Yes</td>\n<td>Pickup City name.</td>\n</tr>\n<tr>\n<td>PickupState</td>\n<td>String</td>\n<td>2</td>\n<td>Yes</td>\n<td>State abbreviation of pickup location. Valid options are: AZ, CA, NV, NM, OR, WA, and ID</td>\n</tr>\n<tr>\n<td>PickupZip</td>\n<td>String</td>\n<td>10</td>\n<td>Yes</td>\n<td>Only first 5 digit will be taken as zip code of pickup location</td>\n</tr>\n<tr>\n<td>PickupAddressType</td>\n<td>String</td>\n<td>1</td>\n<td>Yes</td>\n<td>Provide ‘B’ for Commercial/Business location type OR ‘R’ for Residential location type.</td>\n</tr>\n<tr>\n<td>Latitude</td>\n<td>Decimal</td>\n<td>12,2</td>\n<td>No</td>\n<td>Geo Latitude of the Pickup Location</td>\n</tr>\n<tr>\n<td>Longitude</td>\n<td>Decimal</td>\n<td>12,2</td>\n<td>No</td>\n<td>Geo Longitude of the Pickup Location</td>\n</tr>\n<tr>\n<td>PickupContact</td>\n<td>String</td>\n<td>50</td>\n<td>Yes</td>\n<td>Pickup Contact Name</td>\n</tr>\n<tr>\n<td>PickupContactEmail</td>\n<td>String</td>\n<td>50</td>\n<td>No</td>\n<td>Pickup Contact Email</td>\n</tr>\n<tr>\n<td>PickupContactPhone</td>\n<td>String</td>\n<td>20</td>\n<td>Yes</td>\n<td>Pickup Contact Phone</td>\n</tr>\n<tr>\n<td>PickupRequestNotification</td>\n<td>Boolean</td>\n<td></td>\n<td>No</td>\n<td>True if the Pickup Notification is required</td>\n</tr>\n<tr>\n<td>PickupInstruction</td>\n<td>String</td>\n<td>255</td>\n<td>No</td>\n<td>Pickup Instruction</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"response\">Response</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>StatusCode</td>\n<td>Integer</td>\n<td></td>\n<td>The HTTP Status code for the request.  <br />200 – Successful Request  <br />400 – Bad Request  <br />401 – Unauthorized  <br />500 – Internal Server Error</td>\n</tr>\n<tr>\n<td>StatusDescription</td>\n<td>String</td>\n<td></td>\n<td>The HTTP Status description for the request.</td>\n</tr>\n<tr>\n<td>AuthenticationResultCode</td>\n<td>Integer</td>\n<td></td>\n<td>A status code that offers additional information about authentication success or failure.  <br />Code Description  <br />0 ValidToken  <br />1 InvalidToken  <br />2 ExpiredToken  <br />3 NoToken</td>\n</tr>\n<tr>\n<td>RequestDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the request sent to the server. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ResponseDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the response sent back to the Client. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ErrorCount</td>\n<td>Integer</td>\n<td></td>\n<td>Count of the errors. By default, it will be 0.</td>\n</tr>\n<tr>\n<td>ErrorDetail</td>\n<td>Error[]</td>\n<td></td>\n<td>ErrorDetail will be an array of Error Structure which will have two fields – ErrorId (Integer) and ErrorDescription (String255). By default, it will be null in case of no errors.</td>\n</tr>\n<tr>\n<td>ConfirmationNumber</td>\n<td>Integer</td>\n<td></td>\n<td>Pickup Confirmation Number after Pickup is successfully scheduled.</td>\n</tr>\n<tr>\n<td>AdditionalTransitDay</td>\n<td>Boolean</td>\n<td></td>\n<td>This will be returned as true if additional transit day required. Otherwise false.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","Pickup"],"host":["https://ship.gls-us.com"],"query":[],"variable":[]}},"response":[{"id":"2793855f-81d9-4c02-824f-740c9e1f7d56","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"}],"body":{"mode":"raw","raw":"{\n  \"accountNumber\": 18825338,\n  \"pickupDate\": \"2024-07-19\",\n  \"earliestPickupTime\": \"12:40 pm\",\n  \"latestPickupTime\": \"06:00 pm\",\n  \"numberofPackages\": 2,\n  \"totalWeight\": 1,\n  \"onCallPickupLocation\": {\n    \"pickupCompany\": \"test pickup Company\",\n    \"pickupAddress1\": \"101, White Lane\",\n    \"pickupAddress2\": \"test\",\n    \"pickupCity\": \"ANTIOCH\",\n    \"pickupState\": \"CA\",\n    \"pickupZip\": \"94583\",\n    \"pickupAddressType\": \"B\",\n    \"latitude\": 85.0,\n    \"longitude\": 120.5,\n    \"pickupContact\": \"test SAME DAY PICKUP\",\n    \"pickupContactEmail\": \"contact@test.com\",\n    \"pickupContactPhone\": \"925-925-9255\",\n    \"pickupRequestNotification\": true,\n    \"pickupInstruction\": \"test  SAME DAY PICKUP\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"/v2/Pickup"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"ConfirmationNumber\": 4204661,\r\n    \"AdditionalTransitday\": false,\r\n    \"StatusCode\": 200,\r\n    \"StatusDescription\": \"OK\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2024-07-19T09:03:51.1660165-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T09:03:52.5200609-07:00\",\r\n    \"ErrorCount\": 0,\r\n    \"ErrorDetail\": null\r\n}"},{"id":"ad43a30c-9985-461c-a0a5-2d860d036b91","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"},{"key":"Accept","value":"text/plain; ver=2.0"}],"body":{"mode":"raw","raw":"{\n  \"accountNumber\": 18825338,\n  \"pickupDate\": \"2024-07-19\",\n  \"earliestPickupTime\": \"12:40 pm\",\n  \"latestPickupTime\": \"06:00 pm\",\n  \"numberofPackages\": 2,\n  \"totalWeight\": 1,\n  \"onCallPickupLocation\": {\n    \"pickupCompany\": \"test pickup Company\",\n    \"pickupAddress1\": \"101, White Lane\",\n    \"pickupAddress2\": \"test\",\n    \"pickupCity\": \"ANTIOCH\",\n    \"pickupState\": \"CA\",\n    \"pickupZip\": \"94583\",\n    \"pickupAddressType\": \"B\",\n    \"latitude\": 85.0,\n    \"longitude\": 120.5,\n    \"pickupContact\": \"test SAME DAY PICKUP\",\n    \"pickupContactEmail\": \"contact@test.com\",\n    \"pickupContactPhone\": \"925-925-9255\",\n    \"pickupRequestNotification\": true,\n    \"pickupInstruction\": \"test  SAME DAY PICKUP\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/Pickup"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; ver=2.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"StatusCode\": 400,\n    \"StatusDescription\": \"BadRequest\",\n    \"AuthenticationResultCode\": 0,\n    \"RequestDateTime\": \"2024-07-19T09:04:23.6754508-07:00\",\n    \"ResponseDateTime\": \"2024-07-19T09:04:23.7114475-07:00\",\n    \"ErrorCount\": 1,\n    \"ErrorDetail\": [\n        {\n            \"ErrorCode\": \"Failure\",\n            \"ErrorDescription\": \"Error Message.\"\n        }\n    ]\n}"},{"id":"8a28b4be-ddd3-47b4-b27a-7cafd43ec062","name":"Server Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"}],"body":{"mode":"raw","raw":"{\n  \"accountNumber\": 18825338,\n  \"pickupDate\": \"2024-07-19\",\n  \"earliestPickupTime\": \"12:40 pm\",\n  \"latestPickupTime\": \"06:00 pm\",\n  \"numberofPackages\": 2,\n  \"totalWeight\": 1,\n  \"onCallPickupLocation\": {\n    \"pickupCompany\": \"test pickup Company\",\n    \"pickupAddress1\": \"101, White Lane\",\n    \"pickupAddress2\": \"test\",\n    \"pickupCity\": \"ANTIOCH\",\n    \"pickupState\": \"CA\",\n    \"pickupZip\": \"94583\",\n    \"pickupAddressType\": \"B\",\n    \"latitude\": 85.0,\n    \"longitude\": 120.5,\n    \"pickupContact\": \"test SAME DAY PICKUP\",\n    \"pickupContactEmail\": \"contact@test.com\",\n    \"pickupContactPhone\": \"925-925-9255\",\n    \"pickupRequestNotification\": true,\n    \"pickupInstruction\": \"test  SAME DAY PICKUP\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/Pickup"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"StatusCode\": 500,\r\n    \"StatusDescription\": \"Internal Server Error\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2024-07-19T09:04:23.6754508-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T09:04:23.7114475-07:00\",\r\n    \"ErrorCount\": 1,\r\n    \"ErrorDetail\": [\r\n        {\r\n            \"ErrorCode\": \"Failure\",\r\n            \"ErrorDescription\": \"Error Message.\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"d9aa79fc-9f0a-4093-9775-030f4beb9ee8"},{"name":"Pickup","id":"87fd5cf3-060c-4b76-91e1-d1f6403a19c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"},{"key":"Accept","value":"text/plain; ver=2.0"}],"body":{"mode":"raw","raw":"{\n  \"accountNumber\": 87421251,\n  \"confirmationNumber\": -57883033,\n  \"cancelNotificationEmail\": \"ut Excepteur sint\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/Pickup?Token=xxxx","description":"<p><strong>HTTP Method</strong><br />Method: DELETE</p>\n<p>Endpoint: /v2/Pickup</p>\n<h4 id=\"description\">Description</h4>\n<p>This method will cancel any future On-Call pickups by confirmation number. This method will also send a Pickup cancellation notification if email address is provided. On-Call pickups submitted for same day pickup cannot be cancelled via API as they are auto-dispatched to field operations for pickup scheduling.</p>\n<h4 id=\"request-header\">Request Header</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Token</td>\n<td>Access Token</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n</tr>\n<tr>\n<td>Accept-Encoding</td>\n<td>gzip, deflate</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-in-query-param\">Request in Query Param</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AccountNumber</td>\n<td>Integer</td>\n<td>10</td>\n<td>Yes</td>\n<td>GLS US Account Number</td>\n</tr>\n<tr>\n<td>ConfirmationNumber</td>\n<td>Integer</td>\n<td>10</td>\n<td>Yes</td>\n<td>GLS US On-Call Pickup Confirmation Number</td>\n</tr>\n<tr>\n<td>CancelNotificationEmail</td>\n<td>String</td>\n<td>255</td>\n<td>No</td>\n<td>If the email is provided in this field, a cancel pickup notification email will be sent to the email address provided.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"respose\">Respose</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>StatusCode</td>\n<td>Integer</td>\n<td></td>\n<td>The HTTP Status code for the request.  <br />200 – Successful Request  <br />400 – Bad Request  <br />401 – Unauthorized  <br />500 – Internal Server Error</td>\n</tr>\n<tr>\n<td>StatusDescription</td>\n<td>String</td>\n<td></td>\n<td>The HTTP Status description for the request.</td>\n</tr>\n<tr>\n<td>AuthenticationResultCode</td>\n<td>Integer</td>\n<td></td>\n<td>A status code that offers additional information about authentication success or failure.  <br />Code Description  <br />0 ValidToken  <br />1 InvalidToken  <br />2 ExpiredToken  <br />3 NoToken</td>\n</tr>\n<tr>\n<td>RequestDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the request sent to the server. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ResponseDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the response sent back to the Client. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ErrorCount</td>\n<td>Integer</td>\n<td></td>\n<td>Count of the errors. By default, it will be 0.</td>\n</tr>\n<tr>\n<td>ErrorDetail</td>\n<td>Error[]</td>\n<td></td>\n<td>ErrorDetail will be an array of Error Structure which will have two fields – ErrorId (Integer) and ErrorDescription (String255). By default, it will be null in case of no errors.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","Pickup"],"host":["https://ship.gls-us.com"],"query":[{"key":"Token","value":"xxxx"}],"variable":[]}},"response":[{"id":"394f0380-bef5-452a-81ef-afcb3f1e148b","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"}],"body":{"mode":"raw","raw":"{\n  \"accountNumber\": 87421251,\n  \"confirmationNumber\": -57883033,\n  \"cancelNotificationEmail\": \"email1@test.com\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"/v2/Pickup"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"StatusCode\": 200,\r\n    \"StatusDescription\": \"OK\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2024-07-19T10:46:11.6331707-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T10:46:11.7551739-07:00\",\r\n    \"ErrorCount\": 0,\r\n    \"ErrorDetail\": null\r\n}"},{"id":"480c3590-e72b-4c6e-b56a-ee9b24df8e14","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"},{"key":"Accept","value":"text/plain; ver=2.0"}],"body":{"mode":"raw","raw":"{\n  \"accountNumber\": 87421251,\n  \"confirmationNumber\": -57883033,\n  \"cancelNotificationEmail\": \"email1@test.com\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/Pickup"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; ver=2.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"StatusCode\": 400,\n    \"StatusDescription\": \"BadRequest\",\n    \"AuthenticationResultCode\": 0,\n    \"RequestDateTime\": \"2025-05-14T14:18:00.8618661-07:00\",\n    \"ResponseDateTime\": \"2025-05-14T14:18:00.8968739-07:00\",\n    \"ErrorCount\": 1,\n    \"ErrorDetail\": [\n        {\n            \"ErrorCode\": \"Failure\",\n            \"ErrorDescription\": \"No Pickup Data found.\"\n        }\n    ]\n}"},{"id":"1491a505-8bab-4390-9318-239c21bd4f37","name":"Server Error","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"}],"body":{"mode":"raw","raw":"{\n  \"accountNumber\": 87421251,\n  \"confirmationNumber\": -57883033,\n  \"cancelNotificationEmail\": \"email1@test.com\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/Pickup"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"\r\n{\r\n    \"StatusCode\": 500,\r\n    \"StatusDescription\": \"Internal Server Error\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2024-07-19T10:46:31.163039-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T10:46:31.1980911-07:00\",\r\n    \"ErrorCount\": 1,\r\n    \"ErrorDetail\": [\r\n        {\r\n            \"ErrorCode\": \"Failure\",\r\n            \"ErrorDescription\": \"Error Message.\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"87fd5cf3-060c-4b76-91e1-d1f6403a19c9"}],"id":"48bf984a-bafd-40a6-8b51-2eb619100a83","_postman_id":"48bf984a-bafd-40a6-8b51-2eb619100a83","description":""},{"name":"RatesAndTransitTimes","item":[{"name":"Rate And Transit Times","id":"7dfb1cd3-1a0a-431d-9c74-b9ec98e9ce2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"},{"key":"Accept","value":"text/plain; ver=2.0"},{"key":"Token","value":"xxxx","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"AccountNumber\": 1005001,\n    \"OriginZip\": \"94583\",\n    \"DestinationZip\": \"94588\",\n    \"OriginCountryCode\":\"US\",\n    \"DestinationCountryCode\":\"DE\",\n    \"ShipDate\": \"2022-08-20\",\n    \"PackageWeight\": 20,\n    \"CODValue\": true,\n    \"DeclaredValue\": 300,\n    \"SignatureCode\": \"ADULT_SIG_REQD\",   \n    \"DeliveryAddressType\": \"R\" ,\n    \"PackageDimension\": {\n        \"Length\": 10,\n        \"Width\": 1,\n        \"Height\": 1,\n        \"UnitOfMeasure\": \"cm\"\n    }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/RatesAndTransitTimes","description":"<h3 id=\"post-v2ratesandtransittimes\">POST /v2/RatesAndTransitTimes</h3>\n<p>This method will provide estimated shipping rates and transit times for all the GLS services available for your account before you ship for the next available business day.</p>\n<h4 id=\"request-header\">Request Header</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Token</td>\n<td>Access Token</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n</tr>\n<tr>\n<td>Accept-Encoding</td>\n<td>gZip or deflate (Optional)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-parameters\">Request Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AccountNumber</td>\n<td>Integer</td>\n<td>10</td>\n<td>Yes</td>\n<td>GLS Account Number</td>\n</tr>\n<tr>\n<td>OriginZip</td>\n<td>String</td>\n<td>10</td>\n<td>Yes</td>\n<td>Only first 5 digits will be taken as the zip code of Origin City</td>\n</tr>\n<tr>\n<td>DestinationZip</td>\n<td>String</td>\n<td>10</td>\n<td>Yes</td>\n<td>Only first 5 digits will be taken as the zip code of Destination City</td>\n</tr>\n<tr>\n<td>OriginCountryCode</td>\n<td>String</td>\n<td>2</td>\n<td>Yes</td>\n<td>Country code for the origin country</td>\n</tr>\n<tr>\n<td>DestinationCountryCode</td>\n<td>String</td>\n<td>2</td>\n<td>Yes</td>\n<td>Country code for the destination country</td>\n</tr>\n<tr>\n<td>ShipDate</td>\n<td>Date</td>\n<td></td>\n<td>Yes</td>\n<td>Date when the shipment will be shipped to the GLS facility</td>\n</tr>\n<tr>\n<td>DeliveryTimeWindow</td>\n<td>Enum : String</td>\n<td></td>\n<td>No</td>\n<td>This is an optional field available to specify the preferred time window for the package delivery. Options are: AM, PM, EV</td>\n</tr>\n<tr>\n<td>WeightUnitOfMeasure</td>\n<td>String</td>\n<td>3</td>\n<td>No</td>\n<td>Unit of measure for weight example: kg or lb.</td>\n</tr>\n<tr>\n<td>PackageWeight</td>\n<td>Integer</td>\n<td>3</td>\n<td>Yes</td>\n<td>Weight of package in pounds, pass a value of 0 if under 8 oz. Fractional weight will be rounded up to the higher LB for rate estimation</td>\n</tr>\n<tr>\n<td>DeliveryAddressType</td>\n<td>String</td>\n<td>1</td>\n<td>No</td>\n<td>Provide ‘B’ for Commercial/Business location type OR ‘R’ for Residential location type.</td>\n</tr>\n<tr>\n<td>DeclaredValue</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>No</td>\n<td>Declared Value of Shipment</td>\n</tr>\n<tr>\n<td>CODValue</td>\n<td>Boolean</td>\n<td></td>\n<td>No</td>\n<td>True if funds are to be collected at delivery, else False.</td>\n</tr>\n<tr>\n<td>SignatureCode</td>\n<td>Enum:  <br />String</td>\n<td></td>\n<td>No</td>\n<td>Consignee signature requirements,  <br />default is standard signature  <br />(SIG_STANDARD)  <br />Options are:  <br />SignatureType constants can be used  <br />SIG_STANDARD  <br />SIG_REQD  <br />SIG_NOT_REQD  <br />ADULT_SIG_REQD</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"dimensions\">Dimensions</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Length</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Length</td>\n<td>Integer</td>\n<td>3</td>\n<td>No</td>\n<td>Estimated Length of Package.  <br />  <br />For GLS Parcel Account - Package length can be between 1 to 144 inches and the maximum cubic size should not exceed 80,000.  <br />  <br />For GLS Freight Account- Package Length must be between 1 and 96 inches.</td>\n</tr>\n<tr>\n<td>Width</td>\n<td>Integer</td>\n<td>3</td>\n<td>No</td>\n<td>Estimated Width of Package.  <br />For Parcel Account - Package length can be between 1 to 144 inches and the maximum cubic size should not exceed 80,000.  <br />For Freight Account - Package Width must be between 1 and 96 inches.</td>\n</tr>\n<tr>\n<td>Height</td>\n<td>Integer</td>\n<td>3</td>\n<td>No</td>\n<td>Estimated Height of Package.  <br />For Parcel Account - Package height can be between 1 to 144 inches and the maximum cubic size should not exceed 80,000.  <br />For Freight Account - Package Height must be between 1 and 72 inches.</td>\n</tr>\n<tr>\n<td>UnitOfMeasure</td>\n<td>String</td>\n<td>4</td>\n<td>No</td>\n<td>The default UnitOfMeasure is inch Accepted values: cm , inch</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response\">Response</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>StatusCode</td>\n<td>Integer</td>\n<td></td>\n<td>The HTTP Status code for the request.  <br />200 – Successful Request  <br />400 – Bad Request  <br />401 – Unauthorized  <br />500 – Internal Server Error</td>\n</tr>\n<tr>\n<td>StatusDescription</td>\n<td>String</td>\n<td></td>\n<td>The HTTP Status description for the request.</td>\n</tr>\n<tr>\n<td>AuthenticationResultCode</td>\n<td>Integer</td>\n<td></td>\n<td>A status code that offers additional information about authentication success or failure.  <br />One of the following values:  <br /><strong>Code</strong></td>\n</tr>\n<tr>\n<td>RequestDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the request sent to the server. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ResponseDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the response sent back to the Client. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ErrorCount</td>\n<td>Integer</td>\n<td></td>\n<td>Count of the errors. By default, it will be 0.</td>\n</tr>\n<tr>\n<td>ErrorDetail</td>\n<td>Error[]</td>\n<td></td>\n<td>ErrorDetail will be an array of Error Structure which will have two fields – ErrorId (Integer) and ErrorDescription (String255). By default, it will be null in case of no errors.</td>\n</tr>\n<tr>\n<td>OriginZip</td>\n<td>String</td>\n<td>5</td>\n<td>5 digit zip of Pickup Location</td>\n</tr>\n<tr>\n<td>OriginCity</td>\n<td>String</td>\n<td>50</td>\n<td>Default City for requested pickup zip code</td>\n</tr>\n<tr>\n<td>DestinationZip</td>\n<td>String</td>\n<td>5</td>\n<td>5 digit zip of Delivery Location</td>\n</tr>\n<tr>\n<td>DestinationCity</td>\n<td>String</td>\n<td>50</td>\n<td>Default City for requested delivery zip code</td>\n</tr>\n<tr>\n<td>DeliveryZone</td>\n<td>String</td>\n<td>1</td>\n<td>Delivery Zone based on Origin and Destination zip</td>\n</tr>\n<tr>\n<td>DeliveryServiceTypes</td>\n<td>DeliveryServiceType[]</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>ShipmentCharges</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"delivery-service-types\">Delivery Service Types</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ServiceCode</td>\n<td>String</td>\n<td>3</td>\n<td>GLS Service Code - PDS, EPS, NPS, CPS, SDS, ESS, SAM, SPM and SEV</td>\n</tr>\n<tr>\n<td>ServiceDescription</td>\n<td>String</td>\n<td>50</td>\n<td>GLS Service Code Description</td>\n</tr>\n<tr>\n<td>DeliveryDate</td>\n<td>Date</td>\n<td></td>\n<td>Scheduled Del Date when package can be delivered</td>\n</tr>\n<tr>\n<td>DeliveryTime</td>\n<td>String</td>\n<td></td>\n<td>This will be the guaranteed delivery time for PDS, EPS, NPS, CPS, SDS, ESS or delivery time window for SAM, SPM and SEV</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"shipment-charges\">Shipment Charges</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>TransportationCharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Service charge for shipment.</td>\n</tr>\n<tr>\n<td>CODCharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Charge applicable to COD shipments.</td>\n</tr>\n<tr>\n<td>DeclaredCharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Charge applicable to declared shipments.</td>\n</tr>\n<tr>\n<td>OtherCharge</td>\n<td></td>\n<td></td>\n<td>Accessorial charges applicable to shipment.</td>\n</tr>\n<tr>\n<td>Code</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Accessorial Fee Code</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Accessorial Fee Description</td>\n</tr>\n<tr>\n<td>Fee</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Accessorial Fee Amount</td>\n</tr>\n<tr>\n<td>FuelSurcharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Fuel surcharge for shipment.</td>\n</tr>\n<tr>\n<td>TotalCharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Total charge for shipment</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","RatesAndTransitTimes"],"host":["https://ship.gls-us.com"],"query":[],"variable":[]}},"response":[{"id":"cbb406fb-259c-4ad6-ab78-031b97edeacf","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"}],"body":{"mode":"raw","raw":"{\n    \"AccountNumber\": 1005001,\n    \"OriginZip\": \"94583\",\n    \"DestinationZip\": \"94588\",\n    \"OriginCountryCode\":\"US\",\n    \"DestinationCountryCode\":\"DE\",\n    \"ShipDate\": \"2022-08-20\",\n    \"PackageWeight\": 20,\n    \"CODValue\": true,\n    \"DeclaredValue\": 300,\n    \"SignatureCode\": \"ADULT_SIG_REQD\",   \n    \"DeliveryAddressType\": \"R\" ,\n    \"PackageDimension\": {\n        \"Length\": 10,\n        \"Width\": 1,\n        \"Height\": 1,\n        \"UnitOfMeasure\": \"cm\"\n    }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/RatesAndTransitTimes"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"OriginZip\": \"94583\",\r\n    \"OriginCity\": \"\",\r\n    \"DestinationZip\": \"94588\",\r\n    \"DestinationCity\": \"\",\r\n    \"DeliveryZone\": 2,\r\n    \"DeliveryServiceTypes\": [\r\n        {\r\n            \"DeliveryDate\": \"2024-07-31T16:08:42\",\r\n            \"ServiceCode\": \"ITS\",\r\n            \"ServiceDescription\": \"International\",\r\n            \"DeliveryTime\": \"\",\r\n            \"ShipmentCharges\": {\r\n                \"TransportationCharge\": 25.00,\r\n                \"CODCharge\": 0.00,\r\n                \"DeclaredCharge\": 0.00,\r\n                \"FuelSurcharge\": 0.00,\r\n                \"OtherCharge\": [\r\n                    {\r\n                        \"Code\": \"N/A\",\r\n                        \"Description\": \"Special Handling\",\r\n                        \"Fee\": 0.0000\r\n                    },\r\n                    {\r\n                        \"Code\": \"ASR\",\r\n                        \"Description\": \"Adult Signature Fee\",\r\n                        \"Fee\": 21.31\r\n                    }\r\n                ],\r\n                \"TotalCharge\": 46.31\r\n            }\r\n        }\r\n    ],\r\n    \"StatusCode\": 200,\r\n    \"StatusDescription\": \"OK\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2024-07-19T09:08:42.3556188-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T09:08:43.5457685-07:00\",\r\n    \"ErrorCount\": 0,\r\n    \"ErrorDetail\": null\r\n}\r\n"},{"id":"4dfc142f-1d07-4bf8-8f9b-4fabf312b217","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json-patch+json; ver=2.0"},{"key":"Accept","value":"text/plain; ver=2.0"}],"body":{"mode":"raw","raw":"{\n    \"AccountNumber\": 1005001,\n    \"OriginZip\": \"94583\",\n    \"DestinationZip\": \"94588\",\n    \"OriginCountryCode\":\"US\",\n    \"DestinationCountryCode\":\"DE\",\n    \"ShipDate\": \"2022-08-20\",\n    \"PackageWeight\": 20,\n    \"CODValue\": true,\n    \"DeclaredValue\": 300,\n    \"SignatureCode\": \"ADULT_SIG_REQD\",   \n    \"DeliveryAddressType\": \"R\" ,\n    \"PackageDimension\": {\n        \"Length\": 10,\n        \"Width\": 1,\n        \"Height\": 1,\n        \"UnitOfMeasure\": \"cm\"\n    }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ship.gls-us.com/v2/RatesAndTransitTimes"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; ver=2.0"}],"cookie":[],"responseTime":null,"body":"\n{\n    \"StatusCode\": 400,\n    \"StatusDescription\": \"BadRequest\",\n    \"AuthenticationResultCode\": 0,\n    \"RequestDateTime\": \"2024-07-19T09:10:10.1488405-07:00\",\n    \"ResponseDateTime\": \"2024-07-19T09:10:10.1518625-07:00\",\n    \"ErrorCount\": 1,\n    \"ErrorDetail\": [\n        {\n            \"ErrorCode\": \"Failure\",\n            \"ErrorDescription\": \"Relevant Error Message.\"\n        }\n    ]\n}"}],"_postman_id":"7dfb1cd3-1a0a-431d-9c74-b9ec98e9ce2d"}],"id":"eac5db93-0cca-4053-baf1-c08c30ea6473","_postman_id":"eac5db93-0cca-4053-baf1-c08c30ea6473","description":""},{"name":"TrackPickup","item":[{"name":"TrackPickup","id":"d5fc08eb-b9de-4d8b-964d-070202fee174","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"text/plain; ver=2.0"},{"key":"Token","value":"xxxx","type":"text"}],"url":"https://ship.gls-us.com/v2/TrackPickup?AccountNumber=36534637&ConfirmationNumber=non in&PickupStartDate=non in&PickupEndDate=non in","description":"<p><strong>Description</strong><br />This method will allow user to track On-Call Pickup by either Confirmation # or Account #/Pickup Date<br />combination.</p>\n<h4 id=\"request-header\">Request Header</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Token</td>\n<td>Access Token</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n</tr>\n<tr>\n<td>Accept-Encoding</td>\n<td>gZip or deflate (Optional)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request\">Request</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ConfirmationNumber</td>\n<td>Integer</td>\n<td>10</td>\n<td>No</td>\n<td>GLS US On-Call Pickup Confirmation Number</td>\n</tr>\n<tr>\n<td>AccountNumber</td>\n<td>Integer</td>\n<td>10</td>\n<td>Yes</td>\n<td></td>\n</tr>\n<tr>\n<td>PickupStartDate</td>\n<td>Date</td>\n<td></td>\n<td>No</td>\n<td>Pickup Start Date search criteria</td>\n</tr>\n<tr>\n<td>PickupEndDate</td>\n<td>Date</td>\n<td></td>\n<td>No</td>\n<td>Pickup End Date search criteria</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response\">Response</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>StatusCode</td>\n<td>Integer</td>\n<td></td>\n<td>The HTTP Status code for the request.  <br />200 – Successful Request  <br />400 – Bad Request  <br />401 – Unauthorized  <br />500 – Internal Server Error</td>\n</tr>\n<tr>\n<td>StatusDescription</td>\n<td>String</td>\n<td></td>\n<td>The HTTP Status description for the request.</td>\n</tr>\n<tr>\n<td>AuthenticationResultCode</td>\n<td>Integer</td>\n<td></td>\n<td>A status code that offers additional information about authentication success or failure.  <br />One of the following values:  <br />Code Description  <br />0 ValidToken  <br />1 InvalidToken  <br />2 ExpiredToken  <br />3 NoToken</td>\n</tr>\n<tr>\n<td>RequestDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the request sent to the server. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ResponseDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the response sent back to the Client. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ErrorCount</td>\n<td>Integer</td>\n<td></td>\n<td>Count of the errors. By default, it will be 0.</td>\n</tr>\n<tr>\n<td>ErrorDetail</td>\n<td>Error[]</td>\n<td></td>\n<td>ErrorDetail will be an array of Error Structure which will have two fields –  <br />ErrorId (Integer) and ErrorDescription (String255). By default, it will be null in case of no errors.</td>\n</tr>\n<tr>\n<td>Pickups</td>\n<td>Pickup[]</td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"pickups\">Pickups</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ConfirmationNumber</td>\n<td>Integer</td>\n<td>10</td>\n<td>Pickup Confirmation Number</td>\n</tr>\n<tr>\n<td>PickupDate</td>\n<td>Date</td>\n<td></td>\n<td>Requested Pickup Date</td>\n</tr>\n<tr>\n<td>PickupWindow</td>\n<td>String</td>\n<td>20</td>\n<td>Pickup Window of the requested Pickup</td>\n</tr>\n<tr>\n<td>PickupRequestedTime</td>\n<td>DateTime</td>\n<td></td>\n<td>DateTime when the Pickup was requested</td>\n</tr>\n<tr>\n<td>NumberofPackages</td>\n<td>Integer</td>\n<td></td>\n<td>Number of packages to be picked up</td>\n</tr>\n<tr>\n<td>TotalWeight</td>\n<td>Integer</td>\n<td></td>\n<td>Total Weight of Packages to be picked up</td>\n</tr>\n<tr>\n<td>PickupLocation</td>\n<td>PickupLocation</td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"pickup-location\">Pickup Location</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>PickupCompany</td>\n<td>String</td>\n<td>50</td>\n<td>Pickup Company Name</td>\n</tr>\n<tr>\n<td>PickupAddress1</td>\n<td>String</td>\n<td>50</td>\n<td>Street address of pickup location.</td>\n</tr>\n<tr>\n<td>PickupAddress2</td>\n<td>String</td>\n<td>50</td>\n<td>Extra address info for pickup location.</td>\n</tr>\n<tr>\n<td>PickupCity</td>\n<td>String</td>\n<td>50</td>\n<td>Pickup City name.</td>\n</tr>\n<tr>\n<td>PickupState</td>\n<td>String</td>\n<td>2</td>\n<td>State abbreviation of pickup location. Valid options are: AZ, CA, NV, NM, OR, WA, and ID</td>\n</tr>\n<tr>\n<td>PickupZip</td>\n<td>String</td>\n<td>10</td>\n<td>Only first 5 digit will be taken as zip code of pickup location</td>\n</tr>\n<tr>\n<td>PickupAddressType</td>\n<td>String</td>\n<td>1</td>\n<td>Provide ‘B’ for Commercial/Business location type OR ‘R’ for Residential location type.</td>\n</tr>\n<tr>\n<td>Latitude</td>\n<td>Decimal(12,2)</td>\n<td></td>\n<td>Geo Latitude of the Pickup Location</td>\n</tr>\n<tr>\n<td>Longitude</td>\n<td>Decimal(12,2)</td>\n<td></td>\n<td>Geo Longitude of the Pickup Location</td>\n</tr>\n<tr>\n<td>PickupContact</td>\n<td>String</td>\n<td>50</td>\n<td>Pickup Contact Name</td>\n</tr>\n<tr>\n<td>PickupContactEmail</td>\n<td>String</td>\n<td>50</td>\n<td>Pickup Contact Email</td>\n</tr>\n<tr>\n<td>PickupContactPhone</td>\n<td>String</td>\n<td>20</td>\n<td>Pickup Contact Phone</td>\n</tr>\n<tr>\n<td>PickupInstruction</td>\n<td>String</td>\n<td>255</td>\n<td>Pickup Instruction provided at the time of scheduling a Pickup.</td>\n</tr>\n<tr>\n<td>PickupStatus</td>\n<td>String</td>\n<td>10</td>\n<td>Pickup Status: Scheduled, Completed, Cancelled, Attempted</td>\n</tr>\n<tr>\n<td>PackagesPickedUp</td>\n<td>Integer</td>\n<td>100</td>\n<td>Count of packages picked up. This will be returned only if the status is Completed.</td>\n</tr>\n<tr>\n<td>PickupTime</td>\n<td>DateTime</td>\n<td></td>\n<td>Actual Pickup time of the packages. This will be returned only if</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","TrackPickup"],"host":["https://ship.gls-us.com"],"query":[{"key":"AccountNumber","value":"36534637"},{"key":"ConfirmationNumber","value":"non in"},{"key":"PickupStartDate","value":"non in"},{"key":"PickupEndDate","value":"non in"}],"variable":[]}},"response":[{"id":"32b3e8f5-e48c-4e2f-8dc9-384287e9ce02","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://ship.gls-us.com/v2/TrackPickup?AccountNumber=36534637&ConfirmationNumber=420266&PickupStartDate=2024-07-31&PickupEndDate=2024-07-31","host":["https://ship.gls-us.com"],"path":["v2","TrackPickup"],"query":[{"key":"AccountNumber","value":"36534637"},{"key":"ConfirmationNumber","value":"420266"},{"key":"PickupStartDate","value":"2024-07-31"},{"key":"PickupEndDate","value":"2024-07-31"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"Pickups\": [\r\n        {\r\n            \"ConfirmationNumber\": 420266,\r\n            \"PickupDate\": \"05/09/2024\",\r\n            \"PickupWindow\": \"01:00 PM - 05:00 PM\",\r\n            \"PickupRequestedTime\": \"2023-07-25T08:02:40\",\r\n            \"NumberofPackages\": 460,\r\n            \"TotalWeight\": 6320,\r\n            \"PickupLocation\": {\r\n                \"PickupCompany\": \"FIRESTONE WALKER BREWING-REPACK BUILDING\",\r\n                \"PickupAddress1\": \"1332 VENDLES CIRCLE\",\r\n                \"PickupAddress2\": \"\",\r\n                \"PickupCity\": \"PASO ROBLES\",\r\n                \"PickupState\": \"CA\",\r\n                \"PickupZip\": \"93446\",\r\n                \"PickupAddressType\": \"B\",\r\n                \"Latitude\": 35.596281,\r\n                \"Longitude\": -120.692776\r\n            },\r\n            \"PickupContact\": \"STACEY SCOTT\",\r\n            \"PickupContactEmail\": \"dev@test.com\",\r\n            \"PickupContactPhone\": \"(805)225-5911\",\r\n            \"PickupInstruction\": \"SHIPPER HAS 9 PALLETS TOTAL WEIGHT 6,320 LBS.\",\r\n            \"PickupStatus\": \"Completed\",\r\n            \"PackagesPickedUp\": 0,\r\n            \"PickupTime\": \"2023-08-01T13:13:00\"\r\n        }\r\n    ],\r\n    \"StatusCode\": 200,\r\n    \"StatusDescription\": \"OK\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2024-07-19T11:20:19.3972648-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T11:20:19.4842698-07:00\",\r\n    \"ErrorCount\": 0,\r\n    \"ErrorDetail\": null\r\n}"},{"id":"a602b6b9-ba08-4f30-844d-f4887fae2037","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"text/plain; ver=2.0"}],"url":{"raw":"https://ship.gls-us.com/v2/TrackPickup?AccountNumber=36534637&ConfirmationNumber=420266&PickupStartDate=2024-07-31&PickupEndDate=2024-07-31","host":["https://ship.gls-us.com"],"path":["v2","TrackPickup"],"query":[{"key":"AccountNumber","value":"36534637"},{"key":"ConfirmationNumber","value":"420266"},{"key":"PickupStartDate","value":"2024-07-31"},{"key":"PickupEndDate","value":"2024-07-31"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; ver=2.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"ShipmentInfo\": null,\n    \"StatusCode\": 400,\n    \"StatusDescription\": \"BadRequest\",\n    \"AuthenticationResultCode\": 0,\n    \"RequestDateTime\": \"2024-07-19T11:07:54.1547647-07:00\",\n    \"ResponseDateTime\": \"2024-07-19T11:07:55.3671907-07:00\",\n    \"ErrorCount\": 1,\n    \"ErrorDetail\": [\n        {\n            \"ErrorCode\": \"Failure\",\n            \"ErrorDescription\": \"Error Message.\"\n        }\n    ]\n}"},{"id":"51016044-f3d2-4360-95a2-eb1e5a2f64a0","name":"Server Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://ship.gls-us.com/v2/TrackPickup?AccountNumber=36534637&ConfirmationNumber=420266&PickupStartDate=2024-07-31&PickupEndDate=2024-07-31","host":["https://ship.gls-us.com"],"path":["v2","TrackPickup"],"query":[{"key":"AccountNumber","value":"36534637"},{"key":"ConfirmationNumber","value":"420266"},{"key":"PickupStartDate","value":"2024-07-31"},{"key":"PickupEndDate","value":"2024-07-31"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"ShipmentInfo\": null,\r\n    \"StatusCode\": 500,\r\n    \"StatusDescription\": \"Internal Server Error\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2024-07-19T11:07:54.1547647-07:00\",\r\n    \"ResponseDateTime\": \"2024-07-19T11:07:55.3671907-07:00\",\r\n    \"ErrorCount\": 1,\r\n    \"ErrorDetail\": [\r\n        {\r\n            \"ErrorCode\": \"Failure\",\r\n            \"ErrorDescription\": \"Error Message.\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"d5fc08eb-b9de-4d8b-964d-070202fee174"}],"id":"a72bc18f-2960-4a4a-88a4-58828f610261","_postman_id":"a72bc18f-2960-4a4a-88a4-58828f610261","description":""},{"name":"TrackShipment","item":[{"name":"Track Shipment","id":"5864bc0a-765f-46c1-8cce-815b4eb458cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"text/plain; ver=2.0"},{"key":"Token","value":"xxxx","type":"text"}],"url":"https://ship.gls-us.com/v2/TrackShipment?TrackingNumber=testtracking&ReferenceNumber=testreference&ShipDate=5/15/2025&AccountNumber=99999&IncludeVPOD=false","description":"<h4 id=\"request-header\">Request Header</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Token</td>\n<td>Access Token</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n</tr>\n<tr>\n<td>Accept-Encoding</td>\n<td>gZip or deflate (Optional)</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note</strong>: Track Shipment expects the input parameters from the URL </p>\n</blockquote>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AccountNumber</td>\n<td>Integer</td>\n<td>10</td>\n<td>Yes</td>\n<td>GLS Account Number</td>\n</tr>\n<tr>\n<td>TrackingNumber</td>\n<td>String</td>\n<td>20</td>\n<td>No**</td>\n<td>Unique tracking number for shipment.</td>\n</tr>\n<tr>\n<td>ReferenceNumber</td>\n<td>String</td>\n<td>25</td>\n<td>No**</td>\n<td>Shipper’s internal reference information for the shipment.</td>\n</tr>\n<tr>\n<td>ShipDate</td>\n<td>Date</td>\n<td></td>\n<td>No**</td>\n<td>Date when the shipment was shipped to the GLS facility.</td>\n</tr>\n<tr>\n<td>IncludeVPOD</td>\n<td>Bool</td>\n<td></td>\n<td>No</td>\n<td>Returns POD Image if the user provides “…&amp;IncludeVPOD=true”, along with the account# and tracking# in the request url.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"field-details\">Field Details</h3>\n<ul>\n<li>Either the Tracking Number, Reference Number, or Ship Date is required.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>StatusCode</td>\n<td>Integer</td>\n<td></td>\n<td>The HTTP Status code for the request.  <br />200 – Successful Request  <br />400 – Bad Request  <br />401 – Unauthorized  <br />500 – Internal Server Error</td>\n</tr>\n<tr>\n<td>StatusDescription</td>\n<td>String</td>\n<td></td>\n<td>The HTTP Status description for the request.</td>\n</tr>\n<tr>\n<td>AuthenticationResultCode</td>\n<td>Integer</td>\n<td></td>\n<td>A status code that offers additional information about authentication success or failure.  <br />One of the following values:  <br /><strong>Code</strong></td>\n</tr>\n<tr>\n<td>RequestDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the request sent to the server. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ResponseDateTime</td>\n<td>DateTime</td>\n<td></td>\n<td>The Datetime of the response sent back to the Client. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ErrorCount</td>\n<td>Integer</td>\n<td></td>\n<td>Count of the errors. By default, it will be 0.</td>\n</tr>\n<tr>\n<td>ErrorDetail</td>\n<td>Error[]</td>\n<td></td>\n<td>ErrorDetail will be an array of Error Structure which will have two fields – ErrorId (Integer) and ErrorDescription (String (255)). By default, it will be null in case of no errors.  <br />  <br /><strong>Note</strong>: The fields of the object are defined below.</td>\n</tr>\n<tr>\n<td>ShipmentsInfo</td>\n<td>ShipmentInfo[]</td>\n<td></td>\n<td>The fields of the object are defined below.</td>\n</tr>\n<tr>\n<td>Delivery</td>\n<td>Object</td>\n<td></td>\n<td>The fields of the object are defined below.</td>\n</tr>\n<tr>\n<td>TransitNotes</td>\n<td>Array of objects</td>\n<td>–</td>\n<td>Array of transit notes</td>\n</tr>\n<tr>\n<td>├─ EventDate</td>\n<td>DateTime</td>\n<td>–</td>\n<td>Date/time when the transit event occurred</td>\n</tr>\n<tr>\n<td>├─ EventDate_UTCOffset</td>\n<td>DateTime</td>\n<td>–</td>\n<td>UTC offset of the EventDate</td>\n</tr>\n<tr>\n<td>├─ Comments</td>\n<td>String</td>\n<td>255</td>\n<td>Description of the transit event</td>\n</tr>\n<tr>\n<td>├─ Location</td>\n<td>String</td>\n<td>100</td>\n<td>Location of the scanned region</td>\n</tr>\n<tr>\n<td>├─ City</td>\n<td>String</td>\n<td>30</td>\n<td>City of the transit event</td>\n</tr>\n<tr>\n<td>├─ State</td>\n<td>String</td>\n<td>2</td>\n<td>State of the transit event</td>\n</tr>\n<tr>\n<td>└─ Country</td>\n<td>String</td>\n<td>55</td>\n<td>Country of the transit event</td>\n</tr>\n<tr>\n<td>├─ EventId</td>\n<td>int</td>\n<td>-</td>\n<td>TransitCategoryType ID of the transit event.</td>\n</tr>\n<tr>\n<td>ShipmentCharges</td>\n<td>Object</td>\n<td></td>\n<td>The fields of the object are defined below.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"shipmentsinfo\">ShipmentsInfo</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AccountNumber</td>\n<td>Integer</td>\n<td>5</td>\n<td>Shipper’s GLS account number.</td>\n</tr>\n<tr>\n<td>TrackingNumber</td>\n<td>String</td>\n<td>20</td>\n<td>Shipment tracking number.</td>\n</tr>\n<tr>\n<td>ShipperCompany</td>\n<td>String</td>\n<td>50</td>\n<td>Name of the company sending the shipment.</td>\n</tr>\n<tr>\n<td>ShipperContact</td>\n<td>String</td>\n<td>50</td>\n<td>Name of person sending the shipment.</td>\n</tr>\n<tr>\n<td>ShipperPhone</td>\n<td>String</td>\n<td>20</td>\n<td>Phone number of the person sending the shipment.</td>\n</tr>\n<tr>\n<td>ShipperEmail</td>\n<td>String</td>\n<td>50</td>\n<td>Email address of the person sending the shipment.</td>\n</tr>\n<tr>\n<td>PickupAddress1</td>\n<td>String</td>\n<td>50</td>\n<td>Street address of pickup location.</td>\n</tr>\n<tr>\n<td>PickupAddress2</td>\n<td>String</td>\n<td>50</td>\n<td>Extra address info for pickup location.</td>\n</tr>\n<tr>\n<td>PickupCity</td>\n<td>String</td>\n<td>50</td>\n<td>Pickup city name.</td>\n</tr>\n<tr>\n<td>PickupState</td>\n<td>String</td>\n<td>2</td>\n<td>2 digit state abbreviation of pickup location.</td>\n</tr>\n<tr>\n<td>PickupZip</td>\n<td>String</td>\n<td>5</td>\n<td>5 digit zip code of pickup location.</td>\n</tr>\n<tr>\n<td>ShipToCompany</td>\n<td>String</td>\n<td>50</td>\n<td>Name of company receiving the shipment.</td>\n</tr>\n<tr>\n<td>ShipToAttention</td>\n<td>String</td>\n<td>50</td>\n<td>Name of person receiving the shipment.</td>\n</tr>\n<tr>\n<td>ShipToPhone</td>\n<td>String</td>\n<td>20</td>\n<td>Phone number of person receiving shipment.</td>\n</tr>\n<tr>\n<td>ShipToEmail</td>\n<td>String</td>\n<td>50</td>\n<td>Email address of person receiving shipment.</td>\n</tr>\n<tr>\n<td>DeliveryAddress1</td>\n<td>String</td>\n<td>50</td>\n<td>Street address of shipment destination.</td>\n</tr>\n<tr>\n<td>DeliveryAddress2</td>\n<td>String</td>\n<td>50</td>\n<td>Extra address info for shipment destination.</td>\n</tr>\n<tr>\n<td>DeliveryCity</td>\n<td>String</td>\n<td>50</td>\n<td>Destination city name.</td>\n</tr>\n<tr>\n<td>DeliveryState</td>\n<td>String</td>\n<td>2</td>\n<td>2 digit state abbreviation of destination.</td>\n</tr>\n<tr>\n<td>DeliveryZip</td>\n<td>String</td>\n<td>5</td>\n<td>5 digit zip code of destination.</td>\n</tr>\n<tr>\n<td>DeliveryZone</td>\n<td>String</td>\n<td>1</td>\n<td>Delivery Zone based on Origin and Destination zip code provided by the Shipper.</td>\n</tr>\n<tr>\n<td>ServiceCode</td>\n<td>String</td>\n<td>3</td>\n<td>GLS Delivery Service Type.</td>\n</tr>\n<tr>\n<td>ShipmentReference</td>\n<td>String</td>\n<td>25</td>\n<td>Shipper’s internal reference information.</td>\n</tr>\n<tr>\n<td>DeclaredValue</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Declared value of shipment.</td>\n</tr>\n<tr>\n<td>CODValue</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>COD amount.</td>\n</tr>\n<tr>\n<td>SpecialInstructions</td>\n<td>String</td>\n<td>100</td>\n<td>Any additional delivery instructions.</td>\n</tr>\n<tr>\n<td>Weight</td>\n<td>Integer</td>\n<td>3</td>\n<td>Weight of package in pounds.</td>\n</tr>\n<tr>\n<td>SignatureCode</td>\n<td>Enum: Integer</td>\n<td></td>\n<td>Consignee signature requirements. Valid values are:  <br /><strong>SIG_STANDARD</strong> - 0  <br /><strong>SIG_NOT_REQD</strong> - 1  <br /><strong>ADULT_SIG_REQD</strong> - 2  <br /><strong>SIG_REQD</strong> - 3</td>\n</tr>\n<tr>\n<td>AddnShipperReference1</td>\n<td>String</td>\n<td>25</td>\n<td>Additional customer reference information.</td>\n</tr>\n<tr>\n<td>AddnShipperReference2</td>\n<td>String</td>\n<td>25</td>\n<td>Additional customer reference information.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"delivery\">Delivery</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ShipDate</td>\n<td>Date</td>\n<td></td>\n<td>Date when the shipment was picked up.</td>\n</tr>\n<tr>\n<td>ScheduledDeliveryDate</td>\n<td>Date</td>\n<td></td>\n<td>Date when delivery is scheduled.  <br />  <br /><strong>Note</strong>: This field is included only for domestic shipments.</td>\n</tr>\n<tr>\n<td>ScheduledDeliveryTime</td>\n<td>String</td>\n<td></td>\n<td>This will be the guaranteed delivery time for PDS, EPS, NPS, CPS, SDS, ESS or delivery time window for SAM, SPM and SEV.  <br />  <br /><strong>Note</strong>: This field is included only for domestic shipments.</td>\n</tr>\n<tr>\n<td>ScheduleDeliveryDateRange</td>\n<td>Object</td>\n<td></td>\n<td><strong>Note</strong>: This field is included only for International shipments.</td>\n</tr>\n<tr>\n<td>├─ Earliest</td>\n<td>Date</td>\n<td></td>\n<td>The earliest scheduled delivery date, returned in <code>MM/dd/yyyy</code> format.</td>\n</tr>\n<tr>\n<td>├─ Latest</td>\n<td>Date</td>\n<td></td>\n<td>The latest scheduled delivery date, returned in <code>MM/dd/yyyy</code> format.</td>\n</tr>\n<tr>\n<td>DeliveryDate</td>\n<td>Date</td>\n<td></td>\n<td>Date when the shipment was delivered.  <br />  <br /><strong>Note</strong>: This field is included only for domestic shipments.</td>\n</tr>\n<tr>\n<td>TransitStatus</td>\n<td>String</td>\n<td>20</td>\n<td>Delivery Status, options are:  <br />IN TRANSIT  <br />DELAYED  <br />DELIVERED  <br />RETURNED</td>\n</tr>\n<tr>\n<td>DeliveryTime</td>\n<td>String</td>\n<td>8</td>\n<td>Delivery time – format: HH:MM AM/PM</td>\n</tr>\n<tr>\n<td>SignedBy</td>\n<td>String</td>\n<td>30</td>\n<td>Name of the person who signed for the shipment.</td>\n</tr>\n<tr>\n<td>Signature</td>\n<td>Base64Binary</td>\n<td></td>\n<td>Digital Signature for Proof of Delivery, if available.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"shipment-charges\">Shipment Charges</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>TransportationCharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Transportation Charge for Package</td>\n</tr>\n<tr>\n<td>CODCharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Charge applicable to COD Packages</td>\n</tr>\n<tr>\n<td>DeclaredCharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Charge applicable to declared Packages</td>\n</tr>\n<tr>\n<td>OtherCharge</td>\n<td>Array of objects</td>\n<td></td>\n<td>List of other charges</td>\n</tr>\n<tr>\n<td>├─ Code</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Accessorial fee code</td>\n</tr>\n<tr>\n<td>├─ Description</td>\n<td>String</td>\n<td></td>\n<td>Description of the accessorial charge</td>\n</tr>\n<tr>\n<td>└─ Fee</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Amount of the accessorial fee</td>\n</tr>\n<tr>\n<td>FuelSurcharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Fuel Surcharge for package</td>\n</tr>\n<tr>\n<td>TotalCharge</td>\n<td>Decimal</td>\n<td>8,2</td>\n<td>Total Shipping Charge for Package</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","TrackShipment"],"host":["https://ship.gls-us.com"],"query":[{"key":"TrackingNumber","value":"testtracking"},{"key":"ReferenceNumber","value":"testreference"},{"key":"ShipDate","value":"5/15/2025"},{"key":"AccountNumber","value":"99999"},{"key":"IncludeVPOD","value":"false"}],"variable":[]}},"response":[{"id":"ad729154-ce40-4a2e-8b23-4cf3e285afe6","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"text/plain; ver=2.0"}],"url":{"raw":"https://ship.gls-us.com/v2/TrackShipment?TrackingNumber=testtracking&ReferenceNumber=1&ShipDate=05/15/2025&AccountNumber=36534637&IncludeVPOD=false","protocol":"https","host":["ship","gls-us","com"],"path":["v2","TrackShipment"],"query":[{"key":"TrackingNumber","value":"testtracking"},{"key":"ReferenceNumber","value":"1"},{"key":"ShipDate","value":"05/15/2025"},{"key":"AccountNumber","value":"36534637"},{"key":"IncludeVPOD","value":"false"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; ver=2.0"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"ShipmentInfo\": [\r\n        {\r\n            \"AccountNumber\": 1036,\r\n            \"TrackingNumber\": \"959402806590\",\r\n            \"ShipperCompany\": \"TEST INDUSTRIES LP\",\r\n            \"ShipperContact\": \"Test Industries Inc\",\r\n            \"ShipperPhone\": \"\",\r\n            \"ShipperEmail\": \"\",\r\n            \"PickupAddress1\": \"HOGUM BAY ROAD NE\",\r\n            \"PickupAddress2\": \"C75\",\r\n            \"PickupCity\": \"LACEY\",\r\n            \"PickupState\": \"WA\",\r\n            \"PickupZip\": \"98516\",\r\n            \"ShipToCompany\": \"KENNEWICK\",\r\n            \"ShipToAttention\": \"\",\r\n            \"ShipToPhone\": \"9999999999\",\r\n            \"ShipToEmail\": \"\",\r\n            \"DeliveryAddress1\": \"3104 W KENNEWICK\",\r\n            \"DeliveryAddress2\": \"ADDUS\",\r\n            \"DeliveryCity\": \"KENNEWICK\",\r\n            \"DeliveryState\": \"WA\",\r\n            \"DeliveryZip\": \"99336\",\r\n            \"DeliveryCountry\": \"\",\r\n            \"DeliveryZone\": 3,\r\n            \"ServiceCode\": \"CPS\",\r\n            \"ShipmentReference\": \"8248179905\",\r\n            \"DeclaredValue\": 0.0,\r\n            \"CODValue\": 0.0,\r\n            \"SpecialInstructions\": \"\",\r\n            \"Weight\": 19,\r\n            \"SignatureCode\": \"SIG_REQD\",\r\n            \"AddnShipperReference1\": \"0501002357\",\r\n            \"AddnShipperReference2\": \"0\",\r\n            \"PODImage\": \"\",\r\n            \"PODImageMessage\": \"\",\r\n            \"Delivery\": {\r\n                \"ScheduledDeliveryDate\": \"05/15/2025\",\r\n                \"ScheduledDeliveryTime\": \"12:00 PM\",\r\n                \"DeliveryDate\": \"05/15/2025\",\r\n                \"ShipDate\": \"05/14/2025\",\r\n                \"TransitStatus\": \"DELIVERED\",\r\n                \"DeliveryTime\": \"11:53 AM\",\r\n                \"SignedBy\": \"M. Bautista\",\r\n                \"Signature\": \"bXkAAAAASUVORK5CYII=\"\r\n            },\r\n            \"TransitNotes\": [\r\n                {\r\n                    \"EventDate\": \"5/14/2025 8:32:04 PM\",\r\n                    \"EventDate_utcoffset\": \"2025-05-14T20:32:04-07:00\",\r\n                    \"Comments\": \"ARRIVAL SCAN - DELIVERY SCHED  FOR 05/15/2025\",\r\n                    \"Location\": \"KENT, WA\",\r\n                    \"City\": \"KENT\",\r\n                    \"State\": \"WA\",\r\n                    \"Country\": \"\",\r\n                    \"EventId\":4\r\n                },\r\n                {\r\n                    \"EventDate\": \"5/14/2025 8:32:05 PM\",\r\n                    \"EventDate_utcoffset\": \"2025-05-14T20:32:05-07:00\",\r\n                    \"Comments\": \"DIM SCAN - PKG DIM - 16*11*11\",\r\n                    \"Location\": \"KENT, WA\",\r\n                    \"City\": \"KENT\",\r\n                    \"State\": \"WA\",\r\n                    \"Country\": \"\",\r\n                    \"EventId\":44\r\n                },\r\n                {\r\n                    \"EventDate\": \"5/15/2025 4:31:06 AM\",\r\n                    \"EventDate_utcoffset\": \"2025-05-15T04:31:06-07:00\",\r\n                    \"Comments\": \"SCANNED AT DELIVERY DEPOT\",\r\n                    \"Location\": \"PASCO, WA\",\r\n                    \"City\": \"PASCO\",\r\n                    \"State\": \"WA\",\r\n                    \"Country\": \"\",\r\n                    \"EventId\":108\r\n                },\r\n                {\r\n                    \"EventDate\": \"5/15/2025 4:31:18 AM\",\r\n                    \"EventDate_utcoffset\": \"2025-05-15T04:31:18-07:00\",\r\n                    \"Comments\": \"SCANNED AT DELIVERY DEPOT\",\r\n                    \"Location\": \"PASCO, WA\",\r\n                    \"City\": \"PASCO\",\r\n                    \"State\": \"WA\",\r\n                    \"Country\": \"\",\r\n                    \"EventId\":4\r\n                },\r\n                {\r\n                    \"EventDate\": \"5/15/2025 6:41:39 AM\",\r\n                    \"EventDate_utcoffset\": \"2025-05-15T06:41:39-07:00\",\r\n                    \"Comments\": \"ON ROUTE FOR DELIVERY\",\r\n                    \"Location\": \"PASCO, WA\",\r\n                    \"City\": \"PASCO\",\r\n                    \"State\": \"WA\",\r\n                    \"Country\": \"\",\r\n                    \"EventId\":4\r\n                },\r\n                {\r\n                    \"EventDate\": \"5/15/2025 11:53:43 AM\",\r\n                    \"EventDate_utcoffset\": \"2025-05-15T11:53:43-07:00\",\r\n                    \"Comments\": \"SHIPMENT DELIVERED\",\r\n                    \"Location\": \"KENNEWICK, WA\",\r\n                    \"City\": \"KENNEWICK\",\r\n                    \"State\": \"WA\",\r\n                    \"Country\": \"\",\r\n                    \"EventId\":42\r\n                }\r\n            ],\r\n            \"ShipmentCharges\": {\r\n                \"TransportationCharge\": 4.36,\r\n                \"CODCharge\": 0.0,\r\n                \"DeclaredCharge\": 0.0,\r\n                \"FuelSurcharge\": 0.77,\r\n                \"OtherCharge\": null,\r\n                \"TotalCharge\": 5.13\r\n            }\r\n        }\r\n    ],\r\n    \"StatusCode\": 200,\r\n    \"StatusDescription\": \"OK\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2025-05-15T15:38:13.5691985-07:00\",\r\n    \"ResponseDateTime\": \"2025-05-15T15:38:13.6443476-07:00\",\r\n    \"ErrorCount\": 0,\r\n    \"ErrorDetail\": null\r\n}"},{"id":"6c776fc3-9de5-48d7-add9-337d1bcb94df","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"text/plain; ver=2.0"}],"url":{"raw":"https://ship.gls-us.com/v2/TrackShipment?TrackingNumber=non in&ReferenceNumber=non in&ShipDate=non in&AccountNumber=36534637&IncludeVPOD=non in","host":["https://ship.gls-us.com"],"path":["v2","TrackShipment"],"query":[{"key":"TrackingNumber","value":"non in"},{"key":"ReferenceNumber","value":"non in"},{"key":"ShipDate","value":"non in"},{"key":"AccountNumber","value":"36534637"},{"key":"IncludeVPOD","value":"non in"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; ver=2.0"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"ex deserunt\",\n  \"title\": \"ipsum\",\n  \"status\": 61231263,\n  \"detail\": \"dolo\",\n  \"instance\": \"dolor anim ad\"\n}"},{"id":"6a3ebd0f-ce43-4c94-b5ff-00847426d6e3","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"text/plain; ver=2.0"},{"key":"Token","value":"xxxx","type":"text"}],"url":{"raw":"https://ship.gls-us.com/v2/TrackShipment?TrackingNumber=non in&ReferenceNumber=non in&ShipDate=non in&AccountNumber=36534637&IncludeVPOD=non in","host":["https://ship.gls-us.com"],"path":["v2","TrackShipment"],"query":[{"key":"TrackingNumber","value":"non in"},{"key":"ReferenceNumber","value":"non in"},{"key":"ShipDate","value":"non in"},{"key":"AccountNumber","value":"36534637"},{"key":"IncludeVPOD","value":"non in"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"StatusCode\": 401,\r\n    \"StatusDescription\": \"Unauthorized\",\r\n    \"AuthenticationResultCode\": 2,\r\n    \"RequestDateTime\": \"2025-05-14T14:55:14.8506889-07:00\",\r\n    \"ResponseDateTime\": \"2025-05-15T15:31:18.0812038-07:00\",\r\n    \"ErrorCount\": 1,\r\n    \"ErrorDetail\": [\r\n        {\r\n            \"ErrorCode\": \"Failure\",\r\n            \"ErrorDescription\": \"Token has been expired. Please request for new Token.\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"5864bc0a-765f-46c1-8cce-815b4eb458cf"}],"id":"2a27390f-18bc-447c-ae98-c1834ff9e9c5","description":"<p>Retrieves detailed shipment information, including transit details, based on the provided search criteria. The request must include an account number and at least one of the following:</p>\n<p>Tracking Number, Reference Number, or Ship Date.</p>\n","_postman_id":"2a27390f-18bc-447c-ae98-c1834ff9e9c5"},{"name":"Transportation","item":[{"name":"Transportation","id":"bd02644c-c195-44a6-b4f5-7f9ee7d62976","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"text/plain; ver=2.0","type":"text"},{"key":"Token","value":"xxxx","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"accountNumber\":1036,\r\n  \"TRACKINGNUMBER\": [\r\n    \"04202510362929e604ea\"\r\n  ],\r\n  \"DEPARTURELOCATION\": \"LAX\",\r\n  \"arrivalLocation\": \"ORD\",\r\n  \"actualTimeOfDeparture\": \"2025-04-15T14:30:45-07:00\",\r\n  \"estimateTimeOfArrival\": \"2025-04-16T11:10:10-07:00\",\r\n  \"transportType\": \"airplane\",\r\n  \"transportVehicleType\": \"airplane\",\r\n  \"sealNumber\": \"3542561803\",\r\n  \"flightNumber\": \"DL5678\",\r\n  \"fillLevel\": \"10\",\r\n  \"loadUnitID\": \"2025042513dd92eb84\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ship.gls-us.com/v2/Transportation","description":"<h4 id=\"request-header\">Request Header</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Token</td>\n<td>Access Token</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n</tr>\n<tr>\n<td>Accept-Encoding</td>\n<td>gZip or deflate (Optional)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-body\">Request Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th><strong>Max Length</strong></th>\n<th><strong>Required</strong></th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AccountNumber</td>\n<td>int</td>\n<td>10</td>\n<td>Yes</td>\n<td>Shipper’s GLS account number..</td>\n</tr>\n<tr>\n<td>TrackingNumber</td>\n<td>Array</td>\n<td>20</td>\n<td>Yes</td>\n<td>Each tracking number should be of minimum 6 to 20 characters.</td>\n</tr>\n<tr>\n<td>DepartureLocation</td>\n<td>string</td>\n<td>20</td>\n<td>No</td>\n<td>Location of Departure</td>\n</tr>\n<tr>\n<td>ArrivalLocation</td>\n<td>string</td>\n<td>20</td>\n<td>No</td>\n<td>Location of Arrival</td>\n</tr>\n<tr>\n<td>TransportType</td>\n<td>string</td>\n<td>50</td>\n<td>No</td>\n<td>TransportMode is an optional field. If provided, the value must be valid.  <br /><strong>Allowed values are:</strong>  <br />\"Airplane\" and \"Truck\".</td>\n</tr>\n<tr>\n<td>TransportVehicleType</td>\n<td>string</td>\n<td>50</td>\n<td>No</td>\n<td>This field is optional. If provided, the input must be valid.  <br /><strong>Allowed values are:</strong>  <br />\"Airplane\", \"Truck\", \"Trailer\", and \"Small Truck\".</td>\n</tr>\n<tr>\n<td>ActualTimeOfDeparture</td>\n<td>Datetime</td>\n<td></td>\n<td>No</td>\n<td>ActualDepartureTime must be provided in the ISO 8601 format: yyyy-MM-ddTHH:mm:sszzz (e.g., 2025-04-10T15:30:00+05:30). This value represents the actual departure timestamp, including the time zone offset.</td>\n</tr>\n<tr>\n<td>EstimateTimeOfArrival</td>\n<td>Datetime</td>\n<td></td>\n<td>No</td>\n<td>EstimateTimeOfArrival must be provided in the ISO 8601 format: yyyy-MM-ddTHH:mm:sszzz (e.g., 2025-04-10T15:30:00+05:30). This value represents the actual departure timestamp, including the time zone offset.</td>\n</tr>\n<tr>\n<td>SealNumber</td>\n<td>string</td>\n<td>10</td>\n<td>No</td>\n<td>If the user does not provide a seal number, the system will automatically generate a unique SealNumber.</td>\n</tr>\n<tr>\n<td>LoadUnitID</td>\n<td>string</td>\n<td>25</td>\n<td>No</td>\n<td>If the user does not provide a LoadUnitID, the system will automatically generate a unique LoadUnitID.</td>\n</tr>\n<tr>\n<td>FlightNumber</td>\n<td>string</td>\n<td>20</td>\n<td>No</td>\n<td>Flight number for air shipments</td>\n</tr>\n<tr>\n<td>FillLevel</td>\n<td>string</td>\n<td>10</td>\n<td>No</td>\n<td>Fill Level indicates how full the transport unit is. <strong>Allowed values are:</strong>  <br />10, 25, 50, 75, 90, and 100</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response\">Response</h4>\n<p>The response for this request will be in the form of a JSON schema with the following properties:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>TotalCount</td>\n<td>Integer</td>\n<td>The total count of tracking numbers is provided on the request.</td>\n</tr>\n<tr>\n<td>SuccessCount</td>\n<td>integer</td>\n<td>The number of tracking numbers successfully processed</td>\n</tr>\n<tr>\n<td>FailureCount</td>\n<td>integer</td>\n<td>The number of tracking numbers failed to process</td>\n</tr>\n<tr>\n<td>MissingCount</td>\n<td>integer</td>\n<td>The number of tracking numbers not available in the GLS system</td>\n</tr>\n<tr>\n<td>StatusCode</td>\n<td>Integer</td>\n<td>The HTTP Status code for the request.  <br />200 – Successful Request  <br />400 – Bad Request  <br />401 – Unauthorized  <br />500 – Internal Server Error</td>\n</tr>\n<tr>\n<td>StatusDescription</td>\n<td>String</td>\n<td>The HTTP Status description for the request.</td>\n</tr>\n<tr>\n<td>AuthenticationResultCode</td>\n<td>Integer</td>\n<td>A status code that offers additional information about authentication success or failure.  <br /><strong>Code</strong></td>\n</tr>\n<tr>\n<td>RequestDateTime</td>\n<td>DateTime</td>\n<td>The Datetime of the request sent to the server. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ResponseDateTime</td>\n<td>DateTime</td>\n<td>The Datetime of the response sent back to the Client. This will be returned in JSON ISO 8601 format.</td>\n</tr>\n<tr>\n<td>ErrorCount</td>\n<td>Integer</td>\n<td>Count of the errors. By default, it will be 0.</td>\n</tr>\n<tr>\n<td>ErrorDetail</td>\n<td>Error[]</td>\n<td>An array of error objects, each containing:  <br />• ErrorCode (Integer)  <br />• ErrorDescription (String, max length: 255)  <br />If no errors are present, this field will be null</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"error\">Error</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ErrorCode</td>\n<td>Integer</td>\n<td>Code for the Error.</td>\n</tr>\n<tr>\n<td>ErrorDescription</td>\n<td>String(255)</td>\n<td>Description of the Error</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","Transportation"],"host":["https://ship.gls-us.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd02644c-c195-44a6-b4f5-7f9ee7d62976"}],"id":"ac2c4b7a-b00d-4730-8ac4-6890c97837f2","description":"<p>The <strong>Transportation</strong> endpoint is used to submit transportation-related data to <strong>GLS US</strong>. The primary purpose of this endpoint is to allow GLS US to capture and store transportation data within the system for operational, tracking, or compliance purposes.</p>\n<blockquote>\n<p><strong>Note:</strong> All submitted data must conform to the required schema and validation rules. Optional fields, if provided, must contain valid and correctly formatted values.</p>\n</blockquote>\n","_postman_id":"ac2c4b7a-b00d-4730-8ac4-6890c97837f2"},{"name":"UploadCommercialInvoice","item":[{"name":"UploadCommercialInvoice","id":"02ea6f9a-054e-42f5-a7bb-5e60d5b275b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"file","file":{"src":"postman-cloud:///1f021f20-d12b-4f20-994d-ad70b4fc0ae1"}},"url":"https://ship.gls-us.com/v2/Documents/invoice/upload?AccountNumber=9999999&TrackingNumber=testtracking","urlObject":{"path":["v2","Documents","invoice","upload"],"host":["https://ship.gls-us.com"],"query":[{"key":"AccountNumber","value":"9999999"},{"key":"TrackingNumber","value":"testtracking"}],"variable":[]}},"response":[{"id":"3f868662-b72a-4cd1-ba0b-95ec68063c9a","name":"Success","originalRequest":{"method":"GET","header":[],"body":{"mode":"file","file":{"src":"postman-cloud:///1f021f20-d12b-4f20-994d-ad70b4fc0ae1"}},"url":{"raw":"https://ship.gls-us.com/v2/Documents/invoice/upload?AccountNumber=9999999&TrackingNumber=testtracking","host":["https://ship.gls-us.com"],"path":["v2","Documents","invoice","upload"],"query":[{"key":"AccountNumber","value":"9999999"},{"key":"TrackingNumber","value":"testtracking"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"AccountNumber\": 9999999,\r\n    \"TrackingNumber\": \"0720251036e40913749\",\r\n    \"DownloadUrl\": \"https://gls-customer-portal-dev.s3.us-west-1.amazonaws.com/CommercialInvoice/\",\r\n    \"StatusCode\": 200,\r\n    \"StatusDescription\": \"OK\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2025-07-22T09:32:44.1413018-07:00\",\r\n    \"ResponseDateTime\": \"2025-07-22T09:32:46.715199-07:00\",\r\n    \"ErrorCount\": 0,\r\n    \"ErrorDetail\": null\r\n}"},{"id":"f6cafcc3-a08d-4b09-b0aa-9d47c97be79c","name":"Bad Request","originalRequest":{"method":"GET","header":[],"body":{"mode":"file","file":{"src":"postman-cloud:///1f021f20-d12b-4f20-994d-ad70b4fc0ae1"}},"url":{"raw":"https://ship.gls-us.com/v2/Documents/invoice/upload?AccountNumber=9999999&TrackingNumber=testtracking","host":["https://ship.gls-us.com"],"path":["v2","Documents","invoice","upload"],"query":[{"key":"AccountNumber","value":"9999999"},{"key":"TrackingNumber","value":"testtracking"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"AccountNumber\": null,\r\n    \"TrackingNumber\": null,\r\n    \"DownloadUrl\": null,\r\n    \"StatusCode\": 400,\r\n    \"StatusDescription\": \"BadRequest\",\r\n    \"AuthenticationResultCode\": 0,\r\n    \"RequestDateTime\": \"2025-05-28T16:34:25.8228542-07:00\",\r\n    \"ResponseDateTime\": \"2025-05-28T16:34:25.8672443-07:00\",\r\n    \"ErrorCount\": 1,\r\n    \"ErrorDetail\": [\r\n        {\r\n            \"ErrorCode\": \"Failure\",\r\n            \"ErrorDescription\": \"No Shipment found.\"\r\n        }\r\n    ]\r\n}"},{"id":"2c1663a3-20ff-414c-968e-3a7206023652","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"body":{"mode":"file","file":{"src":"postman-cloud:///1f021f20-d12b-4f20-994d-ad70b4fc0ae1"}},"url":{"raw":"https://ship.gls-us.com/v2/Documents/invoice/upload?AccountNumber=9999999&TrackingNumber=testtracking","host":["https://ship.gls-us.com"],"path":["v2","Documents","invoice","upload"],"query":[{"key":"AccountNumber","value":"9999999"},{"key":"TrackingNumber","value":"testtracking"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"StatusCode\": 401,\r\n    \"StatusDescription\": \"Unauthorized\",\r\n    \"AuthenticationResultCode\": 2,\r\n    \"RequestDateTime\": \"2025-05-14T14:55:14.8506889-07:00\",\r\n    \"ResponseDateTime\": \"2025-05-15T15:31:18.0812038-07:00\",\r\n    \"ErrorCount\": 1,\r\n    \"ErrorDetail\": [\r\n        {\r\n            \"ErrorCode\": \"Failure\",\r\n            \"ErrorDescription\": \"Token has been expired. Please request for new Token.\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"02ea6f9a-054e-42f5-a7bb-5e60d5b275b0"}],"id":"87fd14cd-c713-49e6-9374-caf81ee7dd85","description":"<p>This endpoint allows customers to upload their commercial invoice. The uploaded invoice will be used by GLS during the customs clearance process.</p>\n","_postman_id":"87fd14cd-c713-49e6-9374-caf81ee7dd85"},{"name":"ShopDelivery(Under Development)","item":[{"name":"ShopDelivery/Addresses","id":"2f4acd18-4cfe-460b-8911-3ae5b2139321","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Token","value":"xxxx","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"AccountNumber\":999999,  \r\n  \"CountryCode\": \"DE\",\r\n  \"ZIPCode\": \"80331\",\r\n  \"Distance\": 50,\r\n  \"Street\": \"Alleestraße\",\r\n  \"HouseNumber\": \"13a\",\r\n  \"City\": \"Munich\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ship.gls-us.com/v2/ShopDelivery/Addresses","description":"<h4 id=\"🧾request-header\">🧾Request Header</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Token</td>\n<td>Access Token</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n</tr>\n<tr>\n<td>Accept-Encoding</td>\n<td>gZip or deflate (Optional)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"📥request-body\"><strong>📥</strong>Request Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type, Length, Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>AccountNumber</strong></td>\n<td>int (20), Required: Yes</td>\n<td>Shipper’s GLS account number.</td>\n</tr>\n<tr>\n<td>Distance</td>\n<td>integer, Required: No</td>\n<td>Radius within which the parcel shop is searched (max 50 km)</td>\n</tr>\n<tr>\n<td>Street</td>\n<td>string (50), Required: No</td>\n<td>Street name of the requested address.</td>\n</tr>\n<tr>\n<td>HouseNumber</td>\n<td>string (10), Required: No</td>\n<td>House number of the address</td>\n</tr>\n<tr>\n<td><strong>ZIPCode</strong></td>\n<td>string (10), Required: Yes</td>\n<td>If the country of the address works with postal codes, the value must correspond to the specification of the country. If the country does not use zip codes, the attribute may be omitted or an empty string may be transferred.</td>\n</tr>\n<tr>\n<td>City</td>\n<td>string (50), Required: No</td>\n<td>Name of city the postal code is assigned to.</td>\n</tr>\n<tr>\n<td><strong>CountryCode</strong></td>\n<td>string (2), Required: Yes</td>\n<td>Country of the address in ISO 3166-1 alpha-2 country code. For example, \"DE\" equals Germany.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"📥response-body\"><strong>📥</strong>Response Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ParcelShop</td>\n<td>List</td>\n<td>List of parcel shops. See <a href=\"#parcelshop\">ParcelShop</a> section below.</td>\n</tr>\n<tr>\n<td>Status</td>\n<td>ApiStatus</td>\n<td>API response status. See <a href=\"#status\">Status</a> section below.</td>\n</tr>\n<tr>\n<td>Errors</td>\n<td>List</td>\n<td>List of API field errors. See <a href=\"#error\">Error</a> section below.</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"📦-parcelshop\">📦 ParcelShop</h5>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ParcelShopID</td>\n<td>String</td>\n<td>Unique identifier for the parcel shop</td>\n</tr>\n<tr>\n<td>Coordinates</td>\n<td>ParcelShopCoordinates</td>\n<td>Geographic coordinates. See <a href=\"#parcelshopcoordinates\">ParcelShopCoordinates</a> section below.</td>\n</tr>\n<tr>\n<td>StraightlineDistance</td>\n<td>String</td>\n<td>Distance from input address. See <a href=\"#straightlinedistance\">StraightlineDistance</a> section below.</td>\n</tr>\n<tr>\n<td>Address</td>\n<td>ParcelShopAddress</td>\n<td>Parcel shop address details. See <a href=\"#ParcelShopAddress\">ParcelShopAddress</a> section below.</td>\n</tr>\n<tr>\n<td>OpeningTimes</td>\n<td>List</td>\n<td>Opening times for the parcel shop. See <a href=\"#OpeningTimes\">OpeningTimes</a> section below.</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"📍-parcelshopcoordinates\">📍 ParcelShopCoordinates</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Latitude</td>\n<td>Decimal</td>\n<td>Latitude of the parcel shop</td>\n</tr>\n<tr>\n<td>Longitude</td>\n<td>Decimal</td>\n<td>Longitude of the parcel shop</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"🏠-parcelshopaddress\">🏠 ParcelShopAddress</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ParcelShopName</td>\n<td>String</td>\n<td>Name of the parcel shop</td>\n</tr>\n<tr>\n<td>Street</td>\n<td>String</td>\n<td>Street name</td>\n</tr>\n<tr>\n<td>HouseNumber</td>\n<td>String</td>\n<td>House number of the parcel shop</td>\n</tr>\n<tr>\n<td>ZIPCode</td>\n<td>String</td>\n<td>Postal/ZIP code</td>\n</tr>\n<tr>\n<td>City</td>\n<td>String</td>\n<td>City name</td>\n</tr>\n<tr>\n<td>CountryCode</td>\n<td>String</td>\n<td>Country of the address in ISO 3166-1 alpha-2 country code. For example \"DE\" equals Germany</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"🕒-openingtimes\">🕒 OpeningTimes</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>DayOfWeek</td>\n<td>String</td>\n<td>Day of the week</td>\n</tr>\n<tr>\n<td>OpeningHours</td>\n<td>List</td>\n<td>List of opening time intervals</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"⏰-hours\">⏰ Hours</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>From</td>\n<td>String</td>\n<td>Opening time</td>\n</tr>\n<tr>\n<td>To</td>\n<td>String</td>\n<td>Closing time</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"❌-error-response\">❌ Error Response</h5>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Status</td>\n<td>ApiStatus</td>\n<td>API response status. See <a href=\"#status\">Status</a> section below.</td>\n</tr>\n<tr>\n<td>Errors</td>\n<td>List</td>\n<td>List of validation or business errors. See <a href=\"#errors\">Errors</a> section below.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h5 id=\"📊-status\">📊 Status</h5>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Code</td>\n<td>String</td>\n<td>Result of the API call (e.g., VALIDATION_FAILED, ERROR)</td>\n</tr>\n<tr>\n<td>HttpStatus</td>\n<td>Integer</td>\n<td>HTTP status code returned by the API (e.g., 400, 500)</td>\n</tr>\n<tr>\n<td>Message</td>\n<td>String</td>\n<td>Description of the error (e.g., \"One or more validation errors occurred.\")</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h5 id=\"⚠️-errors\">⚠️ Errors</h5>\n<p><a href=\"null\"></a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Field</td>\n<td>String</td>\n<td>Name of the field that caused the error (e.g., \"countryCode\")</td>\n</tr>\n<tr>\n<td>Message</td>\n<td>String</td>\n<td>Description of the validation error (e.g., \"Invalid Country Code.\")</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","ShopDelivery","Addresses"],"host":["https://ship.gls-us.com"],"query":[],"variable":[]}},"response":[{"id":"dee935ee-e895-4ba5-8821-1e7346070d7c","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Token","value":"xxxx"}],"body":{"mode":"raw","raw":"{\r\n  \"AccountNumber\":999999,  \r\n  \"CountryCode\": \"IT\",\r\n  \"ZIPCode\": \"37131\",\r\n  \"Distance\": 1,\r\n  \"Street\": \"Via Fincato\",\r\n  \"HouseNumber\": \"32\",\r\n  \"City\": \"Verona\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ship.gls-us.com/v2/ShopDelivery/Addresses"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"Status\": {\r\n        \"Code\": \"BAD_REQUEST\",\r\n        \"HttpStatus\": 400,\r\n        \"Message\": \"One or more validation errors occurred.\"\r\n    },\r\n    \"Errors\": [\r\n        {\r\n            \"Field\": \"CountryCode\",\r\n            \"Message\": \"Error Message\"\r\n        }\r\n    ],\r\n    \"ParcelShop\": null\r\n}"},{"id":"e559ec9a-b3c4-4434-9b56-ffc8f921f28e","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Token","value":"xxxx","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"AccountNumber\":999999,  \r\n  \"CountryCode\": \"DE\",\r\n  \"ZIPCode\": \"80331\",\r\n  \"Distance\": 50,\r\n  \"Street\": \"Alleestraße\",\r\n  \"HouseNumber\": \"13a\",\r\n  \"City\": \"Munich\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ship.gls-us.com/v2/ShopDelivery/Addresses"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"Status\": {\r\n        \"Code\": \"SUCCESS\",\r\n        \"HttpStatus\": 200,\r\n        \"Message\": \"Parcel shops retrieved successfully.\"\r\n    },\r\n    \"Errors\": [],\r\n    \"ParcelShop\": [\r\n        {\r\n            \"ParcelShopID\": \"PRP_IT-404797\",\r\n            \"Coordinates\": {\r\n                \"Latitude\": 45.4405482,\r\n                \"Longitude\": 11.0173739\r\n            },\r\n            \"StraightlineDistance\": \"0.2732234\",\r\n            \"Address\": {\r\n                \"ParcelShopName\": \"POSTAEXPRESS\",\r\n                \"Street\": \"VIA ROSA MORANDO\",\r\n                \"HouseNumber\": \"18/A\",\r\n                \"ZIPCode\": \"37131\",\r\n                \"City\": \"Verona\",\r\n                \"CountryCode\": \"IT\"\r\n            },\r\n            \"OpeningTimes\": [\r\n                {\r\n                    \"DayOfWeek\": \"MON\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"TUE\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"WED\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"THU\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"FRI\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"SAT\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:00\",\r\n                            \"To\": \"14:00\"\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"ParcelShopID\": \"PRP_IT-164417\",\r\n            \"Coordinates\": {\r\n                \"Latitude\": 45.442486,\r\n                \"Longitude\": 11.0219998\r\n            },\r\n            \"StraightlineDistance\": \"0.298484\",\r\n            \"Address\": {\r\n                \"ParcelShopName\": \"Bar Hellas\",\r\n                \"Street\": \"Via Gerolamo Campagna\",\r\n                \"HouseNumber\": \"6\",\r\n                \"ZIPCode\": \"37131\",\r\n                \"City\": \"Verona\",\r\n                \"CountryCode\": \"IT\"\r\n            },\r\n            \"OpeningTimes\": [\r\n                {\r\n                    \"DayOfWeek\": \"MON\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"07:00\",\r\n                            \"To\": \"20:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"TUE\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"07:00\",\r\n                            \"To\": \"20:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"WED\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"07:00\",\r\n                            \"To\": \"20:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"THU\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"07:00\",\r\n                            \"To\": \"20:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"FRI\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"07:00\",\r\n                            \"To\": \"20:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"SAT\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"07:00\",\r\n                            \"To\": \"20:00\"\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"ParcelShopID\": \"PRP_IT-164960\",\r\n            \"Coordinates\": {\r\n                \"Latitude\": 45.4398658,\r\n                \"Longitude\": 11.016432\r\n            },\r\n            \"StraightlineDistance\": \"0.36866605\",\r\n            \"Address\": {\r\n                \"ParcelShopName\": \"L'Arena\",\r\n                \"Street\": \"Corso Venezia\",\r\n                \"HouseNumber\": \"3A\",\r\n                \"ZIPCode\": \"37131\",\r\n                \"City\": \"Verona\",\r\n                \"CountryCode\": \"IT\"\r\n            },\r\n            \"OpeningTimes\": [\r\n                {\r\n                    \"DayOfWeek\": \"MON\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"06:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"TUE\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"06:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"WED\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"06:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"THU\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"06:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"FRI\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"06:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"SAT\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"06:00\",\r\n                            \"To\": \"12:30\"\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"ParcelShopID\": \"PRP_IT-317035\",\r\n            \"Coordinates\": {\r\n                \"Latitude\": 45.4402108,\r\n                \"Longitude\": 11.0145641\r\n            },\r\n            \"StraightlineDistance\": \"0.41651073\",\r\n            \"Address\": {\r\n                \"ParcelShopName\": \"FAST X EXCHANGE DI DIAS MAHATHELGE\",\r\n                \"Street\": \"SALITA SAN SEPOLCRO\",\r\n                \"HouseNumber\": \"5\",\r\n                \"ZIPCode\": \"37129\",\r\n                \"City\": \"Verona\",\r\n                \"CountryCode\": \"IT\"\r\n            },\r\n            \"OpeningTimes\": [\r\n                {\r\n                    \"DayOfWeek\": \"MON\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"TUE\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"WED\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"THU\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"FRI\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:00\",\r\n                            \"To\": \"19:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"SAT\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:00\",\r\n                            \"To\": \"18:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"SUN\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:00\",\r\n                            \"To\": \"13:00\"\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"ParcelShopID\": \"PRP_IT-26714\",\r\n            \"Coordinates\": {\r\n                \"Latitude\": 45.4413975,\r\n                \"Longitude\": 11.0237064\r\n            },\r\n            \"StraightlineDistance\": \"0.460378\",\r\n            \"Address\": {\r\n                \"ParcelShopName\": \"Computer lab\",\r\n                \"Street\": \"Via Paolo Caliari\",\r\n                \"HouseNumber\": \"2 b\",\r\n                \"ZIPCode\": \"37131\",\r\n                \"City\": \"VERONA\",\r\n                \"CountryCode\": \"IT\"\r\n            },\r\n            \"OpeningTimes\": [\r\n                {\r\n                    \"DayOfWeek\": \"MON\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"19:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"TUE\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"19:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"WED\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"19:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"THU\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"19:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"FRI\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"19:30\"\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"ParcelShopID\": \"PRP_IT-464017\",\r\n            \"Coordinates\": {\r\n                \"Latitude\": 45.4403983,\r\n                \"Longitude\": 11.0112773\r\n            },\r\n            \"StraightlineDistance\": \"0.61173105\",\r\n            \"Address\": {\r\n                \"ParcelShopName\": \"UNYFAST\",\r\n                \"Street\": \"VIA SAN NAZARO\",\r\n                \"HouseNumber\": \"43\",\r\n                \"ZIPCode\": \"37100\",\r\n                \"City\": \"Verona\",\r\n                \"CountryCode\": \"IT\"\r\n            },\r\n            \"OpeningTimes\": [\r\n                {\r\n                    \"DayOfWeek\": \"MON\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"18:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"TUE\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"18:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"WED\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"18:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"THU\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"18:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"FRI\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"18:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"SAT\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"10:00\",\r\n                            \"To\": \"17:00\"\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"ParcelShopID\": \"PRP_IT-555115\",\r\n            \"Coordinates\": {\r\n                \"Latitude\": 45.4388909,\r\n                \"Longitude\": 11.0093016\r\n            },\r\n            \"StraightlineDistance\": \"0.82962364\",\r\n            \"Address\": {\r\n                \"ParcelShopName\": \"Oro nero cafe\",\r\n                \"Street\": \"Via cantarane\",\r\n                \"HouseNumber\": \"6a\",\r\n                \"ZIPCode\": \"37129\",\r\n                \"City\": \"Verona\",\r\n                \"CountryCode\": \"IT\"\r\n            },\r\n            \"OpeningTimes\": [\r\n                {\r\n                    \"DayOfWeek\": \"MON\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"07:00\",\r\n                            \"To\": \"22:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"TUE\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"07:00\",\r\n                            \"To\": \"22:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"WED\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"07:00\",\r\n                            \"To\": \"23:59\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"THU\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"07:00\",\r\n                            \"To\": \"22:00\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"FRI\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"07:00\",\r\n                            \"To\": \"23:59\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"SAT\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"00:00\",\r\n                            \"To\": \"23:59\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"SUN\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"00:00\",\r\n                            \"To\": \"12:00\"\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"ParcelShopID\": \"PRP_IT-1052\",\r\n            \"Coordinates\": {\r\n                \"Latitude\": 45.4504706,\r\n                \"Longitude\": 11.0195267\r\n            },\r\n            \"StraightlineDistance\": \"0.8455385\",\r\n            \"Address\": {\r\n                \"ParcelShopName\": \"Smokie - La Piazzetta\",\r\n                \"Street\": \"VIA FINCATO\",\r\n                \"HouseNumber\": \"53 B\",\r\n                \"ZIPCode\": \"37131\",\r\n                \"City\": \"Verona\",\r\n                \"CountryCode\": \"IT\"\r\n            },\r\n            \"OpeningTimes\": [\r\n                {\r\n                    \"DayOfWeek\": \"MON\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"19:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"TUE\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"19:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"WED\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"19:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"THU\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"19:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"FRI\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"19:30\"\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"DayOfWeek\": \"SAT\",\r\n                    \"OpeningHours\": [\r\n                        {\r\n                            \"From\": \"09:30\",\r\n                            \"To\": \"19:30\"\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}"},{"id":"168dacde-4bd1-4633-8d03-bb92ecfe8f6a","name":"Server Error","originalRequest":{"method":"POST","header":[{"key":"Token","value":"xxxx"}],"body":{"mode":"raw","raw":"{\r\n  \"AccountNumber\":999999,  \r\n  \"CountryCode\": \"DE\",\r\n  \"ZIPCode\": \"80331\",\r\n  \"Distance\": 50,\r\n  \"Street\": \"Alleestraße\",\r\n  \"HouseNumber\": \"13a\",\r\n  \"City\": \"Munich\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ship.gls-us.com/v2/ShopDelivery/Addresses"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"Status\": {\r\n        \"Code\": \"Internal Server Error\",\r\n        \"HttpStatus\": 500,\r\n        \"Message\": \"One or more validation errors occurred.\"\r\n    },\r\n    \"Errors\": [\r\n        {\r\n            \"Field\": \"CountryCode\",\r\n            \"Message\": \"Error Message\"\r\n        }\r\n    ],\r\n    \"ParcelShop\": null\r\n}"},{"id":"59178359-78dd-4496-b3e7-729b90477f53","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Token","value":"xxxx"}],"body":{"mode":"raw","raw":"{\r\n  \"AccountNumber\":999999,  \r\n  \"CountryCode\": \"DE\",\r\n  \"ZIPCode\": \"80331\",\r\n  \"Distance\": 50,\r\n  \"Street\": \"Alleestraße\",\r\n  \"HouseNumber\": \"13a\",\r\n  \"City\": \"Munich\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ship.gls-us.com/v2/ShopDelivery/Addresses"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"Status\": {\r\n        \"Code\": \"Unauthorized\",\r\n        \"HttpStatus\": 401,\r\n        \"Message\": \"One or more validation errors occurred.\"\r\n    },\r\n    \"Errors\": [\r\n        {\r\n            \"Field\": \"AccountNumber\",\r\n            \"Message\": \"Token has been expired. Please request for new Token\"\r\n        }\r\n    ],\r\n    \"ParcelShop\": null\r\n}"}],"_postman_id":"2f4acd18-4cfe-460b-8911-3ae5b2139321"}],"id":"92991bae-364d-4b85-9a25-c4503ebe766f","description":"<p>This endpoint is used to identify available Parcel Shop locations, addresses, and hours of operation within a given location.</p>\n<blockquote>\n<p><strong>Note: This endpoint is currently under development and not ready for use. The documentation is only for reference purposes. There may be additional changes during the development.</strong></p>\n</blockquote>\n","_postman_id":"92991bae-364d-4b85-9a25-c4503ebe766f"},{"name":"Customs(Under Development)","item":[{"name":"Customs","id":"43449eeb-8d15-4432-9bb6-d62fbe76d791","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Token","value":"xxxx"}],"body":{"mode":"raw","raw":"{\r\n  \"AccountNumber\": \"1036\",\r\n  \"ConsignmentNumber\": \"98410004588\",\r\n  \"generateCommercialInvoice\": true,\r\n  \"PurchaseOrderNumber\": \"PO7\",\r\n  \"packageDescription\": \"Stationery\",\r\n  \"CommercialInvoiceNumber\": \"2025/INV/0626-1\",\r\n  \"IncotermCode\": \"10\",\r\n  \"importer\": {\r\n    \"address\": {\r\n      \"name1\": \"Importer name\",\r\n      \"street1\": \"Via della Rocca\",\r\n      \"postcode\": \"00118\",\r\n      \"city1\": \"Roccacasale/L'Aquila\",\r\n      \"countryCode\": \"IT\",\r\n      \"name2\": \"Importer Company\",\r\n      \"street2\": \"\",\r\n      \"houseNumber\": \"# 25\",\r\n      \"stateOrRegion\": \"WD\"\r\n    },\r\n    \"contactPerson\": {\r\n      \"name\": \"Importer contact name\",\r\n      \"emailAddress\": \"contact@example.com\",\r\n      \"phoneCountryPrefix\": \"+1\",\r\n      \"phoneNumber\": \"(510)340-4104\"\r\n    },\r\n    \"isCommercial\": false,\r\n    \"eoriNumber\": \"itlsdj\",\r\n    \"taxId\": \"itlkhs\"\r\n  },\r\n  \"exporter\": {\r\n    \"address\": {\r\n      \"name1\": \"Exporter name\",\r\n      \"street1\": \"4000 Parkway\",\r\n      \"postcode\": \"94583\",\r\n      \"city1\": \"San Ramon\",\r\n      \"countryCode\": \"US\",\r\n      \"name2\": \"Exporter Company name\",\r\n      \"street2\": \"Suit\",\r\n      \"houseNumber\": \"501\",\r\n      \"stateOrRegion\": \"CA\"\r\n    },\r\n    \"contactPerson\": {\r\n      \"name\": \"Exporter contact\",\r\n      \"emailAddress\": \"exporter@example.com\",\r\n      \"phoneCountryPrefix\": \"+1\",\r\n      \"phoneNumber\": \"(925) 487-2339\"\r\n    },\r\n    \"isCommercial\": true,\r\n    \"eoriNumber\": \"124\",\r\n    \"taxId\": \"2394723kh\",\r\n    \"swissUid\": \"usswissid\",\r\n    \"vatRegistrationNumber\": \"42412\",\r\n    \"authorizationNumber\": \"12098\",\r\n    \"loadingPlaceCode\": \"02397kdhkhrwe\"\r\n  },\r\n  \"itemDetails\": [\r\n    {\r\n      \"name\": \"Item 1\",\r\n      \"code\": \"8\",\r\n      \"pieceweight\": 1,\r\n      \"grosspieceweight\": \"1\",\r\n      \"quantity\": 1,\r\n      \"value\": \"35\",\r\n      \"hsCode\": \"\",\r\n      \"hsDescription\": \"Popular pencils\",\r\n      \"countryCodeOfOrigin\": \"NZ\"\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ship.gls-us.com/v2/Customs","description":"<h1 id=\"🛃-customs-declaration-api--request-body\">🛃 Customs Declaration API – Request Body</h1>\n<h2 id=\"schema\">Schema</h2>\n<p><strong>Description:</strong> Customs declaration request payload<br /><strong>Content-Type:</strong> <code>application/json</code></p>\n<hr />\n<h2 id=\"root-fields\">Root Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type (Max)</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AccountNumber</td>\n<td>int</td>\n<td>Yes</td>\n<td>GLS account number for billing</td>\n</tr>\n<tr>\n<td>ConsignmentNumber</td>\n<td>string (20)</td>\n<td>Yes</td>\n<td>Unique consignment/shipment number</td>\n</tr>\n<tr>\n<td>generateCommercialInvoice</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>Flag to generate a commercial invoice</td>\n</tr>\n<tr>\n<td>PurchaseOrderNumber</td>\n<td>string (50)</td>\n<td>No</td>\n<td>Purchase order number for reference</td>\n</tr>\n<tr>\n<td>packageDescription</td>\n<td>string (100)</td>\n<td>Yes</td>\n<td>Description of the package contents</td>\n</tr>\n<tr>\n<td>CommercialInvoiceNumber</td>\n<td>string (50)</td>\n<td>Yes</td>\n<td>Commercial invoice number</td>\n</tr>\n<tr>\n<td>IncotermCode</td>\n<td>string (enum)</td>\n<td>No</td>\n<td>Incoterm code defining shipping terms. Allowed values: <code>10, 11, 12, 18, 20, 21, 25, 30, 33, 40, 41, 50, 91</code></td>\n</tr>\n<tr>\n<td>importer</td>\n<td>object</td>\n<td>Yes</td>\n<td>Importer details for customs declaration</td>\n</tr>\n<tr>\n<td>exporter</td>\n<td>object</td>\n<td>Yes</td>\n<td>Exporter details for customs declaration</td>\n</tr>\n<tr>\n<td>itemDetails</td>\n<td>array</td>\n<td>Yes</td>\n<td>List of items in the shipment</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"importer\">Importer</h2>\n<p><strong>Description:</strong> Importer details for customs declaration</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>address</td>\n<td>object</td>\n<td>Yes</td>\n<td>Physical address information</td>\n</tr>\n<tr>\n<td>contactPerson</td>\n<td>object</td>\n<td>Yes</td>\n<td>Contact person information</td>\n</tr>\n<tr>\n<td>isCommercial</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>Indicates if the importer is a commercial entity</td>\n</tr>\n<tr>\n<td>eoriNumber</td>\n<td>string (50)</td>\n<td>No</td>\n<td>Economic Operators Registration and Identification (EORI) number</td>\n</tr>\n<tr>\n<td>taxId</td>\n<td>string (50)</td>\n<td>No</td>\n<td>Tax identification number</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"importeraddress\">Importer.Address</h2>\n<p><strong>Description:</strong> Physical address information</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type (Max)</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name1</td>\n<td>string (255)</td>\n<td>Yes</td>\n<td>Primary name (person or company)</td>\n</tr>\n<tr>\n<td>name2</td>\n<td>string (255)</td>\n<td>No</td>\n<td>Secondary name (company name or additional info)</td>\n</tr>\n<tr>\n<td>street1</td>\n<td>string (255)</td>\n<td>Yes</td>\n<td>Primary street address</td>\n</tr>\n<tr>\n<td>street2</td>\n<td>string (255)</td>\n<td>No</td>\n<td>Secondary street address (suite, unit, etc.)</td>\n</tr>\n<tr>\n<td>houseNumber</td>\n<td>string (50)</td>\n<td>Yes</td>\n<td>House or building number</td>\n</tr>\n<tr>\n<td>city1</td>\n<td>string (100)</td>\n<td>Yes</td>\n<td>City name</td>\n</tr>\n<tr>\n<td>stateOrRegion</td>\n<td>string (100)</td>\n<td>No</td>\n<td>State, province, or region code</td>\n</tr>\n<tr>\n<td>postcode</td>\n<td>string (50)</td>\n<td>Yes</td>\n<td>Postal or ZIP code</td>\n</tr>\n<tr>\n<td>countryCode</td>\n<td>string (2)</td>\n<td>Yes</td>\n<td>ISO 3166-1 alpha-2 country code</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"importercontactperson\">Importer.ContactPerson</h2>\n<p><strong>Description:</strong> Contact person information</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type (Max)</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string (255)</td>\n<td>Yes</td>\n<td>Full name of the contact person</td>\n</tr>\n<tr>\n<td>emailAddress</td>\n<td>string (255)</td>\n<td>Conditional</td>\n<td>Required when <code>phoneCountryPrefix</code> AND <code>phoneNumber</code> are empty</td>\n</tr>\n<tr>\n<td>phoneCountryPrefix</td>\n<td>string (10)</td>\n<td>Conditional</td>\n<td>Required when <code>phoneNumber</code> is provided</td>\n</tr>\n<tr>\n<td>phoneNumber</td>\n<td>string (50)</td>\n<td>Conditional</td>\n<td>Required when <code>emailAddress</code> is empty AND <code>phoneCountryPrefix</code> is provided</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contactperson-rule\">ContactPerson Rule</h3>\n<ul>\n<li>Either <code>emailAddress</code> <strong>OR</strong> (<code>phoneCountryPrefix</code> + <code>phoneNumber</code>) must be provided.</li>\n</ul>\n<hr />\n<h2 id=\"exporter\">Exporter</h2>\n<p><strong>Description:</strong> Exporter details for customs declaration</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>address</td>\n<td>object</td>\n<td>Yes</td>\n<td>Physical address information</td>\n</tr>\n<tr>\n<td>contactPerson</td>\n<td>object</td>\n<td>Yes</td>\n<td>Contact person information</td>\n</tr>\n<tr>\n<td>isCommercial</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>Indicates if the exporter is a commercial entity</td>\n</tr>\n<tr>\n<td>eoriNumber</td>\n<td>string (50)</td>\n<td>No</td>\n<td>Economic Operators Registration and Identification (EORI) number</td>\n</tr>\n<tr>\n<td>taxId</td>\n<td>string (50)</td>\n<td>No</td>\n<td>Tax identification number</td>\n</tr>\n<tr>\n<td>swissUid</td>\n<td>string (50)</td>\n<td>No</td>\n<td>Swiss UID number (for Swiss exporters)</td>\n</tr>\n<tr>\n<td>vatRegistrationNumber</td>\n<td>string (50)</td>\n<td>Conditional</td>\n<td>VAT registration number. Required only when <code>IncotermCode = 18</code></td>\n</tr>\n<tr>\n<td>authorizationNumber</td>\n<td>string (50)</td>\n<td>No</td>\n<td>Customs authorization number</td>\n</tr>\n<tr>\n<td>loadingPlaceCode</td>\n<td>string (50)</td>\n<td>No</td>\n<td>Code identifying the loading place</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"exporteraddress\">Exporter.Address</h2>\n<p><strong>Description:</strong> Physical address information<br /><strong>Fields are the same as Importer.Address.</strong></p>\n<hr />\n<h2 id=\"exportercontactperson\">Exporter.ContactPerson</h2>\n<p><strong>Description:</strong> Contact person information<br /><strong>Fields are the same as Importer.ContactPerson.</strong></p>\n<hr />\n<h2 id=\"itemdetails\">itemDetails</h2>\n<p><strong>Description:</strong> List of items in the shipment</p>\n<h3 id=\"itemdetails-itemdetail\">itemDetails[] (ItemDetail)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type (Max)</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string (100)</td>\n<td>Yes</td>\n<td>Name or description of the item</td>\n</tr>\n<tr>\n<td>code</td>\n<td>string (80)</td>\n<td>No</td>\n<td>Item code</td>\n</tr>\n<tr>\n<td>pieceweight</td>\n<td>decimal</td>\n<td>Yes</td>\n<td>Weight per piece in kilograms</td>\n</tr>\n<tr>\n<td>grosspieceweight</td>\n<td>decimal</td>\n<td>Yes</td>\n<td>Gross weight per piece (including packaging)</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>int</td>\n<td>Yes</td>\n<td>Number of pieces/units</td>\n</tr>\n<tr>\n<td>value</td>\n<td>decimal</td>\n<td>Yes</td>\n<td>Each item's value in US dollars</td>\n</tr>\n<tr>\n<td>hsCode</td>\n<td>int64</td>\n<td>Yes</td>\n<td>Harmonized System Code (6–10 digits, no decimal points)</td>\n</tr>\n<tr>\n<td>hsDescription</td>\n<td>string (80)</td>\n<td>No</td>\n<td>Description for the harmonized system code</td>\n</tr>\n<tr>\n<td>countryCodeOfOrigin</td>\n<td>string (55)</td>\n<td>Yes</td>\n<td>ISO country code indicating country of origin</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"required-fields-per-item\">Required fields per item</h3>\n<p><code>name</code>, <code>pieceweight</code>, <code>grosspieceweight</code>, <code>quantity</code>, <code>value</code>, <code>hsCode</code>, <code>countryCodeOfOrigin</code></p>\n","urlObject":{"path":["v2","Customs"],"host":["https://ship.gls-us.com"],"query":[],"variable":[]}},"response":[{"id":"83acd4b0-c6f8-4d58-aa0d-fc9b0912fc6d","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Token","value":"xxxx"}],"body":{"mode":"raw","raw":"{\r\n  \"AccountNumber\": \"1036\",\r\n  \"ConsignmentNumber\": \"98410004588\",\r\n  \"generateCommercialInvoice\": true,\r\n  \"PurchaseOrderNumber\": \"PO7\",\r\n  \"packageDescription\": \"Stationery\",\r\n  \"CommercialInvoiceNumber\": \"2025/INV/0626-1\",\r\n  \"IncotermCode\": \"10\",\r\n  \"importer\": {\r\n    \"address\": {\r\n      \"name1\": \"Importer name\",\r\n      \"street1\": \"Via della Rocca\",\r\n      \"postcode\": \"00118\",\r\n      \"city1\": \"Roccacasale/L'Aquila\",\r\n      \"countryCode\": \"IT\",\r\n      \"name2\": \"Importer Company\",\r\n      \"street2\": \"\",\r\n      \"houseNumber\": \"# 25\",\r\n      \"stateOrRegion\": \"WD\"\r\n    },\r\n    \"contactPerson\": {\r\n      \"name\": \"Importer contact name\",\r\n      \"emailAddress\": \"contact@example.com\",\r\n      \"phoneCountryPrefix\": \"+1\",\r\n      \"phoneNumber\": \"(510)340-4104\"\r\n    },\r\n    \"isCommercial\": false,\r\n    \"eoriNumber\": \"itlsdj\",\r\n    \"taxId\": \"itlkhs\"\r\n  },\r\n  \"exporter\": {\r\n    \"address\": {\r\n      \"name1\": \"Exporter name\",\r\n      \"street1\": \"4000 Parkway\",\r\n      \"postcode\": \"94583\",\r\n      \"city1\": \"San Ramon\",\r\n      \"countryCode\": \"US\",\r\n      \"name2\": \"Exporter Company name\",\r\n      \"street2\": \"Suit\",\r\n      \"houseNumber\": \"501\",\r\n      \"stateOrRegion\": \"CA\"\r\n    },\r\n    \"contactPerson\": {\r\n      \"name\": \"Exporter contact\",\r\n      \"emailAddress\": \"exporter@example.com\",\r\n      \"phoneCountryPrefix\": \"+1\",\r\n      \"phoneNumber\": \"(925) 487-2339\"\r\n    },\r\n    \"isCommercial\": true,\r\n    \"eoriNumber\": \"124\",\r\n    \"taxId\": \"2394723kh\",\r\n    \"swissUid\": \"usswissid\",\r\n    \"vatRegistrationNumber\": \"42412\",\r\n    \"authorizationNumber\": \"12098\",\r\n    \"loadingPlaceCode\": \"02397kdhkhrwe\"\r\n  },\r\n  \"itemDetails\": [\r\n    {\r\n      \"trackingNumber\":\"98410004588\",\r\n      \"name\": \"Item 1\",\r\n      \"code\": \"8\",\r\n      \"pieceweight\": 1,\r\n      \"grosspieceweight\": \"1\",\r\n      \"quantity\": 1,\r\n      \"value\": \"35\",\r\n      \"hsCode\": \"\",\r\n      \"hsDescription\": \"Popular pencils\",\r\n      \"countryCodeOfOrigin\": \"NZ\"\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ship.gls-us.com/v2/Customs"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"accountNumber\": 1036,\r\n  \"consignmentNumber\": \"10361229202512345678\",\r\n  \"CommercialInvoice\": {\r\n        \"PdfURL\": \"https://gls-customer-portal-dev.s3.us-west-1.amazonaws.com/CommercialInvoice/CommercialInvoice_20260107083514_98410004589.pdf?X-Amz-Expires=604800&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQQHDK7SF2SPCWEZA/20260107/us-west-1/s3/aws4_request&X-Amz-Date=20260107T163518Z&X-Amz-SignedHeaders=host&X-Amz-Signature=d9981f82738c48222be240c04bc60e8b146ea6c85615ce80d6a5596e33cce15c%22\"\r\n    },\r\n\r\n  \"status\": {\r\n    \"code\": \"SUCCESS\",\r\n    \"httpStatus\": 200,\r\n    \"message\": \"Customs created successfully\"\r\n  }\r\n \r\n}\r\n"},{"id":"63ee95f3-b62e-417a-a548-36d6327d9f96","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Token","value":"xxxx"}],"body":{"mode":"raw","raw":"{\r\n  \"AccountNumber\": \"1036\",\r\n  \"ConsignmentNumber\": \"98410004588\",\r\n  \"generateCommercialInvoice\": true,\r\n  \"PurchaseOrderNumber\": \"PO7\",\r\n  \"packageDescription\": \"Stationery\",\r\n  \"CommercialInvoiceNumber\": \"2025/INV/0626-1\",\r\n  \"IncotermCode\": \"10\",\r\n  \"importer\": {\r\n    \"address\": {\r\n      \"name1\": \"Importer name\",\r\n      \"street1\": \"Via della Rocca\",\r\n      \"postcode\": \"00118\",\r\n      \"city1\": \"Roccacasale/L'Aquila\",\r\n      \"countryCode\": \"IT\",\r\n      \"name2\": \"Importer Company\",\r\n      \"street2\": \"\",\r\n      \"houseNumber\": \"# 25\",\r\n      \"stateOrRegion\": \"WD\"\r\n    },\r\n    \"contactPerson\": {\r\n      \"name\": \"Importer contact name\",\r\n      \"emailAddress\": \"contact@example.com\",\r\n      \"phoneCountryPrefix\": \"+1\",\r\n      \"phoneNumber\": \"(510)340-4104\"\r\n    },\r\n    \"isCommercial\": false,\r\n    \"eoriNumber\": \"itlsdj\",\r\n    \"taxId\": \"itlkhs\"\r\n  },\r\n  \"exporter\": {\r\n    \"address\": {\r\n      \"name1\": \"Exporter name\",\r\n      \"street1\": \"4000 Parkway\",\r\n      \"postcode\": \"94583\",\r\n      \"city1\": \"San Ramon\",\r\n      \"countryCode\": \"US\",\r\n      \"name2\": \"Exporter Company name\",\r\n      \"street2\": \"Suit\",\r\n      \"houseNumber\": \"501\",\r\n      \"stateOrRegion\": \"CA\"\r\n    },\r\n    \"contactPerson\": {\r\n      \"name\": \"Exporter contact\",\r\n      \"emailAddress\": \"exporter@example.com\",\r\n      \"phoneCountryPrefix\": \"+1\",\r\n      \"phoneNumber\": \"(925) 487-2339\"\r\n    },\r\n    \"isCommercial\": true,\r\n    \"eoriNumber\": \"124\",\r\n    \"taxId\": \"2394723kh\",\r\n    \"swissUid\": \"usswissid\",\r\n    \"vatRegistrationNumber\": \"42412\",\r\n    \"authorizationNumber\": \"12098\",\r\n    \"loadingPlaceCode\": \"02397kdhkhrwe\"\r\n  },\r\n  \"itemDetails\": [\r\n    {\r\n      \"name\": \"Item 1\",\r\n      \"code\": \"8\",\r\n      \"pieceweight\": 1,\r\n      \"grosspieceweight\": \"1\",\r\n      \"quantity\": 1,\r\n      \"value\": \"35\",\r\n      \"hsCode\": \"\",\r\n      \"hsDescription\": \"Popular pencils\",\r\n      \"countryCodeOfOrigin\": \"NZ\"\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ship.gls-us.com/v2/Customs"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"Status\": {\r\n        \"Code\": \"VALIDATION_FAILED\",\r\n        \"HttpStatus\": 400,\r\n        \"Message\": \"One or more validation errors occurred.\"\r\n    },\r\n    \"Errors\": [\r\n        {\r\n            \"Field\": \"consignmentNumber\",\r\n            \"Message\": \"Consignment number is required.\"\r\n        },\r\n        {\r\n            \"Field\": \"commercialInvoiceNumber\",\r\n            \"Message\": \"Commercial invoice number is required.\"\r\n        },\r\n        {\r\n            \"Field\": \"exporter.contactPerson.phoneCountryPrefix\",\r\n            \"Message\": \"exporter/contactPerson: PhoneCountryPrefix is required.\"\r\n        }\r\n    ]\r\n}"},{"id":"ec99e9e3-5cf8-4e44-960e-17b18d05d914","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Token","value":"xxxx"}],"body":{"mode":"raw","raw":"{\r\n  \"AccountNumber\": \"1036\",\r\n  \"ConsignmentNumber\": \"98410004588\",\r\n  \"generateCommercialInvoice\": true,\r\n  \"PurchaseOrderNumber\": \"PO7\",\r\n  \"packageDescription\": \"Stationery\",\r\n  \"CommercialInvoiceNumber\": \"2025/INV/0626-1\",\r\n  \"IncotermCode\": \"10\",\r\n  \"importer\": {\r\n    \"address\": {\r\n      \"name1\": \"Importer name\",\r\n      \"street1\": \"Via della Rocca\",\r\n      \"postcode\": \"00118\",\r\n      \"city1\": \"Roccacasale/L'Aquila\",\r\n      \"countryCode\": \"IT\",\r\n      \"name2\": \"Importer Company\",\r\n      \"street2\": \"\",\r\n      \"houseNumber\": \"# 25\",\r\n      \"stateOrRegion\": \"WD\"\r\n    },\r\n    \"contactPerson\": {\r\n      \"name\": \"Importer contact name\",\r\n      \"emailAddress\": \"contact@example.com\",\r\n      \"phoneCountryPrefix\": \"+1\",\r\n      \"phoneNumber\": \"(510)340-4104\"\r\n    },\r\n    \"isCommercial\": false,\r\n    \"eoriNumber\": \"itlsdj\",\r\n    \"taxId\": \"itlkhs\"\r\n  },\r\n  \"exporter\": {\r\n    \"address\": {\r\n      \"name1\": \"Exporter name\",\r\n      \"street1\": \"4000 Parkway\",\r\n      \"postcode\": \"94583\",\r\n      \"city1\": \"San Ramon\",\r\n      \"countryCode\": \"US\",\r\n      \"name2\": \"Exporter Company name\",\r\n      \"street2\": \"Suit\",\r\n      \"houseNumber\": \"501\",\r\n      \"stateOrRegion\": \"CA\"\r\n    },\r\n    \"contactPerson\": {\r\n      \"name\": \"Exporter contact\",\r\n      \"emailAddress\": \"exporter@example.com\",\r\n      \"phoneCountryPrefix\": \"+1\",\r\n      \"phoneNumber\": \"(925) 487-2339\"\r\n    },\r\n    \"isCommercial\": true,\r\n    \"eoriNumber\": \"124\",\r\n    \"taxId\": \"2394723kh\",\r\n    \"swissUid\": \"usswissid\",\r\n    \"vatRegistrationNumber\": \"42412\",\r\n    \"authorizationNumber\": \"12098\",\r\n    \"loadingPlaceCode\": \"02397kdhkhrwe\"\r\n  },\r\n  \"itemDetails\": [\r\n    {\r\n      \"name\": \"Item 1\",\r\n      \"code\": \"8\",\r\n      \"pieceweight\": 1,\r\n      \"grosspieceweight\": \"1\",\r\n      \"quantity\": 1,\r\n      \"value\": \"35\",\r\n      \"hsCode\": \"\",\r\n      \"hsDescription\": \"Popular pencils\",\r\n      \"countryCodeOfOrigin\": \"NZ\"\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ship.gls-us.com/v2/Customs"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"8e786816-5220-4937-8fca-abfc6a3f1a14","name":"Server Error","originalRequest":{"method":"POST","header":[{"key":"Token","value":"xxxx"}],"body":{"mode":"raw","raw":"{\r\n  \"AccountNumber\": \"1036\",\r\n  \"ConsignmentNumber\": \"98410004588\",\r\n  \"generateCommercialInvoice\": true,\r\n  \"PurchaseOrderNumber\": \"PO7\",\r\n  \"packageDescription\": \"Stationery\",\r\n  \"CommercialInvoiceNumber\": \"2025/INV/0626-1\",\r\n  \"IncotermCode\": \"10\",\r\n  \"importer\": {\r\n    \"address\": {\r\n      \"name1\": \"Importer name\",\r\n      \"street1\": \"Via della Rocca\",\r\n      \"postcode\": \"00118\",\r\n      \"city1\": \"Roccacasale/L'Aquila\",\r\n      \"countryCode\": \"IT\",\r\n      \"name2\": \"Importer Company\",\r\n      \"street2\": \"\",\r\n      \"houseNumber\": \"# 25\",\r\n      \"stateOrRegion\": \"WD\"\r\n    },\r\n    \"contactPerson\": {\r\n      \"name\": \"Importer contact name\",\r\n      \"emailAddress\": \"contact@example.com\",\r\n      \"phoneCountryPrefix\": \"+1\",\r\n      \"phoneNumber\": \"(510)340-4104\"\r\n    },\r\n    \"isCommercial\": false,\r\n    \"eoriNumber\": \"itlsdj\",\r\n    \"taxId\": \"itlkhs\"\r\n  },\r\n  \"exporter\": {\r\n    \"address\": {\r\n      \"name1\": \"Exporter name\",\r\n      \"street1\": \"4000 Parkway\",\r\n      \"postcode\": \"94583\",\r\n      \"city1\": \"San Ramon\",\r\n      \"countryCode\": \"US\",\r\n      \"name2\": \"Exporter Company name\",\r\n      \"street2\": \"Suit\",\r\n      \"houseNumber\": \"501\",\r\n      \"stateOrRegion\": \"CA\"\r\n    },\r\n    \"contactPerson\": {\r\n      \"name\": \"Exporter contact\",\r\n      \"emailAddress\": \"exporter@example.com\",\r\n      \"phoneCountryPrefix\": \"+1\",\r\n      \"phoneNumber\": \"(925) 487-2339\"\r\n    },\r\n    \"isCommercial\": true,\r\n    \"eoriNumber\": \"124\",\r\n    \"taxId\": \"2394723kh\",\r\n    \"swissUid\": \"usswissid\",\r\n    \"vatRegistrationNumber\": \"42412\",\r\n    \"authorizationNumber\": \"12098\",\r\n    \"loadingPlaceCode\": \"02397kdhkhrwe\"\r\n  },\r\n  \"itemDetails\": [\r\n    {\r\n      \"name\": \"Item 1\",\r\n      \"code\": \"8\",\r\n      \"pieceweight\": 1,\r\n      \"grosspieceweight\": \"1\",\r\n      \"quantity\": 1,\r\n      \"value\": \"35\",\r\n      \"hsCode\": \"\",\r\n      \"hsDescription\": \"Popular pencils\",\r\n      \"countryCodeOfOrigin\": \"NZ\"\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ship.gls-us.com/v2/Customs"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"\r\n{\r\n    \"Status\": {\r\n        \"Code\": \"Internal Server Error\",\r\n        \"HttpStatus\": 500,\r\n        \"Message\": \"Internal Server Error.\"\r\n    },\r\n    \"Errors\": [\r\n        {\r\n            \"Field\": \"\",\r\n            \"Message\": \"oops! something went wrong.\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"43449eeb-8d15-4432-9bb6-d62fbe76d791"}],"id":"a27540e9-23fe-416d-a084-8e2c079c6cf2","description":"<p>This endpoint is used to submit customs declaration details for a shipment. It supports both import and export shipments and optionally generates a commercial invoice based on the request parameters. The API validates importer, exporter, address, contact, and item-level details before processing the request.</p>\n<blockquote>\n<p><strong>Note: This endpoint is currently under development</strong></p>\n</blockquote>\n","_postman_id":"a27540e9-23fe-416d-a084-8e2c079c6cf2"}],"id":"1035bbdb-be88-4381-a3ed-a285bb39ab96","_postman_id":"1035bbdb-be88-4381-a3ed-a285bb39ab96","description":""}],"event":[{"listen":"prerequest","script":{"id":"2547fdfa-36f6-43d2-8dd9-bf2ef6aa8df9","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"9e108c88-9959-40b3-b70e-78a0126e687c","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"id":"30ace478-c2b1-45a3-a4a4-c94a9483a81b","key":"baseUrl","value":"https://ship.gls-us.com"},{"id":"75bbaae9-e703-46d9-97c8-47b1f1ff6cfe","key":"token","value":"xxxx"}]}