Important changes regarding BREXIT
Brexit – requirements for export and import clearance after 01-01-2021
On January 1, 2021, all shipments sent to the UK will be subject to export and import clearance in the UK. Therefore, we are introducing new requirements for the data provided when generating labels. There will be a need to provide new additional values and add at least one product.
In order to carry out the clearance, it is required to provide the EORI number and the UK VAT number. To simplify the changes, these values should be provided once in the user profile in the Global24 system .
The new changes will be implemented on December 29, 2020 (so that goods cleared after January 1, 2021, at the border will already have all the necessary data).
New required values
Field name | Type | Required | Description |
---|---|---|---|
invoiceNumber | string(30) | Yes for GB from 29.12.2020 |
Sales invoice number |
orderValue | float(8,2) | Yes for GB from 29.12.2020 |
Order value |
currency | string(3) | Yes for GB from 29.12.2020 |
Currency Possible values:
|
At least one product is required
Field name | Type | Required | Description |
---|---|---|---|
name | string(255) | Yes for GB from 29.12.2020 | Product name |
number | string(255) | Yes for GB from 29.12.2020 | SKU, EAN, ASIN (product code) |
quantity | integer | Yes for GB from 29.12.2020 | Product quantity in the order |
price | float(8,2) | Yes for GB from 29.12.2020 | Gross sale price of the product in the currency provided in the currency field |
tariffCode | string(10) | Yes for GB from 29.12.2020 | Customs tariff code (8 or 10 digits) |
originCountry | string(2) | Yes for GB from 04.01.2021 | Country of origin (ISO) |
Example request
{ "userName": "username", "password": "password", "CreateShipmentsRequest002": { "shipmentType": "Delivery", "carrierName": "GB-ROYALMAIL", "shipperAddress": { "additionalDescription": "description" }, "receiverAddress": { "nameOrCompany": "Birmingham Hippodrome", "additionalDescription": "description", "address1": "Hurst Street", "address2": "Southside", "city": "Birmingham", "zipCode": "B5 4TB", "region": "", "country": "GB", "email": "test@email.com", "phone": "123456765", "taxId": "", "pickupId": null }, "invoiceNumber": "TT100/12/01/001", "orderValue": 100.50, "currency": "EUR", "payerAddress": null, "items": [ { "referenceID": "GoLabel0000", "referenceID2": "", "type": "RP", "weight": "2.50", "products": [ { "name": "turbocharger v1.3", "number": "458152587412584", "quantity": "1", "price": 80.50, "tariffCode": "85044030", "originCountry": "DE", "imageUrl": null } ] } ], "serviceLevel": { "service": "T48" }, "shipmentDescription1": "description", "shipmentDescription2": "" } }
1. General Information
1.1 CreateShipment
The method allows you to generate shipments. Shipments will be created only when all parcel data passes the verification process. If an error occurs and you cannot create shipments, the corresponding error message will be sent back to XML.
Address to send the request to:
- production: https://gorest.goglobal24.com/create-shipment
- test: http://test-gorest.goglobal24.com/create-shipment
I. Request structure
Authorization
The authorization structure is required for all requests. There are two ways to go through authorization in the GoLabel REST API. The first is the password and the username, while the second is the user's password. This data is provided by GoLabel administrators.
"hash": "{YourHash}", "userName": "{YourUsername}", "password": "{YourPassword}",
CreateShipmentsRequest002
The correct part of the request contains the most important information.
Types of shipments
Field name | Type | Required | Description |
---|---|---|---|
shipmentType | string() | Yes |
Type of shipment Possible values:
|
Example:
"shipmentType":"Delivery",
Carrier name
Field name | Type | Required | Description |
---|---|---|---|
carrierName | string() | Yes |
Carrier name Possible values:
|
Example:
"carrierName":"GB-ROYALMAIL",
Addresses
Address fields are used in the data in the query containing information about the sender, payer and recipient. All address data of the sender on deliveries of „Delivery” type and in the address of the recipient of „Return” type with the exception of additionalDescription that will be supplemented with address data of foreign Global24 points.
Field name | Type | Required | Description |
---|---|---|---|
nameOrCompany | string(35) | Yes |
Name |
additionalDescription | string(35) | No |
Additional information about the name / company or an additional |
address1 | string(35) | Yes |
Street name house/apartment no |
address2 | string(35) | No |
Addtional address information |
City | string(35) | Yes |
City |
zipCode |
|
Yes |
Zip Code |
Region | string(35) | No |
Region |
Country | string(2) | Yes |
Country code |
|
Yes |
Email address |
|
Phone |
|
No |
Phone number |
taxId | string(40) | No |
Tax ID |
pickupId | string(6) | No |
Pick up ID |
Example:
"shipperAddress": null, "receiverAddress":{ "nameOrCompany":"Birmingham Hippodrome", "additionalDescription":"", "address1":"Hurst Street", "address2":"Southside", "city":"Birmingham", "zipCode":"B5 4TB", "region":"", "country":"GB", "email":"test@email.com", "phone":"123456765", "taxId":"", "pickupId":null }, "payerAddress":null,
Items
A table containing elements with the specification of the item (package).
Field name | Type | Required | Description |
---|---|---|---|
referenceID |
|
Yes |
The unique order reference number for a given customer, required for each item if the order covers more than one item Allowed characters:
|
referenceID2 |
|
No |
Allowed characters:
In the case of cash on delivery shipments with PL-FEDEX courier, please provide the bank account number here (required format compliant with NRB standards, 26 digits). |
type | string(3) | Yes |
Possible values are described in the discussion of individual carriers. |
weight | float(10,2) | Yes |
Package weight. |
products | array | No |
Products. |
Products
A array containing elements with the specification of the products.
Field name | Type | Required | Description |
---|---|---|---|
name | string(255) | No | Product name or offer name on sales portals |
number |
|
No | SKU, EAN, ASIN (barcode on the product) |
quantity | int | No | Quantity of product in the order |
price | string(255) | No | Gross selling price of the product |
tariffCode | string(10) | No | Customs tariff code (8 or 10 digits) |
originCountry | string(2) | No | Country of origin (ISO) |
imageUrl | string(255) | No | Link to the product image |
Example:
"items":[ { "referenceID":"GoLabel0001", "referenceID2":"", "type":"RP", "weight":"2.50" }, { "referenceID":"GoLabel0002", "referenceID2":"", "type":"RP", "weight":"2.50", "products":[ { "name": "turbocharger v1.3", "number": "458152587412584", "quantity": "1", "price": "1125.45", "tariffCode": "85044030", "originCountry": "DE", "imageUrl": "url_to_photo.com" }, { "name": "socks", "number": "398155774553544", "quantity": "3" } ] } ],
Service level
Service
Specifies the type of shipping service. Possible types for given couriers are presented in their detailed descriptions.
Field name | Type | Required | Description |
---|---|---|---|
service | string(3) | Yes |
Service. Possible values are described in the discussion of individual carriers |
Example:
"service":"T48",
Cash on delivery service
COD must include details such as amount and currency type. Possible currencies for specific couriers are outlined in their detailed descriptions.
Field name | Type | Required | Description |
---|---|---|---|
amount | float(10,2) | Yes, if we add payment on delivery |
Amount |
currency | string(3) | Yes, if we add payment on delivery |
Currency |
Example:
"cod":{ "amount": 100, "currency": "EUR" }
Insurance
Insurance must contain data such as amount and type of currency. Possible currencies for couriers are presented in their detailed descriptions.
Field name | Type | Required | Description |
---|---|---|---|
amount | float(10,2) | Yes, if we add insurance |
Amount |
currency | string(3) | Yes, if we add insurance |
Currency |
description | string(255) | Yes, if we add insurance |
Description |
Example:
"insurance":{ "description": "", "amount": 100, "currency": "EUR" }
Description
It is possible to describe the package, the description will be displayed on the label with the couriers concerned.
Field name | Type | Required | Description |
---|---|---|---|
shipmentDescription1 | string(255) | No |
Package description |
shipmentDescription2 | string(255) | No |
Additional package description |
Example:
"shipmentDescription1":"Car parts", "shipmentDescription2":""
II. Example request
{ "userName":"username", "password":"password", "CreateShipmentsRequest002":{ "shipmentType":"Delivery", "carrierName":"DE-DHL", "shipperAddress":{ "additionalDescription":"description" }, "receiverAddress":{ "nameOrCompany":"Kathleen", "additionalDescription":"", "address1":"Packstation 131", "address2":"903729505", "city":"Weil am Rhein", "zipCode":"79576", "region":"", "country":"DE", "email":"test@email.com", "phone":"123456765", "taxId":"", "pickupId": null }, "payerAddress":null, "items":[ { "referenceID":"GoLabel00001", "referenceID2":"", "type":"NP", "weight":"1" }, { "referenceID":"GoLabel00002", "referenceID2":"", "type":"NP", "weight":"2.5" } ], "serviceLevel":{ "service":"DST", "cod":null, "insurance":null }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
III. Response structure
Status
The status of the request sent. Possible values:
- “OK” - request accepted successfully
- “Error” - the request was not accepted, the request needs to be modified
Message
Error message or additional information related to shipping
Example:
"message": { "uid": 14, "code": "E1108", "content": "The specified combination of the full zipCode and city could not be validated" }
Reponses
A table containing feedback for a particular package. In case one packet does not have any errors, the other one does not create any of them.
Example:
"responses": [ { "referenceID": "GoLabel00001", "created": "2019-02-12", "message": { "uid": 46, "code": "G0032", "content": "ReferenceID already used." }, "status": "Error", "id": 22674 }, { "referenceID": "GoLabel00002", "created": "2019-02-12", "status": "OK", "barcode": "123123123123", "tracking_number": "123123123", "id": 22675, "message": null } ],
IV. Example response
{ "responses": [ { "referenceID": "GoLabel00004", "created": "2019-02-12", "message": { "uid": 46, "code": "G0032", "content": "ReferenceID already used." }, "status": "Error", "id": 22674 }, { "referenceID": "GoLabel00005", "created": "2019-02-12", "status": "OK", "barcode": "WW123123123123", "tracking_number": "WW123123123", "id": 22675, "message": null } ], "status": "Error", "message": { "uid": 46, "code": "G0032", "content": "ReferenceID already used." } }
1.2 GetLabel
The method allows you to download individual or bulk shipping labels from the system. Completing this request is required for the package to appear in the courier's system. Labels can be generated in various formats and sizes.
Address to send the request to:
- production: https://gorest.goglobal24.com/get-label
- test: http://test-gorest.goglobal24.com/get-label
I. Request structure
Authorization
The authorization structure is required for all requests. There are two ways to go through authorization in the GoLabel REST API. The first is the password and the username, while the second is the user's password. This data is provided by GoLabel administrators.
"hash": "{YourHash}", "userName": "{YourUsername}", "password": "{YourPassword}",
GetLabelRequest
The correct part of the request contains the most important information.
Field name | Type | Required | Description |
---|---|---|---|
referenceID | string(35) | Yes |
The unique reference number of the order for a given customer. |
collectiveLabel | integer(1) | Yes |
Possible values:
|
labelFormat | string(3) | Yes |
Label format Possible values: PDF, SVG, JPG |
labelSize | string(2) | Yes |
Label size Possible values: A6, A4, A3 |
II. Example request
{ "userName": "username", "password": "password", "GetLabelRequest": { "referenceID": "GoLabel00001", "collectiveLabel": 1, "labelFormat": "PDF", "labelSize": "A4" } }
III. Response structure
Status
The status of the request sent. Possible values:
- “OK” - request accepted successfully
- ‘Error” - the request was not accepted, the request needs to be modified
Message
Error message or additional information related to shipping
Example:
"message": { "uid": 48, "code": "G0029", "content": "Incorrect labelFormat." }
Reponses
An array containing feedback for a particular package.
Name | Description |
---|---|
referenceID |
The unique reference number of the order for a given customer. |
labelData |
Binary data (Base64) containing a link to download the label. |
status |
Label status Possible values:
|
labelFormat |
Label format |
trackingNo |
Parcel tracking number of the selected courier |
IV. Example response
{ "responses": [ { "referenceID": "GoLabel00001", "labelData": "aHR0cHM6Ly9sYWJlbC5nb2dsb2JhbDI0LmNvbS9mMWFiZDY3MDM1OGUwMzZjMzEyOTZlNjZiM2I2NmMzODJhYzAwODEyLzQxZDA4Nzc4YzNmYjgyNTkxNjgxODdlMTBmZWI4MDEzNDhmMWY0MGVtZ2jduywe", "status": "OK", "labelFormat": "PDF", "trackingNo": "TT008242375GB" }, { "referenceID": "GoLabel00002", "labelData": "aHR0cHM6Ly9sYWJlbC5nb2dsb2JhbDI0LmNvbS9mMWFiZDY3MDM1OGUwMzZjMzEyOTZlNjZiM2I2NmMzODJidmrsODEyLzQxZDA4Nzc4YzNmYjgyNTkxNjgxODdlMTBmZWI4MDEzNDhmMWY0MGVtZ2jduywe", "status": "OK", "labelFormat": "PDF", "trackingNo": "TT008242389GB" } ] }
1.3 Error messages
Error code | Error description |
---|---|
G9003 | Authentication failed |
E1084 | shipmentType is a required field |
E1085 | The shipmentType specified is not valid |
E1087 | service is a required field |
E1088 | The service specified is not valid |
E1099 | Address zipCode does not match the stored Returns address |
E1100 | zipCode is a required field for domestic services |
E1101 | nameOrCompany is a required field |
E1102 | address1 is a required field |
E1103 | city is a required field |
E1104 | The country specified is not valid |
E1106 | The country is not valid for the specified Service |
E1107 | The specified combination of the partial zipCode and city could not be validated |
E1108 | The address hasn\'t been recognized please check the correctness of the postal code |
E1110 | The phone specified contained too many characters |
E1111 | The email specified was too long |
E1113 | Invalid email |
E1117 | Weight must be a positive number with max 10 digits and 3 fraction digits |
E1118 | You must enter the Postnummer (PostNumber) in the address2 field if the place of delivery is a Packstation. |
E1119 | If you choose a Packstation, you can only enter 'Packstation' and a number in the address1 field, e.g. 'Packstation 123'. |
G0002 | 2 Invalid userName and password format. Values may not be empty and are case-sensitive. |
G0004 | 4 Not proper length of given value. |
G0005 | 5 There is no default courier set for this partner. |
G0006 | 6 Float value of given value need to be greater than 0. |
G0007 | 7 Integer value of given value need to be greater than 0. |
G0008 | 8 Missing parcel type - either fill in element in type (PackageType structure) in XML or set up default parcel size in Global24 system. |
G0009 | 9 Missing parcel weight - either fill in element in weight (PackageType structure) in XML or set up default weight in Global24 system. |
G0010 | 10 Default courier service does not match API service. |
G0011 | 11 COD not available with selected service. |
G0012 | 12 Insurance not available with selected service. |
G0013 | 13 Service combination is Not Applicable. |
G0014 | 14 ShipmentType does not match possible combinations. |
G0015 | 15 CarrierName does not match possible combinations. |
G0016 | 16 Order cannot be modified. |
G0017 | 17 Cannot modify order that is being processed by system. |
G0018 | 18 Need at least one item of PackageType. |
G0019 | 19 Array needs to contain items of proper type. |
G0020 | 20 Missing default carrier name. |
G0031 | Specified carrierName is not valid. |
G0101 | 101 Not proper ISO 3166-1 format of Country code. |
G0102 | 102 Country code seems not to be supported by our system. Please contact administrator. |
G0202 | 202 Unknown error. If appears contact Global24 administrator. |
G0105 | 105 Missing service level - either fill in element in service (ServiceLevel structure) in XML or set up default service in Global24 system. |
G0021 | 21 Collective label value needs to be either 0 or 1. |
G0022 | 22 There is no order with given referenceId. |
G0200 | 200 Label is being created. |
G0201 | 201 Order with given reference has been removed. |
G0032 | ReferenceID already used. |
G0021 | 21 Collective label value needs to be either 0 or 1. |
G0029 | Incorrect labelFormat. |
G0030 | Incorrect labelSize. |
G9002 | Service temporarily unavailable. |
G9001 | Service unavailable |
G9004 | Not proper soap endpoint. |
G0033 | No more 1D ranges available for selected service. |
G0034 | No more 2D ranges available. |
G0035 | Email cannot be blank. |
G0036 | Country is required field. |
G0037 | ReferenceId is required. |
G0038 | Specified package type is not valid. |
G0039 | Specified weight is not alllowed for selected service. |
G0040 | Please fill in collectiveLabel field. |
G0041 | Not proper value of NameOrCompany field. |
G0042 | Not proper value of additionalDescription field. |
G0043 | Not proper value of address field. |
G0044 | Not proper value of city or region field. |
G0045 | Not proper value of zipCode field. |
G0046 | Not proper value of email field. |
G0047 | Not proper value of phone field. |
G0048 | Not proper value of taxId field. |
G0049 | Not proper value of referenceID or referenceID2 fields. |
G0023 | 23 COD service is not available. Please contact system Administrator. |
G0024 | 24 High Insurance service is not available. Please contact system Administrator. |
G0013 | 13 Service combination is Not Applicable. |
E1099 | Address zipCode does not match the stored Returns address |
G0050 | Shipper address is obligatory for Return. |
D0001 | Dispatch depot cannot be found. |
D0002 | Routing info cannot be saved. |
D0003 | Delivery address do not exists in DHL address database. Please change the address or contact Global24 Customer Service Support. |
G0051 | Product price must be a number. |
G0203 | Option unavailable on test instance. |
2. Carriers
2.1 Royal Mail
I. Available services
Service name | Value in GoLabel | Shipment type |
---|---|---|
Royal Mail "Untracked 24" | U24 | Delivery |
Royal Mail "Untracked 48" | U48 | Delivery |
Royal Mail "Tracked 24" | T24 | Delivery |
Royal Mail "Tracked 48" | T48 | Delivery |
Royal Mail "Tracked Returns 24" | R24 | Return |
Royal Mail "Tracked Returns 48" | R48 | Return |
Royal Mail "TRACKED 24 SIGN FOR" | S24 | Delivery |
Royal Mail "TRACKED 48 SIGN FOR" | S48 | Delivery |
II. Available types
Type name | Value in GoLabel | For services |
---|---|---|
Royal Mail "Royal Parcel" | RP | S24, S48, T24, T48, R24, R48 |
Royal Mail "Royal Letter" | RL | U24, U48 |
If left blank, the default values will be entered. For U24 and U48 services, this will be the value of RL, for the remaining RP.
III. Weight
The service | Type | Maximum weight |
---|---|---|
U24, U48 | RL | 0.75 |
R48 | RP | 5.00 |
R24, T24, T48, S24, S48 | RP | 20.00 |
If left blank, the value will enter 1.00.
IV. Insurance
Service unavailable for this courier.
V. COD Payments
Service unavailable for this courier.
VI. Additional information
Untracked
The U24 and U48 services do not have their own tracking number at RoyalMail, which is why the GoLabel system has added its own number - for example 0044154; 0038643.
VII. Examples of requests
CreateShipment - Delivery
{ "userName": "username", "password": "password", "CreateShipmentsRequest002": { "shipmentType": "Delivery", "carrierName": "GB-ROYALMAIL", "shipperAddress": { "additionalDescription": "description" }, "receiverAddress": { "nameOrCompany": "Birmingham Hippodrome", "additionalDescription": "description", "address1": "Hurst Street", "address2": "Southside", "city": "Birmingham", "zipCode": "B5 4TB", "region": "", "country": "GB", "email": "test@email.com", "phone": "123456765", "taxId": "", "pickupId": null }, "invoiceNumber": "TT100/12/01/001", "orderValue": 100.50, "currency": "EUR", "payerAddress": null, "items": [ { "referenceID": "GoLabel00010", "referenceID2": "", "type": "RP", "weight": "2.50", "products": [ { "name": "turbocharger v1.3", "number": "458152587412584", "quantity": "1", "price": 80.50, "tariffCode": "85044030", "originCountry": "DE", "imageUrl": null } ] } ], "serviceLevel": { "service": "T48" }, "shipmentDescription1": "description", "shipmentDescription2": "" } }
CreateShipment - Return
{ "userName": "userName", "password": "password", "CreateShipmentsRequest002":{ "shipmentType":"Return", "carrierName":"GB-ROYALMAIL", "shipperAddress": { "nameOrCompany":"Birmingham Hippodrome", "additionalDescription":"", "address1":"Hurst Street", "address2":"Southside", "city":"Birmingham", "zipCode":"B5 4TB", "region":"", "country":"GB", "email":"test@email.com", "phone":"123456765", "taxId":"", "pickupId":null }, "receiverAddress":{ "additionalDescription":"description" }, "invoiceNumber": "TT100/12/01/001", "orderValue": 100.50, "currency": "EUR", "payerAddress":null, "items":[ { "referenceID":"GoLabel000011", "referenceID2":"", "type":"RP", "weight":"2.50", "products": [ { "name": "turbocharger v1.3", "number": "458152587412584", "quantity": "1", "price": 80.50, "tariffCode": "85044030", "originCountry": "DE", "imageUrl": null } ] } ], "serviceLevel":{ "service":"R48" }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
GetLabel
{ "userName": "username", "password": "password", "GetLabelRequest": { "referenceID": "GoLabel00010", "collectiveLabel": 0, "labelFormat": "PDF", "labelSize": "A4" } }
2.2 Colissimo
I. Available services
Service name | Value in GoLabel | Shipment type |
---|---|---|
Colissimo "Standard Tracked" | STC | Delivery, Return |
Colissimo "Standard Proof of Delivery" | SPO | Delivery, Return |
Colissimo "Standard Pick-Up" | SPU | Delivery |
II. Available types
Type name | Value in GoLabel | For services |
---|---|---|
Colissimo Small (Maximum dimensions: length + width + height < 150 cm) | CS | STC, SPO, SPU |
Colissimo Regular (Maximum dimensions: length + width + height < 200 cm) | CR | STC, SPO, SPU |
If left blank, the CS value will be entered.
III. Weight
The service | Type | Maximum weight |
---|---|---|
STC, SPO, SPU | CS | 30.00 |
STC, SPO, SPU | CR | 30.00 |
If left blank, the value will enter 1.00.
IV. Insurance
The only currency supported by Colissimo is EUR, and the maximum value is 1500.
V. COD Payments
The only currency supported by Colissimo is EUR, and the maximum value is 1500.
VI. Additional information
None
VII. Examples of requests
CreateShipment - Delivery
{ "userName":"username", "password":"password", "CreateShipmentsRequest002":{ "shipmentType":"Delivery", "carrierName":"FR-COLISSIMO", "shipperAddress":{ "additionalDescription":"description" }, "receiverAddress":{ "nameOrCompany":"Lucas About", "additionalDescription":"", "address1":"17 Rue Baron le Roy", "address2":"", "city":"Paris", "zipCode":"75012", "region":"", "country":"FR", "email":"test@email.com", "phone":"123456765", "taxId":"", "pickupId": null }, "payerAddress":null, "items":[ { "referenceID":"GoLabel000013", "referenceID2":"", "type":"CS", "weight":"1.00" } ], "serviceLevel":{ "service":"STC", "cod":null, "insurance":null }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
GetLabel
{ "userName": "username", "password": "password", "GetLabelRequest": { "referenceID": "GoLabel000013", "collectiveLabel": 0, "labelFormat": "PDF", "labelSize": "A4" } }
2.3 DPD
I. Available services
Service name | Value in GoLabel | Shipment type |
---|---|---|
DPD "Standard Tracked" | STT | Delivery |
DPD "Next Day 12" | E12 | Delivery |
DPD "Next Day 18" | E18 | Delivery |
DPD "Next Day 12 Saturday Delivery" | NE6 | Delivery |
DPD “Return” | STT | Return |
II. Available types
Type name | Value in GoLabel | For services |
---|---|---|
DPD Small (Package with maximum volume 111 cm) | KP | STT, E12, E18, NE6 |
DPD Regular (Package with maximum volume 300 cm) | NP | STT, E12, E18, NE6 |
If left blank, the KP value will be entered.
III. Weight
The service | Type | Maximum weight |
---|---|---|
STT, E12, E18, NE6 | KP | 20.00 |
STT, E12, E18, NE6 | NP | 20.00 |
If left blank, the value will enter 1.00.
IV. Insurance
Service available for this courier.
V. COD Payments
Service available for this courier.
VI. Additional information
Return
DPD creates two labels when returns, which is why two encoded links are returned with the getLabel method.
VII. Examples of requests
CreateShipment - Delivery
{ "userName":"username", "password":"password", "CreateShipmentsRequest002":{ "shipmentType":"Delivery", "carrierName":"DE-DPD", "shipperAddress":{ "additionalDescription":"description" }, "receiverAddress":{ "nameOrCompany":"John Smith", "additionalDescription":"description", "address1":"Oldenburger Ring 3", "address2":"","city":"Markersdorf", "zipCode":"02829", "region":"", "country":"DE", "email":"john@smith.com", "phone":"", "taxId":"", "pickupId":null }, "payerAddress":null, "items":[ { "referenceID":"GoLabel000011", "referenceID2":"", "type":"NP", "weight":"1.00" } ], "serviceLevel":{ "service":"STT", "cod":null, "insurance":null }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
CreateShipment - Return
{ "userName": "userName", "password": "password", "CreateShipmentsRequest002":{ "shipmentType":"Return", "carrierName":"DE-DPD", "shipperAddress": { "nameOrCompany":"John Smith", "additionalDescription":"description", "address1":"Oldenburger Ring 3", "address2":"", "city":"Markersdorf", "zipCode":"02829", "region":"", "country":"DE", "email":"john@smith.com", "phone":"", "taxId":"" }, "receiverAddress":{ "additionalDescription":"description" }, "payerAddress":null, "items":[ { "referenceID":"GoLabel00012", "referenceID2":"", "type":"NP", "weight":"1.00" } ], "serviceLevel":{ "service":"STT" }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
GetLabel
{ "userName": "username", "password": "password", "GetLabelRequest": { "referenceID": "GoLabel000011", "collectiveLabel": 0, "labelFormat": "PDF", "labelSize": "A4" } }
2.4 DHL
I. Available services
Service name | Value in GoLabel | Shipment type |
---|---|---|
DHL Standard | DST | Delivery, Return |
DHL Packstation | DST | Delivery |
DHL Postfiliale | DST | Delivery |
DHL Warenpost | WAR | Delivery |
DHL services in the GoLabel system are distinguished by means of the entered data in the address1 field. For example, if we want to choose Packstation, we enter this phrase along with the parcel lock number.
Example:
“address1”: “Packstation 131”,
II. Available types
Type name | Value in GoLabel | For services |
---|---|---|
DHL Standard | NP | DST |
DHL Warenpost | NP | WAR |
If left blank, the NP value will be entered.
III. Weight
The service | Type | Maximum weight |
---|---|---|
DST | NP | 31.50 |
WAR | NP | 1.00 |
If left blank, the value will enter 1.00.
IV. Insurance
Service unavailable for this courier.
V. COD Payments
The only currency supported by DHL is EUR. All bank details of the SEPA area are possible.
Field name | Type | Required | Description |
---|---|---|---|
amount | float(10,2) | Yes |
Amount |
currency | string(3) | Yes |
Currency |
bankAccountOwner | string(100) | No |
Bank account owner |
bankName | string(100) | No |
Bank name |
bankAccountNumber | string(60) | No |
IBAN |
bic | string(11) | No |
BIC/SWIFT (8 or 11 characters) |
Example:
"cod":{ "amount": 100, "currency": "EUR", "bankAccountOwner": "Test Company", "bankName": "Deutsche Bank", "bankAccountNumber": "DE12345678901234567890", "bic": "DEUTDEHHXXX" }
If the bank account details are not provided, they will be supplemented with the bank account details for COD DHL from the Global24 user profile.
VI. Additional information
International parcels
You can create international parcels for DHL
Additional description
The number of characters in the additionalDescription position in the sender's address (in case of shipmentType: Delivery) and the recipient's address (in case of shipmentType: Return) is 5 characters.
Packstation
If you choose Packstation, enter "Packstation" and the number of the Packstation in the address1 field, e.g. "Packstation 131", while the post number (Postnummer) must be included in the address2 field.
VII. Examples of requests
CreateShipment - Delivery
{ "userName":"username", "password":"password", "CreateShipmentsRequest002":{ "shipmentType":"Delivery", "carrierName":"DE-DHL", "shipperAddress":{ "additionalDescription":"description" }, "receiverAddress":{ "nameOrCompany":"Kathleen", "additionalDescription":"", "address1":"Packstation 131", "address2":"903729505", "city":"Weil am Rhein", "zipCode":"79576", "region":"", "country":"DE", "email":"test@email.com", "phone":"123456765", "taxId":"", "pickupId": null }, "payerAddress":null, "items":[ { "referenceID":"GoLabel000014", "referenceID2":"", "type":"NP", "weight":"1.00" } ], "serviceLevel":{ "service":"DST", "cod":null, "insurance":null }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
GetLabel
{ "userName": "username", "password": "password", "GetLabelRequest": { "referenceID": "GoLabel000014", "collectiveLabel": 0, "labelFormat": "PDF", "labelSize": "A4" } }
2.5 Fedex
I. Available services
Service name | Value in GoLabel | Shipment type |
---|---|---|
Fedex Standard | FST | Delivery |
II. Available types
Type name | Value in GoLabel | For services |
---|---|---|
Fedex Standard | PC | FST |
If left blank, the "PC" value will be entered.
III. Weight
The service | Type | Maximum weight |
---|---|---|
FST | PC | 30.00 |
If left blank, the value will enter 1.00.
IV. Insurance
Insurance is required when using cash on delivery service. Field Description (Insurance description) is required. The insurance amount must be provided in PLN currency and cannot be lower than the cash on delivery amount.
V. COD Payments
The only currency supported by Fedex is PLN.
VI. Additional information
If using cash on delivery service (COD), the referneceID2 field is required (you must provide your bank account number). Labels for this courier are available only in PDF format and A4 size.
VII. Examples of requests
CreateShipment - Delivery
{ "userName":"username", "password":"password", "CreateShipmentsRequest002":{ "shipmentType":"Delivery", "carrierName":"PL-FEDEX", "receiverAddress":{ "nameOrCompany":"Jan Nowak", "address1":"Stara 4", "address2":"", "city":"Karwiany", "zipCode":"52-200", "region":"", "country":"PL", "email":"test@email.com", "phone":"123456765", "taxId":"", "pickupId": null }, "payerAddress":null, "items":[ { "referenceID":"GoLabel000014", "referenceID2":"", "type":"PC", "weight":"1.00" } ], "serviceLevel":{ "service":"FST", "cod":null, "insurance":null }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
GetLabel
{ "userName": "username", "password": "password", "GetLabelRequest": { "referenceID": "GoLabel000014", "collectiveLabel": 0, "labelFormat": "PDF", "labelSize": "A4" } }
2.6 Parcel Post
I. Available services
Service name | Value in GoLabel | Shipment type |
---|---|---|
Parcel Post | PP | Delivery |
II. Available types
Type name | Value in GoLabel | For services |
---|---|---|
Regular | NP | PP |
If left blank, the NP value will be entered.
III. Weight
The service | Type | Maximum weight |
---|---|---|
PP | NP | 20.00 |
If left blank, the value will enter 1.00.
IV. Insurance
Service unavailable for this courier.
V. COD Payments
Service unavailable for this courier.
VI. Additional information
Return
VII. Examples of requests
CreateShipment - Delivery
{ "userName":"username", "password":"password", "CreateShipmentsRequest002":{ "shipmentType":"Delivery", "carrierName":"Parcel Post", "shipperAddress":{ "additionalDescription":"description" }, "receiverAddress":{ "nameOrCompany":"John Smith", "additionalDescription":"description", "address1":"Oldenburger Ring 3", "address2":"","city":"Markersdorf", "zipCode":"02829", "region":"", "country":"DE", "email":"john@smith.com", "phone":"", "taxId":"", "pickupId":null }, "payerAddress":null, "items":[ { "referenceID":"GoLabel000011", "referenceID2":"", "type":"NP", "weight":"1.00" } ], "serviceLevel":{ "service":"PP", "cod":null, "insurance":null }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
GetLabel
{ "userName": "username", "password": "password", "GetLabelRequest": { "referenceID": "GoLabel000011", "collectiveLabel": 0, "labelFormat": "PDF", "labelSize": "A4" } }
2.7 Post AT
I. Available services
Service name | Value in GoLabel | Shipment type |
---|---|---|
Austrian Post Standard | APS | Delivery |
Austrian Post "Return" | APS | Return |
II. Available types
Type name | Value in GoLabel | For services |
---|---|---|
Austrian Post Standard | AP | APS |
If left blank, the MP value will be entered.
III. Weight
The service | Type | Maximum weight |
---|---|---|
APS | AP | 31.5 |
IV. Insurance
Service unavailable for this courier.
V. COD Payments
Service unavailable for this courier.
VI. Additional information
VII. Examples of requests
CreateShipment - Delivery
{ "userName":"username", "password":"password", "CreateShipmentsRequest002":{ "shipmentType":"Delivery", "carrierName":"POST-AT", "receiverAddress":{ "nameOrCompany":"Alexis Trintignant", "additionalDescription":"", "address1":"Teststrasse", "address2":"", "city":"Wien", "zipCode":"1030", "region":"", "country":"AT", "email":"test@email.com", "phone":"+33123456765", "taxId":"", "pickupId": null }, "payerAddress":null, "items":[ { "referenceID":"GoLabel000014", "referenceID2":"", "type":"AP", "weight":"1" } ], "serviceLevel":{ "service":"APS", "cod":null, "insurance":null }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
CreateShipment - Return
{ "userName": "userName", "password": "password", "CreateShipmentsRequest002":{ "shipmentType":"Return", "carrierName":"POST-AT", "shipperAddress": { "nameOrCompany":"Alexis Trintignant", "additionalDescription":"", "address1":"Teststrasse", "address2":"", "city":"Wien", "zipCode":"1030", "region":"", "country":"AT", "email":"test@email.com", "phone":"+33123456765", "taxId":"", "pickupId": null }, "receiverAddress":{ "additionalDescription":"description" }, "payerAddress":null, "items":[ { "referenceID":"GoLabel00015", "referenceID2":"", "type":"AP", "weight":"31.5" } ], "serviceLevel":{ "service":"APS" }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
GetLabel
{ "userName": "username", "password": "password", "GetLabelRequest": { "referenceID": "GoLabel000014", "collectiveLabel": 0, "labelFormat": "PDF", "labelSize": "A4" } }
2.8 GLS-IT
I. Available services
Service name | Value in GoLabel | Shipment type |
---|---|---|
GLS Standard | GLI | Delivery |
II. Available types
Type name | Value in GoLabel | For services |
---|---|---|
GLS Standard | GLI | ST |
If left blank, the "ST" value will be entered.
III. Weight
The service | Type | Maximum weight |
---|---|---|
GLI | ST | 30 |
IV. Insurance
Service unavailable for this courier.
V. COD Payments
Service unavailable for this courier.
VI. Additional information
VII. Examples of requests
CreateShipment - Delivery
{ "userName":"username", "password":"password", "CreateShipmentsRequest002":{ "shipmentType":"Delivery", "carrierName":"GLS-IT", "receiverAddress":{ "nameOrCompany": "Test Company", "address1": "Piazza del Colosseo, 1", "address2": "", "city": "Roma", "zipCode": "00184", "region": "", "country": "IT", "email": "email@email.com", "phone": "123456765", "taxId": "", "pickupId": null }, "payerAddress":null, "items":[ { "referenceID":"GoLabel000014", "referenceID2":"", "type":"ST", "weight":"1" } ], "serviceLevel":{ "service":"GLI", "cod":null, "insurance":null }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
GetLabel
{ "userName": "username", "password": "password", "GetLabelRequest": { "referenceID": "GoLabel000014", "collectiveLabel": 0, "labelFormat": "PDF", "labelSize": "A4" } }
2.9 Correos
I. Available services
Service name | Value in GoLabel | Shipment type |
---|---|---|
Correos "Standard" | CST | Delivery |
Correos "Premium" | CPM | Delivery |
Correos "Return" | CRT | Return |
II. Available types
Type name | Value in GoLabel | For services |
---|---|---|
Correos Standard | ST | CST, CPM, CRT |
If left blank, the "ST" value will be entered.
III. Weight
The service | Type | Maximum weight |
---|---|---|
CST, CPM, CRT | ST | 30.00 |
If left blank, the value will enter 1.00.
IV. Insurance
Service unavailable for this courier.
V. COD Payments
Service unavailable for this courier.
VI. Additional information
VII. Examples of requests
CreateShipment - Delivery
{ "userName":"username", "password":"password", "CreateShipmentsRequest002":{ "shipmentType":"Delivery", "carrierName":"ES-CORREOS", "shipperAddress":{ "additionalDescription":"description" }, "receiverAddress":{ "nameOrCompany":"John Smith", "additionalDescription":"description", "address1":"Calle Albacete 27", "address2":"PORTE 0012", "city":"Yuncosd", "zipCode":"45210", "region":"", "country":"ES", "email":"info@global24.com", "phone":"+48603040604", "taxId":"", "pickupId": null }, "payerAddress":null, "items":[ { "referenceID":"GoLabel000011", "referenceID2":"", "type":"ST", "weight":"1.00" } ], "serviceLevel":{ "service":"CST", "cod":null, "insurance":null }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
CreateShipment - Return
{ "userName": "userName", "password": "password", "CreateShipmentsRequest002":{ "shipmentType":"Return", "carrierName":"ES-CORREOS", "shipperAddress": { "nameOrCompany":"John Smith", "additionalDescription":"description", "address1":"Calle Albacete 27", "address2":"PORTE 0012", "city":"Yuncosd", "zipCode":"45210", "region":"", "country":"ES", "email":"info@global24.com", "phone":"+48603040604", "taxId":"", "pickupId": null }, "receiverAddress":{ "additionalDescription":"description" }, "payerAddress":null, "items":[ { "referenceID":"GoLabel00012", "referenceID2":"", "type":"ST", "weight":"1.00" } ], "serviceLevel":{ "service":"CRT" }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
GetLabel
{ "userName": "username", "password": "password", "GetLabelRequest": { "referenceID": "GoLabel000011", "collectiveLabel": 0, "labelFormat": "PDF", "labelSize": "A4" } }
2.10 Hermes
I. Available services
Service name | Value in GoLabel | Shipment type |
---|---|---|
Hermes "Standard" | HST | Delivery |
Hermes "Hermes Tracked 24" | H24 | Delivery |
Hermes "Standard SignFor" | HSS | Delivery |
Hermes "Hermes Tracked 24 SignFor" | H2S | Delivery |
II. Available types
Type name | Value in GoLabel | For services |
---|---|---|
Hermes Standard | ST | HST, H24, HSS, H2S |
If left blank, the ST value will be entered.
III. Weight
The service | Type | Maximum weight |
---|---|---|
HST, H24, HSS, H2S | ST | 15 |
If left blank, the value will enter 1.00.
IV. Insurance
Service unavailable for this courier.
V. COD Payments
Service unavailable for this courier.
VI. Additional information
VII. Examples of requests
CreateShipment - Delivery
{ "userName":"username", "password":"password", "CreateShipmentsRequest002": { "shipmentType": "Delivery", "carrierName": "GB-HERMES", "shipperAddress": { }, "receiverAddress": { "nameOrCompany": "Test Company", "additionalDescription": "", "address1": "103 Gatliff Rd", "address2": "", "city": "London", "zipCode": "SW1W 8BA", "region": "", "country": "GB", "email": "email@email.com", "phone": "123456765", "taxId": "", "pickupId": null }, "invoiceNumber": "TT100/12/01/001", "orderValue": 500.50, "currency": "EUR", "payerAddress": null, "items":[ { "referenceID":"GoLabel000011", "referenceID2":"", "type":"ST", "weight":"1", "products":[ { "name": "Giant turtle toy", "number": "458152587412584", "quantity": "2", "price": "20.45", "tariffCode": "95049080", "originCountry": "DE", "imageUrl": "url_to_photo.com" }, { "name": "exchaust", "number": "398155774553544", "quantity": "3", "price": "15.32", "tariffCode": "87141090", "originCountry": "DE", "imageUrl": "url_to_photo.com" } ] } ], "serviceLevel": { "service": "HST" }, "shipmentDescription1": "", "shipmentDescription2": "" } }
GetLabel
{ "userName": "username", "password": "password", "GetLabelRequest": { "referenceID": "GoLabel000011", "collectiveLabel": 0, "labelFormat": "PDF", "labelSize": "A4" } }
2.11 Post NL
I. Available services
Service name | Value in GoLabel | Shipment type |
---|---|---|
Post NL "Tracked" | PPHD | Delivery |
Post NL "Tracked Signature" | PPHDS | Delivery |
Post NL "Return" | PPHD | Return |
II. Available types
Type name | Value in GoLabel | For services |
---|---|---|
Post Standard | ST | PPHD, PPHDS |
If left blank, the ST value will be entered.
III. Weight
The service | Type | Maximum weight |
---|---|---|
PPHD, PPHDS | ST | 30.00 |
If left blank, the value will enter 1.00.
IV. Insurance
Service unavailable for this courier.
V. COD Payments
Service unavailable for this courier.
VI. Additional information
VII. Examples of requests
CreateShipment - Delivery
{ "userName":"username", "password":"password", "CreateShipmentsRequest002":{ "shipmentType":"Delivery", "carrierName":"POST-NL", "shipperAddress":{ "additionalDescription":"description" }, "receiverAddress":{ "nameOrCompany":"John Smith", "additionalDescription":"description", "address1":"Prinses Beatrixlaan 23", "address2":"Floor 10", "city":"Den Haag", "zipCode":"2595AK", "region":"", "country":"NL", "email":"info@global24.com", "phone":"+48603040604", "taxId":"", "pickupId": null }, "payerAddress":null, "items":[ { "referenceID":"GoLabel000011", "referenceID2":"", "type":"ST", "weight":"1.00" } ], "serviceLevel":{ "service":"PPHD", "cod":null, "insurance":null }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
CreateShipment - Return
{ "userName": "userName", "password": "password", "CreateShipmentsRequest002":{ "shipmentType":"Return", "carrierName":"POST-NL", "shipperAddress": { "nameOrCompany":"John Smith", "additionalDescription":"description", "address1":"Prinses Beatrixlaan 23", "address2":"Floor 10", "city":"Den Haag", "zipCode":"2595AK", "region":"", "country":"NL", "email":"info@global24.com", "phone":"+48603040604", "taxId":"", "pickupId": null }, "receiverAddress":{ "additionalDescription":"description" }, "payerAddress":null, "items":[ { "referenceID":"GoLabel00012", "referenceID2":"", "type":"ST", "weight":"1.00" } ], "serviceLevel":{ "service":"PPHD" }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
GetLabel
{ "userName": "username", "password": "password", "GetLabelRequest": { "referenceID": "GoLabel000011", "collectiveLabel": 0, "labelFormat": "PDF", "labelSize": "A4" } }
2.12 Nova Poshta
I. Available services
Service name | Value in GoLabel | Shipment type |
---|---|---|
Nova Poshta Standard | NPS | Delivery |
II. Available types
Type name | Value in GoLabel | For services |
---|---|---|
Nova Poshta Regular | NR | NPS |
If left blank, the NR value will be entered.
III. Weight
The service | Type | Maximum weight |
---|---|---|
NPS | NR | 30.00 |
If left blank, the value will enter 1.00.
IV. Insurance
Service unavailable for this courier.
V. COD Payments
The only currency supported by Nova Poshta is UAH.
VI. Additional information
Address
Currently, it is only possible to enter address data in Ukrainian language (Cyrillic).
Export clearance
Shipments to Ukraine require export clearance. It is mandatory to provide the invoice number, order value, and currency (corresponding to the currency of the item prices). Additionally, the package contents should be listed with the following fields completed: product name, SKU number, quantity, price, customs tariff code, and country of origin.
Returns
There is no option for self-generating returns. The recipient of the package can use the free "Easy Return" option in the Nova Poshta app or send the package directly at a Nova Poshta branch.
VII. Examples of requests
CreateShipment - Delivery
{ "userName":"username", "password":"password", "CreateShipmentsRequest002":{ "shipmentType":"Delivery", "carrierName":"UA-NOVA-POSHTA", "receiverAddress":{ "nameOrCompany":"Випробувальна компанія", "additionalDescription":"перший поверх", "address1":"Героїв України 1", "address2":"", "city":"Бровари", "zipCode":"07400", "region":"Волинська область", "country":"UA", "email":"test@email.com", "phone":"+380660000000", "taxId":"", "pickupId":null }, "invoiceNumber":"TT100/12/01/001", "orderValue":500.50, "currency":"UAH", "payerAddress":null, "items":[ { "referenceID":"NovaPoshta000001", "referenceID2":"", "type":"NR", "weight":"3.00", "products":[ { "name":"Giant turtle toy", "number":"458152587412584", "quantity":"2", "price":"20.45", "tariffCode":"95049080", "originCountry":"DE" }, { "name":"exchaust", "number":"398155774553544", "quantity":"3", "price":"15.32", "tariffCode":"87141090", "originCountry":"DE", "imageUrl":"url_to_photo.com" } ] } ], "serviceLevel":{ "service":"NPS", "cod":null, "insurance":null }, "shipmentDescription1":"description", "shipmentDescription2":"" } }
GetLabel
{ "userName":"username", "password":"password", "GetLabelRequest":{ "referenceID":"NovaPoshta000001", "collectiveLabel":0, "labelFormat":"PDF", "labelSize":"A4" } }
Tracking (GET method) - Singly - TEMPORARILY UNAVAILABLE
The method allows for returning the package status in JSON format. Note: not all returned fields at the couriers contain data.
Address to send the request to:
- production: http://api.goglobal24.com/tracking
- test: http://test-goreturns-api.goglobal24.com/tracking
I. Request structure
Transmitted parameters
Field name | Type | Required | Description |
---|---|---|---|
code | string | Yes |
Tracking code Should not contain special characters |
last | string | No |
Sending the value "true" will result in the return of only the last status By default, the parameter takes the value "false" |
II. Response structure
Field name | Type | Description |
---|---|---|
success | boolean | |
message | string | Available in case of success: false |
trackingCourierUrl | string | Direct link to tracking at the carrier |
trackingCode | string | |
trackingData | array / if last true - object |
Element trackingData
Field name | Type | Description |
---|---|---|
zipCode | string | |
city | string | |
country | string | |
createdDate | string | |
status | string |
Possible values:
|
statusFull | string | Status expanded by the carrier, depending on the courier it may appear in the native language |
note | string | |
courier | string | Name of the carrier from which the status was received |
III. Examples
Sample request
http://api.goglobal24.com/tracking?code=00340434314501512185
Sample valid response
{ "success": true, "trackingCourierUrl": "https://www.royalmail.com/track-your-item#/tracking-results/KT338882630GB", "trackingCode": "KT338882630GB", "trackingData": [ { "zipCode": null, "city": "Olkusz", "country": "PL", "createdDate": "17/11/19 18:20", "status": "created", "statusFull": null, "note": null, "courier": "Global24" }, { "zipCode": null, "city": "Nowa Wieś Wrocławska", "country": "PL", "createdDate": "11/12/19 10:23", "status": "received", "statusFull": null, "note": null, "courier": "Global24" }, { "zipCode": null, "city": "Medway Mail Centre", "country": "GB", "createdDate": "13/12/19 10:12", "status": "carrier", "statusFull": "Item Received", "note": null, "courier": "GB-ROYALMAIL" }, { "zipCode": null, "city": "Home Counties North MC", "country": "GB", "createdDate": "14/12/19 00:12", "status": "carrier", "statusFull": "Item Received", "note": null, "courier": "GB-ROYALMAIL" }, { "zipCode": null, "city": "Hatfield AL DO", "country": "GB", "createdDate": "14/12/19 04:12", "status": "carrier", "statusFull": "Due to be delivered today", "note": null, "courier": "GB-ROYALMAIL" }, { "zipCode": null, "city": "Hatfield AL DO", "country": "GB", "createdDate": "14/12/19 10:12", "status": "delivered", "statusFull": "Delivered by", "note": null, "courier": "GB-ROYALMAIL" } ] }
Sample incorrect response
{ "success": false, "message": "No result found for your code" }
Tracking (GET method) - Group
The method allows for returning the latest statuses in JSON format for a maximum of 30 tracking codes. Note: not all returned fields by couriers contain data. Only found packages are returned.
Address to send the request to:
- production: http://api.goglobal24.com/tracking/group
- test: http://test-goreturns-api.goglobal24.com/tracking/group
I. Request structure
Transmitted parameters
Field name | Type | Required | Description |
---|---|---|---|
codes | string | Yes |
Tracking code Codes should be separated by commas |
II. Response structure
Field name | Type | Description |
---|---|---|
success | boolean | |
message | string | Available if success: false |
data | array | |
data.trackingCourierUrl | string | Direct link to tracking at the carrier |
data.trackingCode | string | |
data.trackingData | object |
Element trackingData
Field name | Type | Description |
---|---|---|
zipCode | string | |
city | string | |
country | string | |
createdDate | string | |
status | string |
Possible values:
|
statusFull | string | Expanded status from the carrier, depending on the courier may appear in native language |
note | string | |
courier | string | Name of the carrier from which the status was received |
III. Examples
Sample request
http://api.goglobal24.com/tracking/group?codes=6A16061440938,00340434314501512185,00340434314502556980
Sample valid response
{ "success": true, "data": [ { "trackingCourierUrl": "https://www.dhl.de/en/privatkunden/pakete-empfangen/verfolgen.html?piececode=00340434314501512185&cid=dhlde", "trackingCode": "00340434314501512185", "trackingData": { "zipCode": null, "city": "Sölden", "country": "DE", "createdDate": "06/05/20 12:05", "status": "delivered", "statusFull": "The shipment has been successfully delivered", "note": null, "courier": "DE-DHL" } }, { "trackingCourierUrl": "https://www.dhl.de/en/privatkunden/pakete-empfangen/verfolgen.html?piececode=00340434314502556980&cid=dhlde", "trackingCode": "00340434314502556980", "trackingData": { "zipCode": null, "city": "Lublin", "country": "PL", "createdDate": "27/05/20 09:17", "status": "created", "statusFull": null, "note": null, "courier": "Global24" } }, { "trackingCourierUrl": "https://www.laposte.fr/outils/track-a-parcel?code=6A16061440938", "trackingCode": "6A16061440938", "trackingData": { "zipCode": null, "city": "Lublin", "country": "PL", "createdDate": "27/05/20 09:17", "status": "created", "statusFull": null, "note": null, "courier": "Global24" } } ] }
Sample incorrect response
{ "success": false, "message": "Error message" }
Inventory (GET method)
The method allows for retrieving inventory levels of active user products.
Address to send the request to:
- production: http://api.goglobal24.com/warehouse/status
- test: http://test-goreturns-api.goglobal24.com/warehouse/status
I. Request structure
Authorization
Authorization type: Basic Auth
The access credentials (login and password) are the same as those used to log in to Global24:
II. Response structure
Field name | Type | Description |
---|---|---|
name | string | |
description | string | |
itemid | string | |
code | string | |
currentStock | int |
III. Examples
Sample response
[ { "name": "Iphone", "description": "Iphone X - 256GB", "itemid": "123456", "code": "123456", "currentStock": 0 }, { "name": "Samsung TV", "description": "TV 60 4k", "itemid": "123456", "code": "123456", "currentStock": 31 }, { "name": "Samsung charger", "description": "Samsung Wireless Charger Stand", "itemid": "123456", "code": "123456", "currentStock": 39 } ]