GLS (Formerly GSO) - Label Void

Carrier: GLS (Formerly GSO)
Action: Label Void
Description: Example implementation for GLS (Formerly GSO) 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
  }
}
)
← Back to All Examples

Other GLS (Formerly GSO) Examples

Label
Example implementation for GLS (Formerly GSO) Label
Rates
Example implementation for GLS (Formerly GSO) Rates
Track
Example implementation for GLS (Formerly GSO) Track