GLS (Formerly GSO) - Label Void

Carrier
GLS (Formerly GSO)
Action
Label Void
{
  "carrier": "GLS",
  "action": "voidshipment",
  "params": {
    "account_number": "YOUR_ACCOUNT",
    "username": "YOUR_USERNAME",
    "password": "YOUR_PASSWORD",
    "shipment_id": "ABC123",
    "test": true
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'GLS',
  'action' => 'voidshipment',
  'params' => 
  array (
    'account_number' => 'YOUR_ACCOUNT',
    'username' => 'YOUR_USERNAME',
    'password' => 'YOUR_PASSWORD',
    'shipment_id' => 'ABC123',
    'test' => true,
  ),
)
);

rs.request(
  {'action': 'voidshipment',
 'carrier': 'GLS',
 'params': {'account_number': 'YOUR_ACCOUNT',
            'password': 'YOUR_PASSWORD',
            'shipment_id': 'ABC123',
            'test': True,
            'username': 'YOUR_USERNAME'}}

)

rs.request(
  {"carrier"=>"GLS",
 "action"=>"voidshipment",
 "params"=>
  {"account_number"=>"YOUR_ACCOUNT",
   "username"=>"YOUR_USERNAME",
   "password"=>"YOUR_PASSWORD",
   "shipment_id"=>"ABC123",
   "test"=>true}}

)

rocketshipit.request(
  {
  "carrier": "GLS",
  "action": "voidshipment",
  "params": {
    "account_number": "YOUR_ACCOUNT",
    "username": "YOUR_USERNAME",
    "password": "YOUR_PASSWORD",
    "shipment_id": "ABC123",
    "test": true
  }
}
)

← All GLS (Formerly GSO) examples