Manifest
Organise and facilitate the courier pick-up
When parcels are ready for remittance to the courier, a close-out call can be made to notify Glopal with the list of parcels ready for shipping. Glopal produces a manifest and other consolidated shipping documents for the carrier, and activates tracking.
Client username (set by Glopal)
username
Pattern: ^[a-z0-9\-]{3,255}$
Optional system username to enable separation of authentication credentials by integrated client system. (set by Glopal)
alias-username
Pattern: ^[a-z0-9\-]{3,50}$
The authentication signature is created by using the concatenation of the login, the ‘@’ sign and the timestamp, transformed into a HMAC_256 signature using your secret access key.
40b976b35a08bb951439ea7bbfa0a7bd73dab7c813399a31d9d1a157bc08929b
Pattern: ^[0-9a-f]{64}$
The authentication timestamp must be a decimal numeric representing the current POSIX time, extended to microsecond accuracy. If the requesting system does not provide high-resolution time, it is advised to use a 6-digit random number. It is important to have the requesting system synchronised with a reliable time source (f.i. a stratum 2 NTP server) to avoid request rejection.
1680010295.775523
Pattern: ^[12]\d{9}\.\d{6}$
0.68
Pattern: (^0\.\d{2}$|^[1-9]\d*\.\d{2}$)
At least one of awb, fulfillment_id, order_reference, pod, reference and wms_id is required
Process closeout operation in asynchronous mode, default is false
0
with application/xml
1
Possible values: with application/json
true
Possible values: Airway Bill number (Carrier tracking reference)
AWB1234567890_23
Pattern: ^.{0,255}$
Process closeout operation without effect on packages, default is false
0
with application/xml
1
Possible values: with application/json
true
Possible values: OMS order fulfillment identifier
FU.123OMS
Pattern: .{0,100}$
OMS order fulfillment identifier
FU.123OMS
Merchant/Seller order reference
test123
Pattern: ^.{3,255}$
Merchant/Seller order reference
test123
Pod entity (package grouping) identifier
Pod entity (package grouping) identifier
Merchant closeout reference
MERCHREF123
Merchant/Seller order reference
test123
Pattern: ^.{3,255}$
Merchant/Seller order reference
test123
Warehouse Manament System package identifier
WMS12345
Pattern: ^.{0,255}$
Warehouse Manament System package identifier
WMS12345
const timestamp = String(Date.now() / 1000).padEnd(17, '0');
const username = "username";
const signature = CryptoJS.HmacSHA256(
`${username}@${timestamp}`, "sharedsecret"
).toString(CryptoJS.digest)
const response = await fetch('https://ws.xport.glopalservice.com/ops/closeout', {
method: 'POST',
headers: {
"Content-Type": "application/json",
"x-login": username,
"x-timestamp": timestamp,
"x-signature": signature
},
body: JSON.stringify({
"wms_id": "WMS12345"
})
});
const data = await response.json();
{
"error": 0,
"closeout": [
{
"closeout_reference": 123456,
"delivery_type_id": "X",
"documents": [
{
"type": "doc_type",
"url": "https://test.xport.glopalservice.com/test"
}
],
"fulfillment_id": "FU.123OMS",
"manifest_url": "https://test.xport.glopalservice.com/test",
"manifest_url_pdf": "https://test.xport.glopalservice.com/test",
"order_reference": [
"test123"
],
"wms_id": [
"WMS12345"
]
}
],
"excluded_orders": {
"country": "US",
"delivery_type_id": "X",
"exclusion_code": "ISSUE_CODE",
"order_reference": "test123",
"wms_id": "WMS12345",
"fulfillment_id": "FU.123OMS"
}
}
Last updated